Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
1138 eth->scratch_ring = eth->sram_base; in mtk_init_fq_dma()1140 eth->scratch_ring = dma_alloc_coherent(eth->dma_dev, in mtk_init_fq_dma()1144 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()1162 txd = eth->scratch_ring + i * soc->txrx.txd_size; in mtk_init_fq_dma()3121 if (!MTK_HAS_CAPS(soc->caps, MTK_SRAM) && eth->scratch_ring) { in mtk_dma_free()3124 eth->scratch_ring, eth->phy_scratch_ring); in mtk_dma_free()3125 eth->scratch_ring = NULL; in mtk_dma_free()
1262 void *scratch_ring; member