Home
last modified time | relevance | path

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

/Linux-v5.10/include/linux/soc/ti/
Dknav_qmss.h85 dma_addr_t *dma, unsigned *dma_sz);
86 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz);
/Linux-v5.10/drivers/net/ethernet/ti/
Dnetcp_core.c583 unsigned int buf_len, dma_sz = sizeof(*ndesc); in netcp_free_rx_desc_chain() local
590 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_free_rx_desc_chain()
620 unsigned int dma_sz; in netcp_empty_rx_queue() local
624 dma = knav_queue_pop(netcp->rx_queue, &dma_sz); in netcp_empty_rx_queue()
628 desc = knav_pool_desc_unmap(netcp->rx_pool, dma, dma_sz); in netcp_empty_rx_queue()
643 unsigned int dma_sz, buf_len, org_buf_len; in netcp_process_one_rx_packet() local
653 dma_desc = knav_queue_pop(netcp->rx_queue, &dma_sz); in netcp_process_one_rx_packet()
657 desc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet()
694 ndesc = knav_pool_desc_unmap(netcp->rx_pool, dma_desc, dma_sz); in netcp_process_one_rx_packet()
792 unsigned int buf_len, dma_sz; in netcp_free_rx_buf() local
[all …]
/Linux-v5.10/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.c2327 size_t dma_sz, rx_fis_sz; in ahci_port_start() local
2359 dma_sz = AHCI_PORT_PRIV_FBS_DMA_SZ; in ahci_port_start()
2362 dma_sz = AHCI_PORT_PRIV_DMA_SZ; in ahci_port_start()
2366 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in ahci_port_start()
/Linux-v5.10/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dmsgbuf.c547 u32 dma_sz; in brcmf_msgbuf_remove_flowring() local
552 dma_sz = BRCMF_H2D_TXFLOWRING_MAX_ITEM * BRCMF_H2D_TXFLOWRING_ITEMSIZE; in brcmf_msgbuf_remove_flowring()
554 dma_free_coherent(msgbuf->drvr->bus_if->dev, dma_sz, dma_buf, in brcmf_msgbuf_remove_flowring()
589 u32 dma_sz; in brcmf_msgbuf_flowring_create_worker() local
594 dma_sz = BRCMF_H2D_TXFLOWRING_MAX_ITEM * BRCMF_H2D_TXFLOWRING_ITEMSIZE; in brcmf_msgbuf_flowring_create_worker()
595 dma_buf = dma_alloc_coherent(msgbuf->drvr->bus_if->dev, dma_sz, in brcmf_msgbuf_flowring_create_worker()
/Linux-v5.10/drivers/soc/ti/
Dknav_qmss_queue.c930 dma_addr_t *dma, unsigned *dma_sz) in knav_pool_desc_map() argument
936 *dma_sz = size; in knav_pool_desc_map()
955 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz) in knav_pool_desc_unmap() argument
961 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap()