/Linux-v6.6/drivers/net/ethernet/intel/i40e/ |
D | i40e_prototype.h | 26 void *buff, /* can be NULL */ u16 buff_size, 32 u16 buff_size, 37 void *buff, /* can be NULL */ u16 buff_size, 44 u16 buff_size, 215 void *buff, u16 buff_size, u16 *data_size, 226 u8 mib_type, void *buff, u16 buff_size, 231 u8 mib_type, void *buff, u16 buff_size, 249 void *buff, u16 buff_size, 427 u8 table_id, u32 start_index, u16 buff_size, 476 u16 buff_size, u32 track_id, [all …]
|
D | i40e_adminq.c | 786 u16 buff_size, in i40e_asq_send_command_atomic_exec() argument 837 if (buff_size > hw->aq.asq_buf_size) { in i40e_asq_send_command_atomic_exec() 841 buff_size); in i40e_asq_send_command_atomic_exec() 879 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command_atomic_exec() 880 desc_on_ring->datalen = cpu_to_le16(buff_size); in i40e_asq_send_command_atomic_exec() 894 buff, buff_size); in i40e_asq_send_command_atomic_exec() 927 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command_atomic_exec() 950 i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in i40e_asq_send_command_atomic_exec() 990 u16 buff_size, in i40e_asq_send_command_atomic() argument 997 status = i40e_asq_send_command_atomic_exec(hw, desc, buff, buff_size, in i40e_asq_send_command_atomic() [all …]
|
D | i40e_common.c | 3359 void *buff, u16 buff_size, u16 *data_size, in i40e_aq_discover_capabilities() argument 3378 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_discover_capabilities() 3381 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_discover_capabilities() 3501 u8 mib_type, void *buff, u16 buff_size, in i40e_aq_get_lldp_mib() argument 3512 if (buff_size == 0 || !buff) in i40e_aq_get_lldp_mib() 3523 desc.datalen = cpu_to_le16(buff_size); in i40e_aq_get_lldp_mib() 3526 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_get_lldp_mib() 3529 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_get_lldp_mib() 3552 u8 mib_type, void *buff, u16 buff_size, in i40e_aq_set_lldp_mib() argument 3560 if (buff_size == 0 || !buff) in i40e_aq_set_lldp_mib() [all …]
|
D | i40e_nvm.c | 1379 u32 buff_size = 0; in i40e_nvmupd_exec_aq() local 1407 buff_size = max_t(u32, aq_data_len, le16_to_cpu(aq_desc->datalen)); in i40e_nvmupd_exec_aq() 1408 if (buff_size) { in i40e_nvmupd_exec_aq() 1429 buff_size, &cmd_details); in i40e_nvmupd_exec_aq()
|
/Linux-v6.6/sound/soc/stm/ |
D | stm32_adfsdm.c | 174 size_t buff_size = snd_pcm_lib_buffer_bytes(priv->substream); in stm32_afsdm_pcm_cb() local 186 if ((priv->pos + src_size) > buff_size) { in stm32_afsdm_pcm_cb() 189 buff_size - priv->pos); in stm32_afsdm_pcm_cb() 192 buff_size - priv->pos); in stm32_afsdm_pcm_cb() 193 cur_size -= buff_size - priv->pos; in stm32_afsdm_pcm_cb() 204 priv->pos = (priv->pos + cur_size) % buff_size; in stm32_afsdm_pcm_cb()
|
/Linux-v6.6/drivers/net/ethernet/ibm/ |
D | ibmveth.c | 154 u32 buff_size, u32 pool_active) in ibmveth_init_buffer_pool() argument 158 pool->buff_size = buff_size; in ibmveth_init_buffer_pool() 229 skb = netdev_alloc_skb(adapter->netdev, pool->buff_size); in ibmveth_replenish_buffer_pool() 248 pool->buff_size, DMA_FROM_DEVICE); in ibmveth_replenish_buffer_pool() 260 desc.fields.flags_len = IBMVETH_BUF_VALID | pool->buff_size; in ibmveth_replenish_buffer_pool() 264 unsigned int len = min(pool->buff_size, in ibmveth_replenish_buffer_pool() 293 pool->dma_addr[index], pool->buff_size, in ibmveth_replenish_buffer_pool() 347 pool->buff_size, in ibmveth_free_buffer_pool() 386 adapter->rx_buff_pool[pool].buff_size, in ibmveth_remove_buffer_from_pool() 435 adapter->rx_buff_pool[pool].buff_size; in ibmveth_rxq_recycle_buffer() [all …]
|
D | ibmvnic.c | 584 int buff_size) in alloc_ltb_set() argument 598 buff_size); in alloc_ltb_set() 600 ltb_size = rounddown(IBMVNIC_ONE_LTB_SIZE, buff_size); in alloc_ltb_set() 601 tot_size = num_buffs * buff_size; in alloc_ltb_set() 703 nbufs = ltb->size / rxpool->buff_size; in map_rxpool_buf_to_ltb() 710 *offset = bufidx * rxpool->buff_size; in map_rxpool_buf_to_ltb() 797 pool->buff_size); in replenish_rx_pool() 811 memset(dst, 0, pool->buff_size); in replenish_rx_pool() 819 pool->rx_buff[bufidx].size = pool->buff_size; in replenish_rx_pool() 838 sub_crq->rx_add.len = cpu_to_be32(pool->buff_size << shift); in replenish_rx_pool() [all …]
|
D | ibmveth.h | 115 u32 buff_size; member
|
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/hw_atl/ |
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-v6.6/drivers/net/ethernet/intel/iavf/ |
D | iavf_adminq.c | 644 u16 buff_size, in iavf_asq_send_command() argument 696 if (buff_size > hw->aq.asq_buf_size) { in iavf_asq_send_command() 700 buff_size); in iavf_asq_send_command() 738 memcpy(dma_buff->va, buff, buff_size); in iavf_asq_send_command() 739 desc_on_ring->datalen = cpu_to_le16(buff_size); in iavf_asq_send_command() 753 buff, buff_size); in iavf_asq_send_command() 781 memcpy(buff, dma_buff->va, buff_size); in iavf_asq_send_command() 804 iavf_debug_aq(hw, IAVF_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in iavf_asq_send_command()
|
D | iavf_prototype.h | 28 u16 buff_size,
|
/Linux-v6.6/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.c | 615 unsigned int buff_size = 0U; in aq_nic_map_xdp() local 620 buff_size = AQ_CFG_TX_FRAME_MAX; in aq_nic_map_xdp() 622 buff_size = frag_len; in aq_nic_map_xdp() 625 buff_size, DMA_TO_DEVICE); in aq_nic_map_xdp() 634 dx_buff->len = buff_size; in aq_nic_map_xdp() 639 frag_len -= buff_size; in aq_nic_map_xdp() 640 buff_offset += buff_size; in aq_nic_map_xdp() 759 unsigned int buff_size = 0U; in aq_nic_map_skb() local 767 buff_size = AQ_CFG_TX_FRAME_MAX; in aq_nic_map_skb() 769 buff_size = frag_len; in aq_nic_map_skb() [all …]
|
/Linux-v6.6/drivers/usb/renesas_usbhs/ |
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-v6.6/drivers/net/ethernet/qlogic/qed/ |
D | qed_iwarp.c | 1584 (u16)buf->buff_size, buf, 1); in qed_iwarp_ll2_post_rx() 1589 dma_free_coherent(&p_hwfn->cdev->pdev->dev, buf->buff_size, in qed_iwarp_ll2_post_rx() 1903 if ((fpdu->mpa_frag_len + tcp_payload_size) > (u16)buf->buff_size) { in qed_iwarp_cp_pkt() 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() 2474 dma_free_coherent(&p_hwfn->cdev->pdev->dev, buffer->buff_size, in qed_iwarp_ll2_rel_rx_pkt() 2517 buffer->piggy_buf->buff_size, in qed_iwarp_ll2_rel_tx_pkt() 2524 dma_free_coherent(&p_hwfn->cdev->pdev->dev, buffer->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() [all …]
|
D | qed_iwarp.h | 35 u32 buff_size; member
|
/Linux-v6.6/drivers/ntb/ |
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() 1330 mw->buff_size = 0; in ntb_transport_probe()
|
/Linux-v6.6/drivers/firmware/efi/libstub/ |
D | mem.c | 54 m->buff_size = m->map_size = size; in efi_get_memory_map()
|
/Linux-v6.6/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 651 hr_qp->buff_size = 0; in set_wqe_buf_attr() 661 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 665 hr_qp->sge.offset = hr_qp->buff_size; in set_wqe_buf_attr() 672 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 676 hr_qp->rq.offset = hr_qp->buff_size; in set_wqe_buf_attr() 683 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 686 if (hr_qp->buff_size < 1) in set_wqe_buf_attr()
|
/Linux-v6.6/drivers/dma/ |
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-v6.6/sound/soc/sof/ |
D | debug.c | 217 static int memory_info_update(struct snd_sof_dev *sdev, char *buf, size_t buff_size) in memory_info_update() argument 255 ret = scnprintf(buf + len, buff_size - len, "zone %d.%d used %#8x free %#8x\n", in memory_info_update()
|
/Linux-v6.6/drivers/gpu/drm/bridge/cadence/ |
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()
|
/Linux-v6.6/drivers/crypto/ccree/ |
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-v6.6/drivers/s390/net/ |
D | lcs.h | 219 __u16 buff_size; member
|
/Linux-v6.6/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 332 int buff_size; in dc_dsc_parse_dsc_dpcd() local 338 buff_size = dpcd_dsc_basic_data[DP_DSC_RC_BUF_SIZE - DP_DSC_SUPPORT] + 1; in dc_dsc_parse_dsc_dpcd() 339 dsc_sink_caps->rc_buffer_size = buff_size * buff_block_size; in dc_dsc_parse_dsc_dpcd()
|
/Linux-v6.6/drivers/net/wireless/marvell/mwifiex/ |
D | 11n.c | 217 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf() 221 tx_buf->buff_size = 0; in mwifiex_cmd_recfg_tx_buf()
|