Lines Matching refs:rx_buf_pa
152 if (ring->rx_buf_pa.pages) { in xgbe_free_ring()
153 dma_unmap_page(pdata->dev, ring->rx_buf_pa.pages_dma, in xgbe_free_ring()
154 ring->rx_buf_pa.pages_len, DMA_FROM_DEVICE); in xgbe_free_ring()
155 put_page(ring->rx_buf_pa.pages); in xgbe_free_ring()
157 ring->rx_buf_pa.pages = NULL; in xgbe_free_ring()
158 ring->rx_buf_pa.pages_len = 0; in xgbe_free_ring()
159 ring->rx_buf_pa.pages_offset = 0; in xgbe_free_ring()
160 ring->rx_buf_pa.pages_dma = 0; in xgbe_free_ring()
368 if (!ring->rx_buf_pa.pages) { in xgbe_map_rx_buffer()
369 ret = xgbe_alloc_pages(pdata, &ring->rx_buf_pa, in xgbe_map_rx_buffer()
380 xgbe_set_buffer_data(&rdata->rx.buf, &ring->rx_buf_pa, in xgbe_map_rx_buffer()