Lines Matching refs:mt76_wr

42 	mt76_wr(dev, MT_RF_CSR_CFG,  in mt76x0_rf_csr_wr()
79 mt76_wr(dev, MT_RF_CSR_CFG, in mt76x0_rf_csr_rr()
215 mt76_wr(dev, MT_TX_ALC_VGA3, 0x00050007); in mt76x0_phy_set_band()
216 mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x003E0002); in mt76x0_phy_set_band()
224 mt76_wr(dev, MT_TX_ALC_VGA3, 0x00000005); in mt76x0_phy_set_band()
225 mt76_wr(dev, MT_TX0_RF_GAIN_CORR, 0x01010102); in mt76x0_phy_set_band()
383 mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x63707400); in mt76x0_phy_set_chan_rf_params()
387 mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); in mt76x0_phy_set_chan_rf_params()
389 mt76_wr(dev, MT_TX0_RF_GAIN_ATTEN, 0x686A7800); in mt76x0_phy_set_chan_rf_params()
395 mt76_wr(dev, MT_TX_ALC_CFG_1, mac_reg); in mt76x0_phy_set_chan_rf_params()
419 mt76_wr(dev, pair->reg, val); in mt76x0_phy_set_chan_bbp_params()
421 mt76_wr(dev, pair->reg, pair->value); in mt76x0_phy_set_chan_bbp_params()
465 mt76_wr(dev, MT_WLAN_FUN_CTRL, wlan); in mt76x0_phy_ant_select()
469 mt76_wr(dev, MT_COEXCFG3, coex3); in mt76x0_phy_ant_select()
512 mt76_wr(dev, MT_RF_SETTING_0, 0x60002237); in mt76x0_phy_tssi_dc_calibrate()
513 mt76_wr(dev, MT_RF_BYPASS_0, 0xffffffff); in mt76x0_phy_tssi_dc_calibrate()
521 mt76_wr(dev, MT_BBP(CORE, 34), val); in mt76x0_phy_tssi_dc_calibrate()
524 mt76_wr(dev, MT_BBP(TXBE, 6), BIT(31)); in mt76x0_phy_tssi_dc_calibrate()
530 mt76_wr(dev, MT_RF_BYPASS_0, 0); in mt76x0_phy_tssi_dc_calibrate()
532 mt76_wr(dev, MT_BBP(TXBE, 6), 0); in mt76x0_phy_tssi_dc_calibrate()
550 mt76_wr(dev, MT_BBP(CORE, 34), val); in mt76x0_phy_tssi_adc_calibrate()
562 mt76_wr(dev, MT_BBP(CORE, 34), 0x80041); in mt76x0_phy_tssi_adc_calibrate()
566 mt76_wr(dev, MT_BBP(CORE, 34), 0x80042); in mt76x0_phy_tssi_adc_calibrate()
570 mt76_wr(dev, MT_BBP(CORE, 34), 0x80043); in mt76x0_phy_tssi_adc_calibrate()
874 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
877 mt76_wr(dev, MT_MAC_SYS_CTRL, in mt76x0_phy_calibrate()
884 mt76_wr(dev, MT_TX_ALC_CFG_0, 0); in mt76x0_phy_calibrate()
888 mt76_wr(dev, MT_BBP(IBI, 9), 0xffffff7e); in mt76x0_phy_calibrate()
905 mt76_wr(dev, MT_BBP(IBI, 9), reg_val); in mt76x0_phy_calibrate()
906 mt76_wr(dev, MT_TX_ALC_CFG_0, tx_alc); in mt76x0_phy_calibrate()
977 mt76_wr(dev, MT_TX_SW_CFG0, val); in mt76x0_phy_set_channel()
1029 mt76_wr(dev, MT_BBP(CORE, 34), 0x00080055); in mt76x0_phy_temp_sensor()