Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
829 eth->scratch_ring = dma_alloc_coherent(eth->dev, in mtk_init_fq_dma()833 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()851 eth->scratch_ring[i].txd1 = in mtk_init_fq_dma()854 eth->scratch_ring[i].txd2 = (eth->phy_scratch_ring + in mtk_init_fq_dma()856 eth->scratch_ring[i].txd3 = TX_DMA_SDL(MTK_QDMA_PAGE_SIZE); in mtk_init_fq_dma()2145 if (eth->scratch_ring) { in mtk_dma_free()2148 eth->scratch_ring, in mtk_dma_free()2150 eth->scratch_ring = NULL; in mtk_dma_free()
905 struct mtk_tx_dma *scratch_ring; member