/linux/drivers/firmware/efi/libstub/ |
A D | mem.c | 8 static inline bool mmap_has_headroom(unsigned long buff_size, in mmap_has_headroom() argument 12 unsigned long slack = buff_size - map_size; in mmap_has_headroom() 35 *map->buff_size = *map->map_size; in efi_get_memory_map() 47 !mmap_has_headroom(*map->buff_size, *map->map_size, in efi_get_memory_map() 58 *map->buff_size = *map->map_size; in efi_get_memory_map()
|
A D | randomalloc.c | 59 unsigned long buff_size; in efi_random_alloc() local 70 map.buff_size = &buff_size; in efi_random_alloc()
|
A D | relocate.c | 26 unsigned long map_size, desc_size, buff_size; in efi_low_alloc_above() local 38 boot_map.buff_size = &buff_size; in efi_low_alloc_above()
|
A D | arm64-stub.c | 45 unsigned long map_size, desc_size, buff_size; in check_image_region() local 57 map.buff_size = &buff_size; in check_image_region()
|
A D | fdt.c | 246 unsigned long map_size, desc_size, buff_size; in allocate_new_fdt_and_exit_boot() local 260 map.buff_size = &buff_size; in allocate_new_fdt_and_exit_boot()
|
A D | x86-stub.c | 627 unsigned long map_sz, key, desc_size, buff_size; in exit_boot() local 641 map.buff_size = &buff_size; in exit_boot()
|
/linux/sound/soc/stm/ |
A D | stm32_adfsdm.c | 173 size_t buff_size = snd_pcm_lib_buffer_bytes(priv->substream); in stm32_afsdm_pcm_cb() local 185 if ((priv->pos + src_size) > buff_size) { in stm32_afsdm_pcm_cb() 188 buff_size - priv->pos); in stm32_afsdm_pcm_cb() 191 buff_size - priv->pos); in stm32_afsdm_pcm_cb() 192 cur_size -= buff_size - priv->pos; in stm32_afsdm_pcm_cb() 203 priv->pos = (priv->pos + cur_size) % buff_size; in stm32_afsdm_pcm_cb()
|
/linux/drivers/net/ethernet/ibm/ |
A D | ibmveth.c | 147 u32 buff_size, u32 pool_active) in ibmveth_init_buffer_pool() argument 151 pool->buff_size = buff_size; in ibmveth_init_buffer_pool() 241 pool->buff_size, DMA_FROM_DEVICE); in ibmveth_replenish_buffer_pool() 257 unsigned int len = min(pool->buff_size, in ibmveth_replenish_buffer_pool() 340 pool->buff_size, in ibmveth_free_buffer_pool() 379 adapter->rx_buff_pool[pool].buff_size, in ibmveth_remove_buffer_from_pool() 428 adapter->rx_buff_pool[pool].buff_size; in ibmveth_rxq_recycle_buffer() 1578 buff_size, tbl); in ibmveth_get_desired_dma() 1779 return sprintf(buf, "%d\n", pool->buff_size); in veth_pool_show() 1863 pool->buff_size = value; in veth_pool_store() [all …]
|
A D | ibmvnic.c | 396 pool->buff_size); in replenish_rx_pool() 408 offset = index * pool->buff_size; in replenish_rx_pool() 410 memset(dst, 0, pool->buff_size); in replenish_rx_pool() 657 u64 buff_size; in init_rx_pools() local 662 buff_size = adapter->cur_rx_buf_sz; in init_rx_pools() 690 i, pool_size, buff_size); in init_rx_pools() 694 rx_pool->buff_size = ALIGN(buff_size, L1_CACHE_BYTES); in init_rx_pools() 719 i, rx_pool->size, rx_pool->buff_size); in init_rx_pools() 894 u64 buff_size; in init_tx_pools() local 936 buff_size = ALIGN(buff_size, L1_CACHE_BYTES); in init_tx_pools() [all …]
|
A D | ibmveth.h | 112 u32 buff_size; member
|
/linux/drivers/net/ethernet/intel/i40e/ |
A D | i40e_prototype.h | 28 u16 buff_size, 189 void *buff, u16 buff_size, u16 *data_size, 200 u8 mib_type, void *buff, u16 buff_size, 205 u8 mib_type, void *buff, u16 buff_size, 223 void *buff, u16 buff_size, 407 u8 table_id, u32 start_index, u16 buff_size, 456 u16 buff_size, u32 track_id, 461 u16 buff_size, u8 flags,
|
A D | i40e_common.c | 3390 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_discover_capabilities() 3524 if (buff_size == 0 || !buff) in i40e_aq_get_lldp_mib() 3538 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_get_lldp_mib() 3572 if (buff_size == 0 || !buff) in i40e_aq_set_lldp_mib() 3579 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_set_lldp_mib() 3774 if (buff_size == 0 || !buff) in i40e_aq_get_cee_dcb_config() 3908 void *buff, u16 buff_size, in i40e_aq_tx_sched_cmd() argument 3945 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_tx_sched_cmd() 4527 if (buff_size == 0 || !buff) in i40e_aq_debug_dump() 4534 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_debug_dump() [all …]
|
A D | i40e_adminq.c | 785 u16 buff_size, in i40e_asq_send_command() argument 837 if (buff_size > hw->aq.asq_buf_size) { in i40e_asq_send_command() 841 buff_size); in i40e_asq_send_command() 879 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command() 880 desc_on_ring->datalen = cpu_to_le16(buff_size); in i40e_asq_send_command() 894 buff, buff_size); in i40e_asq_send_command() 922 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command() 945 i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in i40e_asq_send_command()
|
/linux/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
A D | hw_atl_a0.c | 128 u32 buff_size = 0U; in hw_atl_a0_hw_qos_set() local 148 buff_size = HW_ATL_A0_TXBUF_MAX; in hw_atl_a0_hw_qos_set() 150 hw_atl_tpb_tx_pkt_buff_size_per_tc_set(self, buff_size, tc); in hw_atl_a0_hw_qos_set() 152 (buff_size * in hw_atl_a0_hw_qos_set() 156 (buff_size * in hw_atl_a0_hw_qos_set() 163 buff_size = HW_ATL_A0_RXBUF_MAX; in hw_atl_a0_hw_qos_set() 165 hw_atl_rpb_rx_pkt_buff_size_per_tc_set(self, buff_size, tc); in hw_atl_a0_hw_qos_set() 167 (buff_size * in hw_atl_a0_hw_qos_set() 171 (buff_size * in hw_atl_a0_hw_qos_set()
|
/linux/drivers/net/ethernet/intel/iavf/ |
A D | iavf_adminq.c | 635 u16 buff_size, in iavf_asq_send_command() argument 687 if (buff_size > hw->aq.asq_buf_size) { in iavf_asq_send_command() 691 buff_size); in iavf_asq_send_command() 729 memcpy(dma_buff->va, buff, buff_size); in iavf_asq_send_command() 730 desc_on_ring->datalen = cpu_to_le16(buff_size); in iavf_asq_send_command() 744 buff, buff_size); in iavf_asq_send_command() 772 memcpy(buff, dma_buff->va, buff_size); in iavf_asq_send_command() 795 iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in iavf_asq_send_command()
|
A D | iavf_prototype.h | 28 u16 buff_size,
|
/linux/drivers/usb/renesas_usbhs/ |
A D | pipe.c | 474 u16 buff_size; in usbhsp_setup_pipebuff() local 489 buff_size = pipe_config->bufsize; in usbhsp_setup_pipebuff() 493 bufnmb_cnt = (buff_size / 64) - 1; in usbhsp_setup_pipebuff() 496 pipe_num, buff_size, bufnmb); in usbhsp_setup_pipebuff()
|
/linux/drivers/net/ethernet/qlogic/qed/ |
A D | qed_iwarp.c | 1584 (u16)buf->buff_size, buf, 1); in qed_iwarp_ll2_post_rx() 1906 buf->buff_size, fpdu->mpa_frag_len, in qed_iwarp_cp_pkt() 1942 buf->buff_size, fpdu->mpa_frag_len, tcp_payload_size, in qed_iwarp_cp_pkt() 2517 buffer->piggy_buf->buff_size, in qed_iwarp_ll2_rel_tx_pkt() 2598 int num_rx_bufs, int buff_size, u8 ll2_handle) in qed_iwarp_ll2_alloc_buffers() argument 2612 buff_size, in qed_iwarp_ll2_alloc_buffers() 2621 buffer->buff_size = buff_size; in qed_iwarp_ll2_alloc_buffers() 2642 u32 buff_size; in qed_iwarp_ll2_start() local 2694 buff_size = QED_IWARP_MAX_BUF_SIZE(params->max_mtu); in qed_iwarp_ll2_start() 2697 buff_size, in qed_iwarp_ll2_start() [all …]
|
A D | qed_iwarp.h | 35 u32 buff_size; member
|
/linux/drivers/ntb/ |
A D | ntb_transport.c | 209 size_t buff_size; member 803 mw->buff_size = 0; in ntb_free_mw() 832 if (mw->alloc_size > mw->buff_size) { in ntb_alloc_mw_buffer() 858 size_t xlat_size, buff_size; in ntb_set_mw() local 872 buff_size = round_up(size, xlat_align); in ntb_set_mw() 878 if (mw->buff_size) in ntb_set_mw() 883 mw->buff_size = buff_size; in ntb_set_mw() 884 mw->alloc_size = buff_size; in ntb_set_mw() 894 mw->buff_size = 0; in ntb_set_mw() 1323 mw->buff_size = 0; in ntb_transport_probe()
|
/linux/drivers/infiniband/hw/hns/ |
A D | hns_roce_qp.c | 614 hr_qp->buff_size = 0; in set_wqe_buf_attr() 624 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 628 hr_qp->sge.offset = hr_qp->buff_size; in set_wqe_buf_attr() 635 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 639 hr_qp->rq.offset = hr_qp->buff_size; in set_wqe_buf_attr() 646 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 649 if (hr_qp->buff_size < 1) in set_wqe_buf_attr()
|
/linux/drivers/dma/ |
A D | mv_xor_v2.c | 129 u32 buff_size; member 421 hw_descriptor->buff_size = len; in mv_xor_v2_prep_dma_memcpy() 480 hw_descriptor->buff_size = len; in mv_xor_v2_prep_dma_xor()
|
/linux/drivers/net/ethernet/aquantia/atlantic/ |
A D | aq_nic.c | 659 unsigned int buff_size = 0U; in aq_nic_map_skb() local 667 buff_size = AQ_CFG_TX_FRAME_MAX; in aq_nic_map_skb() 669 buff_size = frag_len; in aq_nic_map_skb() 674 buff_size, in aq_nic_map_skb() 685 dx_buff->len = buff_size; in aq_nic_map_skb() 690 frag_len -= buff_size; in aq_nic_map_skb() 691 buff_offset += buff_size; in aq_nic_map_skb()
|
/linux/drivers/crypto/ccree/ |
A D | cc_buffer_mgr.c | 117 u32 buff_size, u32 *curr_nents, in cc_render_buff_to_mlli() argument 124 new_nents = (*curr_nents + buff_size / CC_MAX_MLLI_ENTRY_SIZE + 1); in cc_render_buff_to_mlli() 132 while (buff_size > CC_MAX_MLLI_ENTRY_SIZE) { in cc_render_buff_to_mlli() 139 buff_size -= CC_MAX_MLLI_ENTRY_SIZE; in cc_render_buff_to_mlli() 145 cc_lli_set_size(mlli_entry_p, buff_size); in cc_render_buff_to_mlli()
|
/linux/drivers/gpu/drm/bridge/cadence/ |
A D | cdns-mhdp8546-hdcp.c | 83 u8 *buff, u16 buff_size) in cdns_mhdp_secure_mailbox_recv_data() argument 88 for (i = 0; i < buff_size; i++) { in cdns_mhdp_secure_mailbox_recv_data()
|