Lines Matching refs:MT_RF

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()
297 rf_wr(dev, MT_RF(0, 4), val); in mt76x0_vco_cal()
316 rf_wr(dev, MT_RF(5, 0), 0x45); in mt76x0_phy_set_band()
317 rf_wr(dev, MT_RF(6, 0), 0x44); in mt76x0_phy_set_band()
328 rf_wr(dev, MT_RF(5, 0), 0x44); in mt76x0_phy_set_band()
329 rf_wr(dev, MT_RF(6, 0), 0x45); in mt76x0_phy_set_band()
374 rf_wr(dev, MT_RF(0, 37), freq_item->pllR37); in mt76x0_phy_set_chan_rf_params()
375 rf_wr(dev, MT_RF(0, 36), freq_item->pllR36); in mt76x0_phy_set_chan_rf_params()
376 rf_wr(dev, MT_RF(0, 35), freq_item->pllR35); in mt76x0_phy_set_chan_rf_params()
377 rf_wr(dev, MT_RF(0, 34), freq_item->pllR34); in mt76x0_phy_set_chan_rf_params()
378 rf_wr(dev, MT_RF(0, 33), freq_item->pllR33); in mt76x0_phy_set_chan_rf_params()
380 rf_val = rf_rr(dev, MT_RF(0, 32)); in mt76x0_phy_set_chan_rf_params()
383 rf_wr(dev, MT_RF(0, 32), rf_val); in mt76x0_phy_set_chan_rf_params()
386 rf_val = rf_rr(dev, MT_RF(0, 32)); in mt76x0_phy_set_chan_rf_params()
389 rf_wr(dev, MT_RF(0, 32), rf_val); in mt76x0_phy_set_chan_rf_params()
392 rf_val = rf_rr(dev, MT_RF(0, 31)); in mt76x0_phy_set_chan_rf_params()
395 rf_wr(dev, MT_RF(0, 31), rf_val); in mt76x0_phy_set_chan_rf_params()
398 rf_val = rf_rr(dev, MT_RF(0, 31)); in mt76x0_phy_set_chan_rf_params()
401 rf_wr(dev, MT_RF(0, 31), rf_val); in mt76x0_phy_set_chan_rf_params()
404 rf_val = rf_rr(dev, MT_RF(0, 30)); in mt76x0_phy_set_chan_rf_params()
407 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
409 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
412 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
416 rf_val = rf_rr(dev, MT_RF(0, 30)); in mt76x0_phy_set_chan_rf_params()
419 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
422 rf_val = rf_rr(dev, MT_RF(0, 30)); in mt76x0_phy_set_chan_rf_params()
425 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
429 rf_wr(dev, MT_RF(0, 29), rf_val); in mt76x0_phy_set_chan_rf_params()
431 rf_val = rf_rr(dev, MT_RF(0, 30)); in mt76x0_phy_set_chan_rf_params()
434 rf_wr(dev, MT_RF(0, 30), rf_val); in mt76x0_phy_set_chan_rf_params()
437 rf_val = rf_rr(dev, MT_RF(0, 28)); in mt76x0_phy_set_chan_rf_params()
440 rf_wr(dev, MT_RF(0, 28), rf_val); in mt76x0_phy_set_chan_rf_params()
443 rf_val = rf_rr(dev, MT_RF(0, 28)); in mt76x0_phy_set_chan_rf_params()
446 rf_wr(dev, MT_RF(0, 28), rf_val); in mt76x0_phy_set_chan_rf_params()
449 rf_val = rf_rr(dev, MT_RF(0, 28)); in mt76x0_phy_set_chan_rf_params()
452 rf_wr(dev, MT_RF(0, 28), rf_val); in mt76x0_phy_set_chan_rf_params()
456 rf_wr(dev, MT_RF(0, 26), rf_val); in mt76x0_phy_set_chan_rf_params()
459 rf_wr(dev, MT_RF(0, 27), rf_val); in mt76x0_phy_set_chan_rf_params()
461 rf_val = rf_rr(dev, MT_RF(0, 28)); in mt76x0_phy_set_chan_rf_params()
464 rf_wr(dev, MT_RF(0, 28), rf_val); in mt76x0_phy_set_chan_rf_params()
467 rf_val = rf_rr(dev, MT_RF(0, 24)); in mt76x0_phy_set_chan_rf_params()
470 rf_wr(dev, MT_RF(0, 24), rf_val); in mt76x0_phy_set_chan_rf_params()
834 rf_b7_73 = rf_rr(dev, MT_RF(7, 73)); in mt76x0_temp_sensor()
835 rf_b0_66 = rf_rr(dev, MT_RF(0, 66)); in mt76x0_temp_sensor()
836 rf_b0_67 = rf_rr(dev, MT_RF(0, 73)); in mt76x0_temp_sensor()
838 rf_wr(dev, MT_RF(7, 73), 0x02); in mt76x0_temp_sensor()
839 rf_wr(dev, MT_RF(0, 66), 0x23); in mt76x0_temp_sensor()
840 rf_wr(dev, MT_RF(0, 73), 0x01); in mt76x0_temp_sensor()
866 rf_wr(dev, MT_RF(7, 73), rf_b7_73); in mt76x0_temp_sensor()
867 rf_wr(dev, MT_RF(0, 66), rf_b0_66); in mt76x0_temp_sensor()
868 rf_wr(dev, MT_RF(0, 73), rf_b0_67); in mt76x0_temp_sensor()
969 rf_wr(dev, MT_RF(0, 22), min_t(u8, dev->ee->rf_freq_off, 0xBF)); in mt76x0_rf_init()
970 val = rf_rr(dev, MT_RF(0, 22)); in mt76x0_rf_init()
975 val = rf_rr(dev, MT_RF(0, 73)); in mt76x0_rf_init()
977 rf_wr(dev, MT_RF(0, 73), val); in mt76x0_rf_init()
979 rf_wr(dev, MT_RF(0, 73), val); in mt76x0_rf_init()
981 rf_wr(dev, MT_RF(0, 73), val); in mt76x0_rf_init()
986 rf_set(dev, MT_RF(0, 4), 0x80); in mt76x0_rf_init()