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