Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.c1221 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()
Dmtk_eth_soc.h896 struct mtk_tx_dma *dma_pdma; /* For MT7628/88 PDMA handling */ member