Lines Matching refs:rx_hdr_pa
141 if (ring->rx_hdr_pa.pages) { in xgbe_free_ring()
142 dma_unmap_page(pdata->dev, ring->rx_hdr_pa.pages_dma, in xgbe_free_ring()
143 ring->rx_hdr_pa.pages_len, DMA_FROM_DEVICE); in xgbe_free_ring()
144 put_page(ring->rx_hdr_pa.pages); in xgbe_free_ring()
146 ring->rx_hdr_pa.pages = NULL; in xgbe_free_ring()
147 ring->rx_hdr_pa.pages_len = 0; in xgbe_free_ring()
148 ring->rx_hdr_pa.pages_offset = 0; in xgbe_free_ring()
149 ring->rx_hdr_pa.pages_dma = 0; in xgbe_free_ring()
362 if (!ring->rx_hdr_pa.pages) { in xgbe_map_rx_buffer()
363 ret = xgbe_alloc_pages(pdata, &ring->rx_hdr_pa, 0, ring->node); in xgbe_map_rx_buffer()
376 xgbe_set_buffer_data(&rdata->rx.hdr, &ring->rx_hdr_pa, in xgbe_map_rx_buffer()