/linux/drivers/net/wireless/mediatek/mt76/mt76x0/ |
H A D | init.c | 74 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 D | initvals_init.h | 19 { MT_MAC_SYS_CTRL, 0x00000000 },
|
H A D | phy.c | 876 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate() 879 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
|
/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 559 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 D | init.c | 92 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 D | initvals.h | 110 { MT_MAC_SYS_CTRL, 0x00000000 },
|
H A D | mac.c | 296 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 D | regs.h | 240 #define MT_MAC_SYS_CTRL 0x1004 macro
|
/linux/drivers/net/wireless/mediatek/mt76/mt76x2/ |
H A D | usb_mac.c | 80 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 D | mac.h | 19 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_resume()
|
H A D | mac.c | 18 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x2_mac_stop()
|
H A D | init.c | 114 { MT_MAC_SYS_CTRL, 0x00000000 }, in mt76_write_mac_initvals()
|
H A D | pci_init.c | 94 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_reset()
|
/linux/drivers/net/wireless/mediatek/mt76/ |
H A D | mt76x02_usb_core.c | 29 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 D | mt76x02_mmio.c | 313 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x02_dma_enable() 342 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x02_mac_start() 466 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x02_watchdog_reset()
|
H A D | mt76x02_mac.c | 1062 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 D | mt76x02_regs.h | 269 #define MT_MAC_SYS_CTRL 0x1004 macro
|