Home
last modified time | relevance | path

Searched refs:bbp_val (Results 1 – 2 of 2) sorted by relevance

/drivers/net/wireless/mediatek/mt7601u/
Dphy.c494 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()
/drivers/net/wireless/ralink/rt2x00/
Drt2800lib.c8430 u8 bbp_val; in rt2800_bbp_core_soft_reset() local
8432 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset()
8433 bbp_val |= 0x1; in rt2800_bbp_core_soft_reset()
8434 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset()
8438 bbp_val = rt2800_bbp_read(rt2x00dev, 4); in rt2800_bbp_core_soft_reset()
8439 rt2x00_set_field8(&bbp_val, BBP4_BANDWIDTH, 2 * is_ht40); in rt2800_bbp_core_soft_reset()
8440 rt2800_bbp_write(rt2x00dev, 4, bbp_val); in rt2800_bbp_core_soft_reset()
8444 bbp_val = rt2800_bbp_read(rt2x00dev, 21); in rt2800_bbp_core_soft_reset()
8445 bbp_val &= (~0x1); in rt2800_bbp_core_soft_reset()
8446 rt2800_bbp_write(rt2x00dev, 21, bbp_val); in rt2800_bbp_core_soft_reset()
[all …]