/Linux-v4.19/drivers/net/wireless/mediatek/mt76/ |
D | mt76x2u_mac.c | 102 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_reset() 121 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x2u_mac_start() 127 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_start() 167 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_stop() 217 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2u_mac_resume()
|
D | mt76x2_init.c | 122 mt76_clear(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_reset() 207 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x2_mac_start() 219 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_start() 231 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x2_mac_resume()
|
D | mt76x2_init_common.c | 136 { MT_MAC_SYS_CTRL, 0x0000000c }, in mt76_write_mac_initvals()
|
D | mt76x2_regs.h | 232 #define MT_MAC_SYS_CTRL 0x1004 macro
|
D | mt76x2_mac_common.c | 26 mt76_wr(dev, MT_MAC_SYS_CTRL, 0); in mt76x2_mac_stop()
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | init.c | 104 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR | in mt76x0_reset_csr_bbp() 191 reg = mt76_rr(dev, MT_MAC_SYS_CTRL); in mt76x0_init_mac_registers() 193 mt76_wr(dev, MT_MAC_SYS_CTRL, reg); in mt76x0_init_mac_registers() 287 mt76_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt76x0_mac_start() 302 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_mac_start() 336 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt76x0_mac_stop_hw()
|
D | initvals.h | 29 {MT_MAC_SYS_CTRL, 0x00}, /* 0x1004, , default Disable RX*/
|
D | mac.c | 345 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt76x0_check_mac_err() 347 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt76x0_check_mac_err()
|
D | regs.h | 270 #define MT_MAC_SYS_CTRL 0x1004 macro
|
/Linux-v4.19/drivers/net/wireless/mediatek/mt7601u/ |
D | init.c | 100 mt7601u_wr(dev, MT_MAC_SYS_CTRL, (MT_MAC_SYS_CTRL_RESET_CSR | in mt7601u_reset_csr_bbp() 104 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_reset_csr_bbp() 240 mt7601u_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_TX); in mt7601u_mac_start() 255 mt7601u_wr(dev, MT_MAC_SYS_CTRL, in mt7601u_mac_start() 289 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX | in mt7601u_mac_stop_hw()
|
D | phy.c | 567 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_rxdc_cal() 568 mt7601u_wr(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_ENABLE_RX); in mt7601u_rxdc_cal() 585 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_rxdc_cal() 592 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_rxdc_cal() 655 mt7601u_wr(dev, MT_MAC_SYS_CTRL, 0); in mt7601u_tssi_dc_gain_cal() 1134 mac_ctrl = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_init_cal() 1175 mt7601u_wr(dev, MT_MAC_SYS_CTRL, mac_ctrl); in mt7601u_init_cal() 1195 old = mt7601u_rr(dev, MT_MAC_SYS_CTRL); in mt7601u_bbp_set_bw() 1197 mt7601u_wr(dev, MT_MAC_SYS_CTRL, val); in mt7601u_bbp_set_bw() 1203 mt7601u_wr(dev, MT_MAC_SYS_CTRL, old); in mt7601u_bbp_set_bw()
|
D | initvals.h | 118 { MT_MAC_SYS_CTRL, 0x00000000 },
|
D | mac.c | 304 mt76_set(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt7601u_check_mac_err() 306 mt76_clear(dev, MT_MAC_SYS_CTRL, MT_MAC_SYS_CTRL_RESET_CSR); in mt7601u_check_mac_err()
|
D | regs.h | 248 #define MT_MAC_SYS_CTRL 0x1004 macro
|