Searched refs:bbp_val (Results 1 – 2 of 2) sorted by relevance
/openbmc/linux/drivers/net/wireless/mediatek/mt7601u/ |
H A D | phy.c | 494 u8 bbp_val, temp; in mt7601u_read_bootup_temp() local 505 bbp_val = mt7601u_bbp_rmw(dev, 47, 0, 0x10); in mt7601u_read_bootup_temp() 509 for (i = 100; i && (bbp_val & 0x10); i--) in mt7601u_read_bootup_temp() 510 bbp_val = mt7601u_bbp_rr(dev, 47); in mt7601u_read_bootup_temp() 512 temp = mt7601u_bbp_r47_get(dev, bbp_val, BBP_R47_F_TEMP); in mt7601u_read_bootup_temp() 516 bbp_val = mt7601u_bbp_rr(dev, 21); in mt7601u_read_bootup_temp() 517 bbp_val |= 0x02; in mt7601u_read_bootup_temp() 518 mt7601u_bbp_wr(dev, 21, bbp_val); in mt7601u_read_bootup_temp() 519 bbp_val &= ~0x02; in mt7601u_read_bootup_temp() 520 mt7601u_bbp_wr(dev, 21, bbp_val); in mt7601u_read_bootup_temp()
|
/openbmc/linux/drivers/net/wireless/ralink/rt2x00/ |
H A D | rt2800lib.c | 10002 u8 bbp_val; in rt2800_bbp_core_soft_reset() local 10005 bbp_val |= 0x1; in rt2800_bbp_core_soft_reset() 10017 bbp_val &= (~0x1); in rt2800_bbp_core_soft_reset() 10070 u8 bbp_val; in rt2800_lp_tx_filter_bw_cal() local 10079 if (bbp_val == 0x02 || cnt == 20) in rt2800_lp_tx_filter_bw_cal() 10086 cal_val = bbp_val & 0x7F; in rt2800_lp_tx_filter_bw_cal() 10102 u8 bbp_val, rf_val; in rt2800_bw_filter_calibration() local 10175 bbp_val &= (~0x1F); in rt2800_bw_filter_calibration() 10176 bbp_val |= 0x10; in rt2800_bw_filter_calibration() 10228 bbp_val &= (~0x6); in rt2800_bw_filter_calibration() [all …]
|