Lines Matching refs:rx_buf_pa
104 if (ring->rx_buf_pa.pages) { in xlgmac_free_ring()
105 dma_unmap_page(pdata->dev, ring->rx_buf_pa.pages_dma, in xlgmac_free_ring()
106 ring->rx_buf_pa.pages_len, DMA_FROM_DEVICE); in xlgmac_free_ring()
107 put_page(ring->rx_buf_pa.pages); in xlgmac_free_ring()
109 ring->rx_buf_pa.pages = NULL; in xlgmac_free_ring()
110 ring->rx_buf_pa.pages_len = 0; in xlgmac_free_ring()
111 ring->rx_buf_pa.pages_offset = 0; in xlgmac_free_ring()
112 ring->rx_buf_pa.pages_dma = 0; in xlgmac_free_ring()
402 if (!ring->rx_buf_pa.pages) { in xlgmac_map_rx_buffer()
404 ret = xlgmac_alloc_pages(pdata, &ring->rx_buf_pa, in xlgmac_map_rx_buffer()
415 xlgmac_set_buffer_data(&desc_data->rx.buf, &ring->rx_buf_pa, in xlgmac_map_rx_buffer()