Home
last modified time | relevance | path

Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1148 eth->scratch_ring = eth->sram_base; in mtk_init_fq_dma()
1150 eth->scratch_ring = dma_alloc_coherent(eth->dma_dev, in mtk_init_fq_dma()
1155 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()
1177 txd = eth->scratch_ring + (j * MTK_FQ_DMA_LENGTH + i) * soc->tx.desc_size; in mtk_init_fq_dma()
3143 if (!MTK_HAS_CAPS(soc->caps, MTK_SRAM) && eth->scratch_ring) { in mtk_dma_free()
3146 eth->scratch_ring, eth->phy_scratch_ring); in mtk_dma_free()
3147 eth->scratch_ring = NULL; in mtk_dma_free()
Dmtk_eth_soc.h1257 void *scratch_ring; member