Home
last modified time | relevance | path

Searched refs:dma_sz (Results 1 – 5 of 5) sorted by relevance

/drivers/net/ethernet/ti/
Dnetcp_core.c582 unsigned int buf_len, dma_sz = sizeof(*ndesc); in netcp_free_rx_desc_chain() local
589 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_free_rx_desc_chain()
619 unsigned int dma_sz; in netcp_empty_rx_queue() local
623 dma = knav_queue_pop(netcp->rx_queue, &dma_sz); in netcp_empty_rx_queue()
627 desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz); in netcp_empty_rx_queue()
642 unsigned int dma_sz, buf_len, org_buf_len; in netcp_process_one_rx_packet() local
652 dma_desc = knav_queue_pop(netcp->rx_queue, &dma_sz); in netcp_process_one_rx_packet()
656 desc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet()
693 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet()
791 unsigned int buf_len, dma_sz; in netcp_free_rx_buf() local
[all …]
/drivers/ata/
Dacard-ahci.c284 size_t dma_sz, rx_fis_sz; in acard_ahci_port_start() local
306 dma_sz = AHCI_PORT_PRIV_FBS_DMA_SZ; in acard_ahci_port_start()
309 dma_sz = AHCI_PORT_PRIV_DMA_SZ; in acard_ahci_port_start()
313 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
Dlibahci.c2349 size_t dma_sz, rx_fis_sz; in ahci_port_start() local
2381 dma_sz = AHCI_PORT_PRIV_FBS_DMA_SZ; in ahci_port_start()
2384 dma_sz = AHCI_PORT_PRIV_DMA_SZ; in ahci_port_start()
2388 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in ahci_port_start()
/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c550 u32 dma_sz; in brcmf_msgbuf_remove_flowring() local
555 dma_sz = BRCMF_H2D_TXFLOWRING_MAX_ITEM * BRCMF_H2D_TXFLOWRING_ITEMSIZE; in brcmf_msgbuf_remove_flowring()
557 dma_free_coherent(msgbuf->drvr->bus_if->dev, dma_sz, dma_buf, in brcmf_msgbuf_remove_flowring()
592 u32 dma_sz; in brcmf_msgbuf_flowring_create_worker() local
597 dma_sz = BRCMF_H2D_TXFLOWRING_MAX_ITEM * BRCMF_H2D_TXFLOWRING_ITEMSIZE; in brcmf_msgbuf_flowring_create_worker()
598 dma_buf = dma_alloc_coherent(msgbuf->drvr->bus_if->dev, dma_sz, in brcmf_msgbuf_flowring_create_worker()
/drivers/soc/ti/
Dknav_qmss_queue.c931 dma_addr_t *dma, unsigned *dma_sz) in knav_pool_desc_map() argument
937 *dma_sz = size; in knav_pool_desc_map()
956 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz) in knav_pool_desc_unmap() argument
962 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap()