Searched refs:bbp_val (Results 1 – 2 of 2) sorted by relevance
/linux-6.1.9/drivers/net/wireless/mediatek/mt7601u/ |
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()
|
/linux-6.1.9/drivers/net/wireless/ralink/rt2x00/ |
D | rt2800lib.c | 9981 u8 bbp_val; in rt2800_bbp_core_soft_reset() local 9983 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset() 9984 bbp_val |= 0x1; in rt2800_bbp_core_soft_reset() 9985 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset() 9989 bbp_val = rt2800_bbp_read(rt2x00dev, 4); in rt2800_bbp_core_soft_reset() 9990 rt2x00_set_field8(&bbp_val, BBP4_BANDWIDTH, 2 * is_ht40); in rt2800_bbp_core_soft_reset() 9991 rt2800_bbp_write(rt2x00dev, 4, bbp_val); in rt2800_bbp_core_soft_reset() 9995 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset() 9996 bbp_val &= (~0x1); in rt2800_bbp_core_soft_reset() 9997 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset() [all …]
|