Searched refs:scratch_ring (Results 1 – 2 of 2) sorted by relevance
1308 eth->scratch_ring = mtk_dma_ring_alloc(eth, cnt * soc->tx.desc_size, in mtk_init_fq_dma()1311 if (unlikely(!eth->scratch_ring)) in mtk_init_fq_dma()1333 txd = eth->scratch_ring + (j * MTK_FQ_DMA_LENGTH + i) * soc->tx.desc_size; in mtk_init_fq_dma()3299 if (eth->scratch_ring) { in mtk_dma_free()3301 eth->scratch_ring, eth->phy_scratch_ring, in mtk_dma_free()3303 eth->scratch_ring = NULL; in mtk_dma_free()
1317 void *scratch_ring; member