Searched refs:dma_sz (Results 1 – 7 of 7) sorted by relevance
/openbmc/linux/include/linux/soc/ti/ |
H A D | knav_qmss.h | 77 dma_addr_t *dma, unsigned *dma_sz); 78 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz);
|
/openbmc/linux/drivers/net/ethernet/ti/ |
H A D | netcp_core.c | 582 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 …]
|
/openbmc/linux/drivers/ata/ |
H A D | acard-ahci.c | 280 size_t dma_sz, rx_fis_sz; in acard_ahci_port_start() local 302 dma_sz = AHCI_PORT_PRIV_FBS_DMA_SZ; in acard_ahci_port_start() 305 dma_sz = AHCI_PORT_PRIV_DMA_SZ; in acard_ahci_port_start() 309 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in acard_ahci_port_start()
|
H A D | libahci.c | 2498 size_t dma_sz, rx_fis_sz; in ahci_port_start() local 2530 dma_sz = AHCI_PORT_PRIV_FBS_DMA_SZ; in ahci_port_start() 2533 dma_sz = AHCI_PORT_PRIV_DMA_SZ; in ahci_port_start() 2537 mem = dmam_alloc_coherent(dev, dma_sz, &mem_dma, GFP_KERNEL); in ahci_port_start()
|
/openbmc/linux/drivers/net/ethernet/fungible/funcore/ |
H A D | fun_queue.c | 25 size_t dma_sz; in fun_alloc_ring_mem() local 32 dma_sz = hw_desc_sz * depth; in fun_alloc_ring_mem() 34 dma_sz += sizeof(u64); in fun_alloc_ring_mem() 37 va = dma_alloc_coherent(dma_dev, dma_sz, dma_addr, GFP_KERNEL); in fun_alloc_ring_mem() 46 dma_free_coherent(dma_dev, dma_sz, va, *dma_addr); in fun_alloc_ring_mem() 52 *wb_va = va + dma_sz - sizeof(u64); in fun_alloc_ring_mem()
|
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | msgbuf.c | 550 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()
|
/openbmc/linux/drivers/soc/ti/ |
H A D | knav_qmss_queue.c | 929 dma_addr_t *dma, unsigned *dma_sz) in knav_pool_desc_map() argument 935 *dma_sz = size; in knav_pool_desc_map() 954 void *knav_pool_desc_unmap(void *ph, dma_addr_t dma, unsigned dma_sz) in knav_pool_desc_unmap() argument 960 desc_sz = min(dma_sz, pool->region->desc_size); in knav_pool_desc_unmap()
|