Home
last modified time | relevance | path

Searched refs:dma_pdma (Results 1 – 2 of 2) sorted by relevance

/Linux-v6.6/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1203 return ring->dma_pdma - (struct mtk_tx_dma *)ring->dma + dma; in qdma_to_pdma()
2496 ring->dma_pdma = dma_alloc_coherent(eth->dma_dev, ring_size * sz, in mtk_tx_alloc()
2498 if (!ring->dma_pdma) in mtk_tx_alloc()
2502 ring->dma_pdma[i].txd2 = TX_DMA_DESP2_DEF; in mtk_tx_alloc()
2503 ring->dma_pdma[i].txd4 = 0; in mtk_tx_alloc()
2577 if (ring->dma_pdma) { in mtk_tx_clean()
2580 ring->dma_pdma, ring->phys_pdma); in mtk_tx_clean()
2581 ring->dma_pdma = NULL; in mtk_tx_clean()
Dmtk_eth_soc.h908 struct mtk_tx_dma *dma_pdma; /* For MT7628/88 PDMA handling */ member