Home
last modified time | relevance | path

Searched refs:pages_dma (Results 1 – 4 of 4) sorted by relevance

/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c142 dma_unmap_page(pdata->dev, ring->rx_hdr_pa.pages_dma, in xgbe_free_ring()
149 ring->rx_hdr_pa.pages_dma = 0; in xgbe_free_ring()
153 dma_unmap_page(pdata->dev, ring->rx_buf_pa.pages_dma, in xgbe_free_ring()
160 ring->rx_buf_pa.pages_dma = 0; in xgbe_free_ring()
290 dma_addr_t pages_dma; in xgbe_alloc_pages() local
317 pages_dma = dma_map_page(pdata->dev, pages, 0, in xgbe_alloc_pages()
319 if (dma_mapping_error(pdata->dev, pages_dma)) { in xgbe_alloc_pages()
327 pa->pages_dma = pages_dma; in xgbe_alloc_pages()
339 bd->dma_base = pa->pages_dma; in xgbe_set_buffer_data()
352 pa->pages_dma = 0; in xgbe_set_buffer_data()
[all …]
Dxgbe.h390 dma_addr_t pages_dma; member
/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c45 dma_unmap_page(pdata->dev, desc_data->rx.hdr.pa_unmap.pages_dma, in xlgmac_unmap_desc_data()
55 dma_unmap_page(pdata->dev, desc_data->rx.buf.pa_unmap.pages_dma, in xlgmac_unmap_desc_data()
94 dma_unmap_page(pdata->dev, ring->rx_hdr_pa.pages_dma, in xlgmac_free_ring()
101 ring->rx_hdr_pa.pages_dma = 0; in xlgmac_free_ring()
105 dma_unmap_page(pdata->dev, ring->rx_buf_pa.pages_dma, in xlgmac_free_ring()
112 ring->rx_buf_pa.pages_dma = 0; in xlgmac_free_ring()
335 dma_addr_t pages_dma; in xlgmac_alloc_pages() local
350 pages_dma = dma_map_page(pdata->dev, pages, 0, in xlgmac_alloc_pages()
352 if (dma_mapping_error(pdata->dev, pages_dma)) { in xlgmac_alloc_pages()
360 pa->pages_dma = pages_dma; in xlgmac_alloc_pages()
[all …]
Ddwc-xlgmac.h226 dma_addr_t pages_dma; member