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