Home
last modified time | relevance | path

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

/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt7615/
Ddma.c210 mt76_wr(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
215 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
218 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
221 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
224 mt76_rmw_field(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
228 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
271 mt76_poll(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
276 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_init()
295 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_cleanup()
298 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_SW_RESET); in mt7615_dma_cleanup()
Dregs.h107 #define MT_WPDMA_GLO_CFG MT_HIF(0x208) macro
Dmcu.c2251 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_BYPASS_TX_SCH); in mt7622_load_firmware()
2274 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_BYPASS_TX_SCH); in mt7622_load_firmware()
2454 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_BYPASS_TX_SCH); in mt7663_load_firmware()
2460 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_BYPASS_TX_SCH); in mt7663_load_firmware()
Dmac.c2081 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_reset()
2093 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7615_dma_reset()
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/mt76x0/
Dpci.c34 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_BUSY, in mt76x0e_stop_hw()
37 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_TX_DMA_EN); in mt76x0e_stop_hw()
41 if (!mt76_poll(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_BUSY, in mt76x0e_stop_hw()
44 mt76_clear(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_RX_DMA_EN); in mt76x0e_stop_hw()
Dinitvals_init.h35 { MT_WPDMA_GLO_CFG, 0x00000030 },
/Linux-v5.10/drivers/net/wireless/mediatek/mt76/
Dmt76x02_mmio.c322 mt76_set(dev, MT_WPDMA_GLO_CFG, val); in mt76x02_dma_enable()
323 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt76x02_dma_enable()
329 u32 val = mt76_rr(dev, MT_WPDMA_GLO_CFG); in mt76x02_dma_disable()
335 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.10/drivers/net/wireless/mediatek/mt76/mt7603/
Ddma.c184 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_init()
244 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_dma_cleanup()
Dmac.c1291 return mt76_poll(dev, MT_WPDMA_GLO_CFG, in wait_for_wpdma()
1327 mt76_set(dev, MT_WPDMA_GLO_CFG, in mt7603_mac_dma_start()
1372 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_SW_RESET); in mt7603_pse_client_reset()
1426 mt76_clear(dev, MT_WPDMA_GLO_CFG, in mt7603_mac_watchdog_reset()
1433 mt76_set(dev, MT_WPDMA_GLO_CFG, MT_WPDMA_GLO_CFG_FORCE_TX_EOF); in mt7603_mac_watchdog_reset()
1493 if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_RX_DMA_BUSY)) in mt7603_rx_dma_busy()
1503 if (!(mt76_rr(dev, MT_WPDMA_GLO_CFG) & MT_WPDMA_GLO_CFG_TX_DMA_BUSY)) in mt7603_tx_dma_busy()
Dinit.c284 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.10/drivers/net/wireless/mediatek/mt76/mt76x2/
Dpci_init.c79 val = mt76_rr(dev, MT_WPDMA_GLO_CFG); in mt76x2_mac_reset()
88 mt76_wr(dev, MT_WPDMA_GLO_CFG, val); in mt76x2_mac_reset()
Dusb_mac.c64 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.10/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