Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x0/
H A 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()
H A Dinitvals_init.h19 { MT_MAC_SYS_CTRL, 0x00000000 },
H A Dphy.c876 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
879 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
/openbmc/linux/drivers/net/wireless/mediatek/mt76/mt76x2/
H A Dmac.h19 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_resume()
H A 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()
H A Dmac.c18 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x2_mac_stop()
H A Dinit.c114 { MT_MAC_SYS_CTRL, 0x00000000 }, in mt76_write_mac_initvals()
H A Dpci_init.c94 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_reset()
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/
H A 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()
H A 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()
H A Dinitvals.h110 { MT_MAC_SYS_CTRL, 0x00000000 },
H A 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()
H A Dregs.h240 #define MT_MAC_SYS_CTRL 0x1004 macro
/openbmc/linux/drivers/net/wireless/mediatek/mt76/
H A 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()
H A 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()
H A Dmt76x02_mac.c1062 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x02_check_mac_err()
1069 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt76x02_check_mac_err()
1073 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_check_mac_err()
1083 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable()
1093 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_edcca_tx_enable()
H A Dmt76x02_regs.h269 #define MT_MAC_SYS_CTRL 0x1004 macro