Searched refs:MT_RF (Results 1 – 3 of 3) sorted by relevance
/Linux-v4.19/drivers/net/wireless/mediatek/mt76/mt76x0/ |
D | initvals_phy.h | 27 { MT_RF(0, 1), 0x01}, 28 { MT_RF(0, 2), 0x11}, 33 { MT_RF(0, 3), 0x73}, /* VCO Freq Cal - No Bypass, VCO Amp Cal - No Bypass */ 34 { MT_RF(0, 4), 0x30}, /* R4 b<7>=1, VCO cal */ 35 { MT_RF(0, 5), 0x00}, 36 …{ MT_RF(0, 6), 0x41}, /* Set the open loop amplitude to middle since bypassing amplitude calibrati… 37 { MT_RF(0, 7), 0x00}, 42 { MT_RF(0, 8), 0x00}, 43 { MT_RF(0, 9), 0x00}, 44 { MT_RF(0, 10), 0x0C}, [all …]
|
D | phy.c | 250 val = rf_rr(dev, MT_RF(0, 4)); in mt76x0_vco_cal() 266 val = rf_rr(dev, MT_RF(0, 6)); in mt76x0_vco_cal() 269 rf_wr(dev, MT_RF(0, 6), val); in mt76x0_vco_cal() 271 val = rf_rr(dev, MT_RF(0, 5)); in mt76x0_vco_cal() 273 rf_wr(dev, MT_RF(0, 5), 0x0); in mt76x0_vco_cal() 275 val = rf_rr(dev, MT_RF(0, 4)); in mt76x0_vco_cal() 277 rf_wr(dev, MT_RF(0, 4), val); in mt76x0_vco_cal() 279 val = rf_rr(dev, MT_RF(0, 3)); in mt76x0_vco_cal() 292 rf_wr(dev, MT_RF(0, 3), val); in mt76x0_vco_cal() 295 val = rf_rr(dev, MT_RF(0, 4)); in mt76x0_vco_cal() [all …]
|
D | phy.h | 29 #define MT_RF(bank, reg) ((bank) << 16 | (reg)) macro
|