Home
last modified time | relevance | path

Searched refs:wpdma (Results 1 – 3 of 3) sorted by relevance

/linux/drivers/net/ethernet/mediatek/
H A Dmtk_wed.h116 if (!dev->tx_ring[ring].wpdma) in wpdma_tx_r32()
119 return readl(dev->tx_ring[ring].wpdma + reg); in wpdma_tx_r32()
125 if (!dev->tx_ring[ring].wpdma) in wpdma_tx_w32()
128 writel(val, dev->tx_ring[ring].wpdma + reg); in wpdma_tx_w32()
134 if (!dev->rx_ring[ring].wpdma) in wpdma_rx_r32()
137 return readl(dev->rx_ring[ring].wpdma + reg); in wpdma_rx_r32()
143 if (!dev->rx_ring[ring].wpdma) in wpdma_rx_w32()
146 writel(val, dev->rx_ring[ring].wpdma + reg); in wpdma_rx_w32()
152 if (!dev->txfree_ring.wpdma) in wpdma_txfree_r32()
155 return readl(dev->txfree_ring.wpdma + reg); in wpdma_txfree_r32()
[all …]
H A Dmtk_wed.c1014 u32 cur_idx = readl(ring->wpdma + MTK_WED_RING_OFS_CPU_IDX); in mtk_wed_check_wfdma_rx_fill()
2241 ring->wpdma = regs; in mtk_wed_rro_rx_ring_setup()
2254 ring->wpdma = regs; in mtk_wed_msdu_pg_rx_ring_setup()
2269 ring->wpdma = regs; in mtk_wed_ind_rx_ring_setup()
2488 ring->wpdma = regs; in mtk_wed_tx_ring_setup()
2533 ring->wpdma = regs; in mtk_wed_txfree_ring_setup()
2563 ring->wpdma = regs; in mtk_wed_rx_ring_setup()
/linux/include/linux/soc/mediatek/
H A Dmtk_wed.h68 void __iomem *wpdma; member