Home
last modified time | relevance | path

Searched refs:MT_MAC_SYS_CTRL (Results 1 – 17 of 17) sorted by relevance

/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x0/
Dinit.c74 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_reset_csr_bbp()
78 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x0_reset_csr_bbp()
118 mt76_clear(dev, MT_MAC_SYS_CTRL, 0x3); in mt76x0_init_mac_registers()
151 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt76x0_mac_stop()
Dinitvals_init.h19 { MT_MAC_SYS_CTRL, 0x00000000 },
Dphy.c874 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
877 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/
Dinit.c92 mt7601u_wr(dev, MT_MAC_SYS_CTRL, (MT_MAC_SYS_CTRL_RESET_CSR | in mt7601u_reset_csr_bbp()
96 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_reset_csr_bbp()
232 mt7601u_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt7601u_mac_start()
247 mt7601u_wr(dev, MT_MAC_SYS_CTRL, in mt7601u_mac_start()
281 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt7601u_mac_stop_hw()
Dphy.c559 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_rxdc_cal()
560 mt7601u_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX); in mt7601u_rxdc_cal()
577 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_rxdc_cal()
584 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_rxdc_cal()
650 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_tssi_dc_gain_cal()
1132 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal()
1173 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal()
1193 old = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_bbp_set_bw()
1195 mt7601u_wr(dev, MT_MAC_SYS_CTRL, val); in mt7601u_bbp_set_bw()
1201 mt7601u_wr(dev, MT_MAC_SYS_CTRL, old); in mt7601u_bbp_set_bw()
Dinitvals.h110 { MT_MAC_SYS_CTRL, 0x00000000 },
Dmac.c296 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt7601u_check_mac_err()
298 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt7601u_check_mac_err()
Dregs.h240 #define MT_MAC_SYS_CTRL 0x1004 macro
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/mt76x2/
Dusb_mac.c80 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_reset()
128 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_stop()
Dmac.h19 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_resume()
Dmac.c18 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x2_mac_stop()
Dinit.c114 { MT_MAC_SYS_CTRL, 0x00000000 }, in mt76_write_mac_initvals()
Dpci_init.c94 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_reset()
/linux-6.1.9/drivers/net/wireless/mediatek/mt76/
Dmt76x02_usb_core.c29 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02u_mac_start()
35 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02u_mac_start()
Dmt76x02_mmio.c305 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_dma_enable()
334 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_mac_start()
458 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x02_watchdog_reset()
Dmt76x02_mac.c1058 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x02_check_mac_err()
1065 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt76x02_check_mac_err()
1069 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_check_mac_err()
1079 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable()
1089 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable()
Dmt76x02_regs.h269 #define MT_MAC_SYS_CTRL 0x1004 macro