Lines Matching refs:rx_hdr_pa
93 if (ring->rx_hdr_pa.pages) { in xlgmac_free_ring()
94 dma_unmap_page(pdata->dev, ring->rx_hdr_pa.pages_dma, in xlgmac_free_ring()
95 ring->rx_hdr_pa.pages_len, DMA_FROM_DEVICE); in xlgmac_free_ring()
96 put_page(ring->rx_hdr_pa.pages); in xlgmac_free_ring()
98 ring->rx_hdr_pa.pages = NULL; in xlgmac_free_ring()
99 ring->rx_hdr_pa.pages_len = 0; in xlgmac_free_ring()
100 ring->rx_hdr_pa.pages_offset = 0; in xlgmac_free_ring()
101 ring->rx_hdr_pa.pages_dma = 0; in xlgmac_free_ring()
395 if (!ring->rx_hdr_pa.pages) { in xlgmac_map_rx_buffer()
396 ret = xlgmac_alloc_pages(pdata, &ring->rx_hdr_pa, in xlgmac_map_rx_buffer()
411 xlgmac_set_buffer_data(&desc_data->rx.hdr, &ring->rx_hdr_pa, in xlgmac_map_rx_buffer()