Home
last modified time | relevance | path

Searched refs:rx_buf_pa (Results 1 – 4 of 4) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/amd/xgbe/
Dxgbe-desc.c152 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()
[all …]
Dxgbe.h469 struct xgbe_page_alloc rx_buf_pa; member
/linux-6.12.1/drivers/net/ethernet/synopsys/
Ddwc-xlgmac-desc.c104 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()
[all …]
Ddwc-xlgmac.h332 struct xlgmac_page_alloc rx_buf_pa; member