Searched refs:rx_buf_pa (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 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() [all …]
|
D | xgbe.h | 469 struct xgbe_page_alloc rx_buf_pa; member
|
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-desc.c | 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() [all …]
|
D | dwc-xlgmac.h | 332 struct xlgmac_page_alloc rx_buf_pa; member
|