scratch_ring      783 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	eth->scratch_ring = dma_alloc_coherent(eth->dev,
scratch_ring      787 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (unlikely(!eth->scratch_ring))
scratch_ring      805 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		eth->scratch_ring[i].txd1 =
scratch_ring      808 drivers/net/ethernet/mediatek/mtk_eth_soc.c 			eth->scratch_ring[i].txd2 = (eth->phy_scratch_ring +
scratch_ring      810 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		eth->scratch_ring[i].txd3 = TX_DMA_SDL(MTK_QDMA_PAGE_SIZE);
scratch_ring     2087 drivers/net/ethernet/mediatek/mtk_eth_soc.c 	if (eth->scratch_ring) {
scratch_ring     2090 drivers/net/ethernet/mediatek/mtk_eth_soc.c 				  eth->scratch_ring,
scratch_ring     2092 drivers/net/ethernet/mediatek/mtk_eth_soc.c 		eth->scratch_ring = NULL;
scratch_ring      881 drivers/net/ethernet/mediatek/mtk_eth_soc.h 	struct mtk_tx_dma		*scratch_ring;