Searched refs:mtk_tx_dma (Results 1 - 4 of 4) sorted by relevance
/kernel/linux/linux-5.10/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.h | 509 struct mtk_tx_dma { struct 647 struct mtk_tx_dma *dma; 650 struct mtk_tx_dma *next_free; 651 struct mtk_tx_dma *last_free; 655 struct mtk_tx_dma *dma_pdma; /* For MT7628/88 PDMA handling */ 905 struct mtk_tx_dma *scratch_ring;
|
H A D | mtk_eth_soc.c | 830 cnt * sizeof(struct mtk_tx_dma), in mtk_init_fq_dma() 848 (sizeof(struct mtk_tx_dma) * (cnt - 1)); in mtk_init_fq_dma() 855 ((i + 1) * sizeof(struct mtk_tx_dma))); in mtk_init_fq_dma() 875 struct mtk_tx_dma *txd) in mtk_desc_to_tx_buf() 882 static struct mtk_tx_dma *qdma_to_pdma(struct mtk_tx_ring *ring, in qdma_to_pdma() 883 struct mtk_tx_dma *dma) in qdma_to_pdma() 888 static int txd_to_idx(struct mtk_tx_ring *ring, struct mtk_tx_dma *dma) in txd_to_idx() 931 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() 958 struct mtk_tx_dma *itxd, *txd; in mtk_tx_map() 959 struct mtk_tx_dma *itxd_pdm in mtk_tx_map() [all...] |
/kernel/linux/linux-6.6/drivers/net/ethernet/mediatek/ |
H A D | mtk_eth_soc.c | 1199 static struct mtk_tx_dma *qdma_to_pdma(struct mtk_tx_ring *ring, in qdma_to_pdma() 1200 struct mtk_tx_dma *dma) in qdma_to_pdma() 1202 return ring->dma_pdma - (struct mtk_tx_dma *)ring->dma + dma; in qdma_to_pdma() 1265 struct mtk_tx_dma *txd, dma_addr_t mapped_addr, in setup_tx_buf() 1292 struct mtk_tx_dma *desc = txd; in mtk_tx_set_dma_desc_v1() 1402 struct mtk_tx_dma *itxd, *txd; in mtk_tx_map() 1403 struct mtk_tx_dma *itxd_pdma, *txd_pdma; in mtk_tx_map() 1752 struct mtk_tx_dma *txd, struct mtk_tx_buf *tx_buf, in mtk_xdp_frame_map() 1757 struct mtk_tx_dma *txd_pdma; in mtk_xdp_frame_map() 1802 struct mtk_tx_dma *htx in mtk_xdp_submit_frame() [all...] |
H A D | mtk_eth_soc.h | 622 struct mtk_tx_dma { struct 902 struct mtk_tx_dma *next_free; 903 struct mtk_tx_dma *last_free; 908 struct mtk_tx_dma *dma_pdma; /* For MT7628/88 PDMA handling */
|
Completed in 14 milliseconds