Home
last modified time | relevance | path

Searched refs:max_buf_size (Results 1 – 22 of 22) sorted by relevance

/OK3568_Linux_fs/u-boot/tools/gdb/
H A Dremote.c473 int max_buf_size; /* Max size of packet output buffer */ local
482 max_buf_size = min (remote_write_size, PBUFSIZ);
484 max_buf_size = min (max_buf_size, remote_register_buf_size);
487 max_buf_size -= 2 + hexnumlen (memaddr + len - 1) + 1 + hexnumlen (len) + 4;
503 todo = min (len, max_buf_size);
508 todo = min (len, max_buf_size / 2); /* num bytes that will fit */
526 (i < todo) && (i + escaped) < (max_buf_size - 2);
/OK3568_Linux_fs/kernel/drivers/media/i2c/cx25840/
H A Dcx25840-firmware.c103 int max_buf_size = FWSEND; in cx25840_loadfw() local
113 if (is_cx231xx(state) && max_buf_size > 16) in cx25840_loadfw()
114 max_buf_size = 16; in cx25840_loadfw()
129 int len = min(max_buf_size - 2, size); in cx25840_loadfw()
/OK3568_Linux_fs/u-boot/drivers/dfu/
H A Ddfu.c111 if (dfu->max_buf_size && dfu_buf_size > dfu->max_buf_size) in dfu_get_buf()
112 dfu_buf_size = dfu->max_buf_size; in dfu_get_buf()
396 dfu->max_buf_size = 0; in dfu_fill_entity()
H A Ddfu_sf.c129 dfu->max_buf_size = dfu->data.sf.dev->sector_size; in dfu_fill_entity_sf()
/OK3568_Linux_fs/kernel/net/mac80211/
H A Dagg-rx.c287 u16 max_buf_size; in ___ieee80211_start_rx_ba_session() local
313 max_buf_size = IEEE80211_MAX_AMPDU_BUF; in ___ieee80211_start_rx_ba_session()
315 max_buf_size = IEEE80211_MAX_AMPDU_BUF_HT; in ___ieee80211_start_rx_ba_session()
323 (buf_size > max_buf_size)) { in ___ieee80211_start_rx_ba_session()
332 buf_size = max_buf_size; in ___ieee80211_start_rx_ba_session()
/OK3568_Linux_fs/kernel/drivers/spi/
H A Dspi-tegra20-slink.c176 unsigned max_buf_size; member
277 max_len = min(remain_len, tspi->max_buf_size); in tegra_slink_calculate_curr_xfer_param()
282 max_word = min(max_word, tspi->max_buf_size/4); in tegra_slink_calculate_curr_xfer_param()
1087 tspi->max_buf_size = SLINK_FIFO_DEPTH << 2; in tegra_slink_probe()
1096 tspi->max_buf_size = tspi->dma_buf_size; in tegra_slink_probe()
H A Dspi-tegra114.c190 unsigned max_buf_size; member
280 max_len = min(remain_len, tspi->max_buf_size); in tegra_spi_calculate_curr_xfer_param()
285 max_word = min(max_word, tspi->max_buf_size/4); in tegra_spi_calculate_curr_xfer_param()
1376 tspi->max_buf_size = SPI_FIFO_DEPTH << 2; in tegra_spi_probe()
1385 tspi->max_buf_size = tspi->dma_buf_size; in tegra_spi_probe()
/OK3568_Linux_fs/u-boot/include/
H A Ddfu.h116 unsigned long max_buf_size; member
/OK3568_Linux_fs/external/mpp/mpp/codec/dec/h264/
H A Dh264d_dpb.c1435 RK_U32 max_buf_size = 0; in store_picture_in_dpb() local
1477 max_buf_size = p_Vid->p_Inp->max_buf_size; in store_picture_in_dpb()
1478 if (max_buf_size) in store_picture_in_dpb()
1479 H264D_DBG(H264D_DBG_DPB_INFO, "max_buf_size=%d\n", max_buf_size); in store_picture_in_dpb()
1481 (max_buf_size && p_Dpb->used_size >= max_buf_size)) { in store_picture_in_dpb()
H A Dh264d_api.c497 p_Dec->p_Inp->max_buf_size = (param) ? (*((RK_U32 *)param)) : (0); in h264d_control()
H A Dh264d_global.h894 RK_U32 max_buf_size; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A Dwmm.c1218 int max_buf_size) in mwifiex_is_11n_aggragation_possible() argument
1226 max_amsdu_size = min_t(int, ptr->max_amsdu, max_buf_size); in mwifiex_is_11n_aggragation_possible()
1228 max_amsdu_size = max_buf_size; in mwifiex_is_11n_aggragation_possible()
/OK3568_Linux_fs/kernel/drivers/net/hyperv/
H A Dnetvsc_drv.c1834 u32 max_buf_size; in __netvsc_get_ringparam() local
1840 max_buf_size = NETVSC_RECEIVE_BUFFER_SIZE_LEGACY; in __netvsc_get_ringparam()
1842 max_buf_size = NETVSC_RECEIVE_BUFFER_SIZE; in __netvsc_get_ringparam()
1844 ring->rx_max_pending = max_buf_size / nvdev->recv_section_size; in __netvsc_get_ringparam()
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dfsl_easrc.h552 unsigned int max_buf_size; member
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_wmm.c836 wlan_num_pkts_in_txq(mlan_private *priv, raListTbl *ptr, int max_buf_size) in wlan_num_pkts_in_txq() argument
847 if (total_size < max_buf_size) in wlan_num_pkts_in_txq()
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/mlan/
H A Dmlan_wmm.c794 int max_buf_size) in wlan_num_pkts_in_txq() argument
804 if (total_size < max_buf_size) in wlan_num_pkts_in_txq()
/OK3568_Linux_fs/kernel/drivers/scsi/lpfc/
H A Dlpfc_init.c6550 int rc, i, max_buf_size; in lpfc_sli4_driver_resource_setup() local
6828 max_buf_size = (2 * SLI4_PAGE_SIZE); in lpfc_sli4_driver_resource_setup()
6847 sizeof(struct fcp_rsp) + max_buf_size; in lpfc_sli4_driver_resource_setup()
/OK3568_Linux_fs/external/rkwifibt/drivers/bcmdhd/
H A Dwl_cfg80211.c8115 const u32 max_buf_size = WL_PKT_FILTER_FIXED_LEN + in wl_wowlan_config() local
8127 pkt_filterp = (wl_pkt_filter_t *)MALLOCZ(cfg->osh, max_buf_size); in wl_wowlan_config()
8138 bzero(pkt_filterp, max_buf_size); in wl_wowlan_config()
8208 MFREE(cfg->osh, pkt_filterp, max_buf_size); in wl_wowlan_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/rkwifi/bcmdhd/
H A Dwl_cfg80211.c8067 const u32 max_buf_size = WL_PKT_FILTER_FIXED_LEN + in wl_wowlan_config() local
8079 pkt_filterp = (wl_pkt_filter_t *)MALLOCZ(cfg->osh, max_buf_size); in wl_wowlan_config()
8090 bzero(pkt_filterp, max_buf_size); in wl_wowlan_config()
8160 MFREE(cfg->osh, pkt_filterp, max_buf_size); in wl_wowlan_config()
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/cywdhd/bcmdhd/
H A Dwl_cfg80211.c8775 const u32 max_buf_size = WL_PKT_FILTER_FIXED_LEN + local
8787 pkt_filterp = (wl_pkt_filter_t *)MALLOCZ(cfg->osh, max_buf_size);
8798 bzero(pkt_filterp, max_buf_size);
8868 MFREE(cfg->osh, pkt_filterp, max_buf_size);
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/infineon/bcmdhd/
H A Dwl_cfg80211.c8773 const u32 max_buf_size = WL_PKT_FILTER_FIXED_LEN + local
8785 pkt_filterp = (wl_pkt_filter_t *)MALLOCZ(cfg->osh, max_buf_size);
8796 bzero(pkt_filterp, max_buf_size);
8866 MFREE(cfg->osh, pkt_filterp, max_buf_size);
/OK3568_Linux_fs/external/rkwifibt/drivers/infineon/
H A Dwl_cfg80211.c8674 const u32 max_buf_size = WL_PKT_FILTER_FIXED_LEN + local
8686 pkt_filterp = (wl_pkt_filter_t *)MALLOCZ(cfg->osh, max_buf_size);
8697 bzero(pkt_filterp, max_buf_size);
8767 MFREE(cfg->osh, pkt_filterp, max_buf_size);