Home
last modified time | relevance | path

Searched refs:mtk_tx_dma (Results 1 – 4 of 4) sorted by relevance

/Linux-v4.19/drivers/net/ethernet/mediatek/
Dmtk_eth_soc.h408 struct mtk_tx_dma { struct
524 struct mtk_tx_dma *dma;
527 struct mtk_tx_dma *next_free;
528 struct mtk_tx_dma *last_free;
646 struct mtk_tx_dma *scratch_ring;
Dmtk_eth_soc.c609 cnt * sizeof(struct mtk_tx_dma), in mtk_init_fq_dma()
627 (sizeof(struct mtk_tx_dma) * (cnt - 1)); in mtk_init_fq_dma()
634 ((i + 1) * sizeof(struct mtk_tx_dma))); in mtk_init_fq_dma()
654 struct mtk_tx_dma *txd) in mtk_desc_to_tx_buf()
686 struct mtk_tx_dma *itxd, *txd; in mtk_tx_map()
1076 struct mtk_tx_dma *desc; in mtk_poll_tx()
1717 MTK_DMA_SIZE * sizeof(struct mtk_tx_dma), in mtk_dma_free()
/Linux-v4.19/drivers/staging/mt7621-eth/
Dmtk_eth_soc.h387 struct mtk_tx_dma { struct
578 struct mtk_tx_dma *tx_dma;
581 struct mtk_tx_dma *tx_next_free;
582 struct mtk_tx_dma *tx_last_free;
665 struct mtk_tx_dma *scratch_ring;
Dmtk_eth_soc.c271 static inline void mtk_set_txd_pdma(struct mtk_tx_dma *txd, in mtk_set_txd_pdma()
272 struct mtk_tx_dma *dma_txd) in mtk_set_txd_pdma()
618 struct mtk_tx_dma txd, *ptxd; in mtk_pdma_tx_map()
776 cnt * sizeof(struct mtk_tx_dma), in mtk_init_fq_dma()
790 memset(eth->scratch_ring, 0x0, sizeof(struct mtk_tx_dma) * cnt); in mtk_init_fq_dma()
791 phy_ring_tail = phy_ring_head + (sizeof(struct mtk_tx_dma) * (cnt - 1)); in mtk_init_fq_dma()
797 ((i + 1) * sizeof(struct mtk_tx_dma))); in mtk_init_fq_dma()
816 static struct mtk_tx_dma *mtk_tx_next_qdma(struct mtk_tx_ring *ring, in mtk_tx_next_qdma()
817 struct mtk_tx_dma *txd) in mtk_tx_next_qdma()
823 struct mtk_tx_dma *txd) in mtk_desc_to_tx_buf()
[all …]