Searched refs:rx_hdr_pa (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/net/ethernet/amd/xgbe/ |
D | xgbe-desc.c | 141 if (ring->rx_hdr_pa.pages) { in xgbe_free_ring() 142 dma_unmap_page(pdata->dev, ring->rx_hdr_pa.pages_dma, in xgbe_free_ring() 143 ring->rx_hdr_pa.pages_len, DMA_FROM_DEVICE); in xgbe_free_ring() 144 put_page(ring->rx_hdr_pa.pages); in xgbe_free_ring() 146 ring->rx_hdr_pa.pages = NULL; in xgbe_free_ring() 147 ring->rx_hdr_pa.pages_len = 0; in xgbe_free_ring() 148 ring->rx_hdr_pa.pages_offset = 0; in xgbe_free_ring() 149 ring->rx_hdr_pa.pages_dma = 0; in xgbe_free_ring() 362 if (!ring->rx_hdr_pa.pages) { in xgbe_map_rx_buffer() 363 ret = xgbe_alloc_pages(pdata, &ring->rx_hdr_pa, 0, ring->node); in xgbe_map_rx_buffer() [all …]
|
D | xgbe.h | 468 struct xgbe_page_alloc rx_hdr_pa; member
|
/linux-6.12.1/drivers/net/ethernet/synopsys/ |
D | dwc-xlgmac-desc.c | 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() [all …]
|
D | dwc-xlgmac.h | 331 struct xlgmac_page_alloc rx_hdr_pa; member
|