Home
last modified time | relevance | path

Searched refs:skbs_dma (Results 1 – 3 of 3) sorted by relevance

/linux-5.19.10/drivers/net/ethernet/actions/
Dowl-emac.c207 ring->skbs_dma[i] = dma_addr; in owl_emac_ring_prepare_rx()
235 memset(ring->skbs_dma, 0, sizeof(dma_addr_t) * ring->size); in owl_emac_ring_prepare_tx()
249 if (!ring->skbs_dma[i]) in owl_emac_ring_unprepare_rx()
252 owl_emac_dma_unmap_rx(priv, ring->skbs[i], ring->skbs_dma[i]); in owl_emac_ring_unprepare_rx()
253 ring->skbs_dma[i] = 0; in owl_emac_ring_unprepare_rx()
268 if (!ring->skbs_dma[i]) in owl_emac_ring_unprepare_tx()
271 owl_emac_dma_unmap_tx(priv, ring->skbs[i], ring->skbs_dma[i]); in owl_emac_ring_unprepare_tx()
272 ring->skbs_dma[i] = 0; in owl_emac_ring_unprepare_tx()
293 ring->skbs_dma = devm_kcalloc(dev, size, sizeof(dma_addr_t), in owl_emac_ring_alloc()
295 if (!ring->skbs_dma) in owl_emac_ring_alloc()
[all …]
Dowl-emac.h248 dma_addr_t *skbs_dma; member
/linux-5.19.10/drivers/net/ethernet/socionext/
Dsni_ave.c227 dma_addr_t skbs_dma; member
559 desc->skbs_dma = map_addr; in ave_dma_map()
569 if (!desc->skbs_dma) in ave_dma_unmap()
573 desc->skbs_dma, desc->skbs_dmalen, dir); in ave_dma_unmap()
574 desc->skbs_dma = 0; in ave_dma_unmap()