Home
last modified time | relevance | path

Searched refs:MT_WPDMA_GLO_CFG (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7615/
Ddma.c124 mt76_wr(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
130 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
133 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
136 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
139 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
190 mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
195 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
207 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_cleanup()
210 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_SW_RESET); in mt7615_dma_cleanup()
Dregs.h41 #define MT_WPDMA_GLO_CFG MT_HIF(0x208) macro
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci.c33 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY, in mt76x0e_stop_hw()
36 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt76x0e_stop_hw()
40 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_BUSY, in mt76x0e_stop_hw()
43 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_EN); in mt76x0e_stop_hw()
Dinitvals.h35 { MT_WPDMA_GLO_CFG, 0x00000030 },
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mmio.c320 mt76_set(dev, MT_WPDMA_GLO_CFG, val); in mt76x02_dma_enable()
321 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_dma_enable()
334 u32 val = mt76_rr(dev, MT_WPDMA_GLO_CFG); in mt76x02_dma_disable()
340 mt76_wr(dev, MT_WPDMA_GLO_CFG, val); in mt76x02_dma_disable()
467 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_watchdog_reset()
Dmt76x02_dma.h56 return __mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt76x02_wait_for_wpdma()
Dmt76x02_regs.h125 #define MT_WPDMA_GLO_CFG 0x0208 macro
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt7603/
Ddma.c173 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_init()
234 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_cleanup()
Dmac.c1171 return mt76_poll(dev, MT_WPDMA_GLO_CFG, in wait_for_wpdma()
1207 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7603_mac_dma_start()
1252 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_SW_RESET); in mt7603_pse_client_reset()
1306 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_mac_watchdog_reset()
1313 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_FORCE_TX_EOF); in mt7603_mac_watchdog_reset()
1372 if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_RX_DMA_BUSY)) in mt7603_rx_dma_busy()
1382 if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_TX_DMA_BUSY)) in mt7603_tx_dma_busy()
Dinit.c282 mt76_wr(dev, MT_WPDMA_GLO_CFG, 0x52000850); in mt7603_init_hardware()
Dregs.h39 #define MT_WPDMA_GLO_CFG MT_HIF(0x208) macro
/Linux-v5.4/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_init.c78 val = mt76_rr(dev, MT_WPDMA_GLO_CFG); in mt76x2_mac_reset()
87 mt76_wr(dev, MT_WPDMA_GLO_CFG, val); in mt76x2_mac_reset()
Dusb_mac.c74 mt76_wr(dev, MT_WPDMA_GLO_CFG, BIT(4) | BIT(5)); in mt76x2u_mac_reset()
Dusb_init.c140 if (!mt76_poll_msec(dev, MT_WPDMA_GLO_CFG, in mt76x2u_init_hardware()
/Linux-v5.4/drivers/net/wireless/mediatek/mt7601u/
Dinit.c234 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY | in mt7601u_mac_start()
250 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY | in mt7601u_mac_start()
339 if (!mt76_poll_msec(dev, MT_WPDMA_GLO_CFG, in mt7601u_init_hardware()
Dregs.h103 #define MT_WPDMA_GLO_CFG 0x0208 macro