Home
last modified time | relevance | path

Searched refs:buff_size (Results 1 – 23 of 23) sorted by relevance

/drivers/net/ethernet/ibm/
Dibmveth.c158 u32 buff_size, u32 pool_active) in ibmveth_init_buffer_pool() argument
162 pool->buff_size = buff_size; in ibmveth_init_buffer_pool()
235 skb = netdev_alloc_skb(adapter->netdev, pool->buff_size); in ibmveth_replenish_buffer_pool()
254 pool->buff_size, DMA_FROM_DEVICE); in ibmveth_replenish_buffer_pool()
266 desc.fields.flags_len = IBMVETH_BUF_VALID | pool->buff_size; in ibmveth_replenish_buffer_pool()
270 unsigned int len = min(pool->buff_size, in ibmveth_replenish_buffer_pool()
299 pool->dma_addr[index], pool->buff_size, in ibmveth_replenish_buffer_pool()
353 pool->buff_size, in ibmveth_free_buffer_pool()
392 adapter->rx_buff_pool[pool].buff_size, in ibmveth_remove_buffer_from_pool()
441 adapter->rx_buff_pool[pool].buff_size; in ibmveth_rxq_recycle_buffer()
[all …]
Dibmveth.h124 u32 buff_size; member
/drivers/usb/renesas_usbhs/
Dpipe.c495 u16 buff_size; in usbhsp_setup_pipebuff() local
533 buff_size = 256; in usbhsp_setup_pipebuff()
535 buff_size = 64; in usbhsp_setup_pipebuff()
537 buff_size = 512; in usbhsp_setup_pipebuff()
540 bufnmb_cnt = (buff_size / 64) - 1; in usbhsp_setup_pipebuff()
558 pipe_num, buff_size, bufnmb); in usbhsp_setup_pipebuff()
/drivers/net/ethernet/intel/i40evf/
Di40e_adminq.c672 u16 buff_size, in i40evf_asq_send_command() argument
724 if (buff_size > hw->aq.asq_buf_size) { in i40evf_asq_send_command()
728 buff_size); in i40evf_asq_send_command()
766 memcpy(dma_buff->va, buff, buff_size); in i40evf_asq_send_command()
767 desc_on_ring->datalen = cpu_to_le16(buff_size); in i40evf_asq_send_command()
781 buff, buff_size); in i40evf_asq_send_command()
809 memcpy(buff, dma_buff->va, buff_size); in i40evf_asq_send_command()
831 buff_size); in i40evf_asq_send_command()
Di40e_prototype.h51 u16 buff_size,
/drivers/net/ethernet/intel/i40e/
Di40e_prototype.h51 u16 buff_size,
176 void *buff, u16 buff_size, u16 *data_size,
184 u8 mib_type, void *buff, u16 buff_size,
195 void *buff, u16 buff_size,
319 u8 table_id, u32 start_index, u16 buff_size,
Di40e_adminq.c739 u16 buff_size, in i40e_asq_send_command() argument
791 if (buff_size > hw->aq.asq_buf_size) { in i40e_asq_send_command()
795 buff_size); in i40e_asq_send_command()
833 memcpy(dma_buff->va, buff, buff_size); in i40e_asq_send_command()
834 desc_on_ring->datalen = cpu_to_le16(buff_size); in i40e_asq_send_command()
848 buff, buff_size); in i40e_asq_send_command()
876 memcpy(buff, dma_buff->va, buff_size); in i40e_asq_send_command()
897 i40e_debug_aq(hw, I40E_DEBUG_AQ_COMMAND, (void *)desc, buff, buff_size); in i40e_asq_send_command()
Di40e_common.c3021 void *buff, u16 buff_size, u16 *data_size, in i40e_aq_discover_capabilities() argument
3040 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_discover_capabilities()
3043 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_discover_capabilities()
3117 u8 mib_type, void *buff, u16 buff_size, in i40e_aq_get_lldp_mib() argument
3128 if (buff_size == 0 || !buff) in i40e_aq_get_lldp_mib()
3139 desc.datalen = cpu_to_le16(buff_size); in i40e_aq_get_lldp_mib()
3142 if (buff_size > I40E_AQ_LARGE_BUF) in i40e_aq_get_lldp_mib()
3145 status = i40e_asq_send_command(hw, &desc, buff, buff_size, cmd_details); in i40e_aq_get_lldp_mib()
3244 void *buff, u16 buff_size, in i40e_aq_get_cee_dcb_config() argument
3250 if (buff_size == 0 || !buff) in i40e_aq_get_cee_dcb_config()
[all …]
Di40e_nvm.c1161 u32 buff_size = 0; in i40e_nvmupd_exec_aq() local
1185 buff_size = max_t(u32, aq_data_len, le16_to_cpu(aq_desc->datalen)); in i40e_nvmupd_exec_aq()
1186 if (buff_size) { in i40e_nvmupd_exec_aq()
1204 buff_size, &cmd_details); in i40e_nvmupd_exec_aq()
/drivers/ntb/
Dntb_transport.c189 size_t buff_size; member
643 dma_free_coherent(&pdev->dev, mw->buff_size, in ntb_free_mw()
646 mw->buff_size = 0; in ntb_free_mw()
655 size_t xlat_size, buff_size; in ntb_set_mw() local
662 buff_size = round_up(size, mw->xlat_align); in ntb_set_mw()
668 if (mw->buff_size) in ntb_set_mw()
673 mw->buff_size = buff_size; in ntb_set_mw()
675 mw->virt_addr = dma_alloc_coherent(&pdev->dev, buff_size, in ntb_set_mw()
679 mw->buff_size = 0; in ntb_set_mw()
681 buff_size); in ntb_set_mw()
[all …]
/drivers/s390/net/
Dlcs.h217 __u16 buff_size; member
Dlcs.c921 cmd->cmd.lcs_startup.buff_size = LCS_IOBUFFERSIZE; in lcs_send_startup()
/drivers/net/wireless/mwifiex/
D11n.c231 tx_buf->buff_size = cpu_to_le16(*buf_size); in mwifiex_cmd_recfg_tx_buf()
235 tx_buf->buff_size = 0; in mwifiex_cmd_recfg_tx_buf()
Dsta_cmdresp.c1161 if (0xffff == (u16)le16_to_cpu(resp->params.tx_buf.buff_size)) { in mwifiex_process_sta_cmdresp()
1173 tx_buf.buff_size); in mwifiex_process_sta_cmdresp()
Dfw.h1534 __le16 buff_size; member
/drivers/block/
Dcciss.c1582 int *buff_size = NULL; in cciss_bigpassthru() local
1624 buff_size = kmalloc(MAXSGENTRIES * sizeof(int), GFP_KERNEL); in cciss_bigpassthru()
1625 if (!buff_size) { in cciss_bigpassthru()
1633 buff_size[sg_used] = sz; in cciss_bigpassthru()
1665 temp64.val = pci_map_single(h->pdev, buff[i], buff_size[i], in cciss_bigpassthru()
1669 c->SG[i].Len = buff_size[i]; in cciss_bigpassthru()
1680 (dma_addr_t) temp64.val, buff_size[i], in cciss_bigpassthru()
1695 if (copy_to_user(ptr, buff[i], buff_size[i])) { in cciss_bigpassthru()
1700 ptr += buff_size[i]; in cciss_bigpassthru()
1711 kfree(buff_size); in cciss_bigpassthru()
/drivers/usb/gadget/udc/
Dpch_udc.c998 u32 buff_size = 0; in pch_udc_ep_enable() local
1002 buff_size = UDC_EPIN_BUFF_SIZE; in pch_udc_ep_enable()
1004 buff_size = UDC_EPOUT_BUFF_SIZE; in pch_udc_ep_enable()
1005 pch_udc_ep_set_bufsz(ep, buff_size, ep->in); in pch_udc_ep_enable()
/drivers/scsi/
Dsg.c195 static int sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size);
1900 sg_build_indirect(Sg_scatter_hold * schp, Sg_fd * sfp, int buff_size) in sg_build_indirect() argument
1904 int blk_size = buff_size, order; in sg_build_indirect()
1916 buff_size, blk_size)); in sg_build_indirect()
Dhpsa.c6396 int *buff_size = NULL; in hpsa_big_passthru_ioctl() local
6437 buff_size = kmalloc(SG_ENTRIES_IN_CMD * sizeof(int), GFP_KERNEL); in hpsa_big_passthru_ioctl()
6438 if (!buff_size) { in hpsa_big_passthru_ioctl()
6446 buff_size[sg_used] = sz; in hpsa_big_passthru_ioctl()
6476 buff_size[i], PCI_DMA_BIDIRECTIONAL); in hpsa_big_passthru_ioctl()
6487 c->SG[i].Len = cpu_to_le32(buff_size[i]); in hpsa_big_passthru_ioctl()
6513 if (copy_to_user(ptr, buff[i], buff_size[i])) { in hpsa_big_passthru_ioctl()
6517 ptr += buff_size[i]; in hpsa_big_passthru_ioctl()
6531 kfree(buff_size); in hpsa_big_passthru_ioctl()
/drivers/net/ethernet/qlogic/netxen/
Dnetxen_nic_ctx.c351 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in nx_fw_cmd_create_rx_ctx()
Dnetxen_nic.h822 __le64 buff_size; /* Packet buffer size */ member
/drivers/net/ethernet/qlogic/qlcnic/
Dqlcnic_ctx.c318 prq_rds[i].buff_size = cpu_to_le64(rds_ring->dma_size); in qlcnic_82xx_fw_cmd_create_rx_ctx()
Dqlcnic.h720 __le64 buff_size; /* Packet buffer size */ member