Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
945 eth->scratch_ring = dma_alloc_coherent(eth->dma_dev, in mtk_init_fq_dma()949 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()967 txd = eth->scratch_ring + i * soc->txrx.txd_size; in mtk_init_fq_dma()2824 if (eth->scratch_ring) { in mtk_dma_free()2827 eth->scratch_ring, eth->phy_scratch_ring); in mtk_dma_free()2828 eth->scratch_ring = NULL; in mtk_dma_free()
1092 void *scratch_ring; member