Lines Matching refs:pages_dma
142 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()
494 dma_unmap_page(pdata->dev, rdata->rx.hdr.pa_unmap.pages_dma, in xgbe_unmap_rdata()
504 dma_unmap_page(pdata->dev, rdata->rx.buf.pa_unmap.pages_dma, in xgbe_unmap_rdata()