Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
824 eth->scratch_ring = dma_alloc_coherent(eth->dev, in mtk_init_fq_dma()828 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()846 eth->scratch_ring[i].txd1 = in mtk_init_fq_dma()849 eth->scratch_ring[i].txd2 = (eth->phy_scratch_ring + in mtk_init_fq_dma()851 eth->scratch_ring[i].txd3 = TX_DMA_SDL(MTK_QDMA_PAGE_SIZE); in mtk_init_fq_dma()2136 if (eth->scratch_ring) { in mtk_dma_free()2139 eth->scratch_ring, in mtk_dma_free()2141 eth->scratch_ring = NULL; in mtk_dma_free()
940 struct mtk_tx_dma *scratch_ring; member