Searched refs:dma_pdma (Results 1 – 2 of 2) sorted by relevance
1221 return ring->dma_pdma - (struct mtk_tx_dma *)ring->dma + dma; in qdma_to_pdma()2516 ring->dma_pdma = dma_alloc_coherent(eth->dma_dev, ring_size * sz, in mtk_tx_alloc()2518 if (!ring->dma_pdma) in mtk_tx_alloc()2522 ring->dma_pdma[i].txd2 = TX_DMA_DESP2_DEF; in mtk_tx_alloc()2523 ring->dma_pdma[i].txd4 = 0; in mtk_tx_alloc()2597 if (ring->dma_pdma) { in mtk_tx_clean()2600 ring->dma_pdma, ring->phys_pdma); in mtk_tx_clean()2601 ring->dma_pdma = NULL; in mtk_tx_clean()
896 struct mtk_tx_dma *dma_pdma; /* For MT7628/88 PDMA handling */ member