/linux-6.1.9/drivers/net/ethernet/intel/i40e/ |
D | i40e_adminq.c | 787 u16 buff_size, in i40e_asq_send_command_atomic_exec() argument 838 if (buff_size > hw->aq.asq_buf_size) { in i40e_asq_send_command_atomic_exec() 842 buff_size); in i40e_asq_send_command_atomic_exec() 880 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command_atomic_exec() 881 desc_on_ring->datalen = cpu_to_le16(buff_size); in i40e_asq_send_command_atomic_exec() 895 buff, buff_size); in i40e_asq_send_command_atomic_exec() 928 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command_atomic_exec() 951 i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in i40e_asq_send_command_atomic_exec() 991 u16 buff_size, in i40e_asq_send_command_atomic() argument 998 status = i40e_asq_send_command_atomic_exec(hw, desc, buff, buff_size, in i40e_asq_send_command_atomic() [all …]
|
D | i40e_prototype.h | 27 void *buff, /* can be NULL */ u16 buff_size, 33 u16 buff_size, 38 void *buff, /* can be NULL */ u16 buff_size, 45 u16 buff_size, 218 void *buff, u16 buff_size, u16 *data_size, 229 u8 mib_type, void *buff, u16 buff_size, 234 u8 mib_type, void *buff, u16 buff_size, 252 void *buff, u16 buff_size, 436 u8 table_id, u32 start_index, u16 buff_size, 485 u16 buff_size, u32 track_id, [all …]
|
D | i40e_common.c | 3475 void *buff, u16 buff_size, u16 *data_size, in i40e_aq_discover_capabilities() argument 3494 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_discover_capabilities() 3497 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_discover_capabilities() 3617 u8 mib_type, void *buff, u16 buff_size, in i40e_aq_get_lldp_mib() argument 3628 if (buff_size == 0 || !buff) in i40e_aq_get_lldp_mib() 3639 desc.datalen = cpu_to_le16(buff_size); in i40e_aq_get_lldp_mib() 3642 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_get_lldp_mib() 3645 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_get_lldp_mib() 3668 u8 mib_type, void *buff, u16 buff_size, in i40e_aq_set_lldp_mib() argument 3676 if (buff_size == 0 || !buff) in i40e_aq_set_lldp_mib() [all …]
|
D | i40e_nvm.c | 1380 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-6.1.9/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-6.1.9/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 | 391 int buff_size) in alloc_ltb_set() argument 405 buff_size); in alloc_ltb_set() 407 ltb_size = rounddown(IBMVNIC_ONE_LTB_SIZE, buff_size); in alloc_ltb_set() 408 tot_size = num_buffs * buff_size; in alloc_ltb_set() 510 nbufs = ltb->size / rxpool->buff_size; in map_rxpool_buf_to_ltb() 517 *offset = bufidx * rxpool->buff_size; in map_rxpool_buf_to_ltb() 604 pool->buff_size); in replenish_rx_pool() 618 memset(dst, 0, pool->buff_size); in replenish_rx_pool() 626 pool->rx_buff[bufidx].size = pool->buff_size; in replenish_rx_pool() 645 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-6.1.9/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-6.1.9/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-6.1.9/drivers/net/ethernet/aquantia/atlantic/ |
D | aq_nic.c | 610 unsigned int buff_size = 0U; in aq_nic_map_xdp() local 615 buff_size = AQ_CFG_TX_FRAME_MAX; in aq_nic_map_xdp() 617 buff_size = frag_len; in aq_nic_map_xdp() 620 buff_size, DMA_TO_DEVICE); in aq_nic_map_xdp() 629 dx_buff->len = buff_size; in aq_nic_map_xdp() 634 frag_len -= buff_size; in aq_nic_map_xdp() 635 buff_offset += buff_size; in aq_nic_map_xdp() 754 unsigned int buff_size = 0U; in aq_nic_map_skb() local 762 buff_size = AQ_CFG_TX_FRAME_MAX; in aq_nic_map_skb() 764 buff_size = frag_len; in aq_nic_map_skb() [all …]
|
/linux-6.1.9/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-6.1.9/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-6.1.9/drivers/firmware/efi/libstub/ |
D | mem.c | 54 m->buff_size = m->map_size = size; in efi_get_memory_map()
|
/linux-6.1.9/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() 1323 mw->buff_size = 0; in ntb_transport_probe()
|
/linux-6.1.9/drivers/infiniband/hw/hns/ |
D | hns_roce_qp.c | 642 hr_qp->buff_size = 0; in set_wqe_buf_attr() 652 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 656 hr_qp->sge.offset = hr_qp->buff_size; in set_wqe_buf_attr() 663 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 667 hr_qp->rq.offset = hr_qp->buff_size; in set_wqe_buf_attr() 674 hr_qp->buff_size += buf_size; in set_wqe_buf_attr() 677 if (hr_qp->buff_size < 1) in set_wqe_buf_attr()
|
/linux-6.1.9/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-6.1.9/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-6.1.9/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-6.1.9/drivers/gpu/drm/amd/display/dc/dsc/ |
D | dc_dsc.c | 237 int buff_size; in dc_dsc_parse_dsc_dpcd() local 243 buff_size = dpcd_dsc_basic_data[DP_DSC_RC_BUF_SIZE - DP_DSC_SUPPORT] + 1; in dc_dsc_parse_dsc_dpcd() 244 dsc_sink_caps->rc_buffer_size = buff_size * buff_block_size; in dc_dsc_parse_dsc_dpcd()
|
/linux-6.1.9/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-6.1.9/drivers/s390/net/ |
D | lcs.h | 219 __u16 buff_size; member
|
/linux-6.1.9/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()
|