Lines Matching refs:mtk_tx_dma
1218 static struct mtk_tx_dma *qdma_to_pdma(struct mtk_tx_ring *ring, in qdma_to_pdma()
1219 struct mtk_tx_dma *dma) in qdma_to_pdma()
1221 return ring->dma_pdma - (struct mtk_tx_dma *)ring->dma + dma; in qdma_to_pdma()
1284 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf()
1311 struct mtk_tx_dma *desc = txd; in mtk_tx_set_dma_desc_v1()
1421 struct mtk_tx_dma *itxd, *txd; in mtk_tx_map()
1422 struct mtk_tx_dma *itxd_pdma, *txd_pdma; in mtk_tx_map()
1771 struct mtk_tx_dma *txd, struct mtk_tx_buf *tx_buf, in mtk_xdp_frame_map()
1776 struct mtk_tx_dma *txd_pdma; in mtk_xdp_frame_map()
1821 struct mtk_tx_dma *htxd, *txd; in mtk_xdp_submit_frame()
1876 struct mtk_tx_dma *txd_pdma = qdma_to_pdma(ring, txd); in mtk_xdp_submit_frame()
1913 struct mtk_tx_dma *txd_pdma = qdma_to_pdma(ring, htxd); in mtk_xdp_submit_frame()
2283 struct mtk_tx_dma *desc; in mtk_poll_tx_qdma()
2332 struct mtk_tx_dma *desc; in mtk_poll_tx_pdma()
5103 .desc_size = sizeof(struct mtk_tx_dma),
5131 .desc_size = sizeof(struct mtk_tx_dma),
5161 .desc_size = sizeof(struct mtk_tx_dma),
5190 .desc_size = sizeof(struct mtk_tx_dma),
5216 .desc_size = sizeof(struct mtk_tx_dma),
5330 .desc_size = sizeof(struct mtk_tx_dma),