Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
796 eth->scratch_ring = dma_alloc_coherent(eth->dev, in mtk_init_fq_dma()800 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()818 eth->scratch_ring[i].txd1 = in mtk_init_fq_dma()821 eth->scratch_ring[i].txd2 = (eth->phy_scratch_ring + in mtk_init_fq_dma()823 eth->scratch_ring[i].txd3 = TX_DMA_SDL(MTK_QDMA_PAGE_SIZE); in mtk_init_fq_dma()2100 if (eth->scratch_ring) { in mtk_dma_free()2103 eth->scratch_ring, in mtk_dma_free()2105 eth->scratch_ring = NULL; in mtk_dma_free()
883 struct mtk_tx_dma *scratch_ring; member