Home
last modified time | relevance | path

Searched refs:rfatt (Results 1 – 9 of 9) sorted by relevance

/Linux-v4.19/drivers/net/wireless/broadcom/b43/
Dlo.c42 const struct b43_rfatt *rfatt) in b43_find_lo_calib() argument
49 if (!b43_compare_rfatt(&c->rfatt, rfatt)) in b43_find_lo_calib()
735 const struct b43_rfatt *rfatt) in b43_calibrate_lo_setting() argument
757 b43_radio_maskset(dev, 0x43, 0xFFF0, rfatt->att); in b43_calibrate_lo_setting()
758 b43_radio_maskset(dev, txctl_reg, ~txctl_value, (rfatt->with_padmix ? txctl_value :0)); in b43_calibrate_lo_setting()
760 max_rx_gain = rfatt->att * 2; in b43_calibrate_lo_setting()
762 if (rfatt->with_padmix) in b43_calibrate_lo_setting()
778 bbatt->att, rfatt->att, rfatt->with_padmix, in b43_calibrate_lo_setting()
788 memcpy(&cal->rfatt, rfatt, sizeof(*rfatt)); in b43_calibrate_lo_setting()
801 const struct b43_rfatt *rfatt) in b43_get_calib_lo_settings() argument
[all …]
Dphy_g.c218 const struct b43_rfatt *rfatt, u8 tx_control) in b43_set_txpower_g() argument
227 rf = rfatt->att; in b43_set_txpower_g()
236 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); in b43_set_txpower_g()
237 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); in b43_set_txpower_g()
1583 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); in b43_phy_initb5()
1690 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); in b43_phy_initb6()
1950 struct b43_rfatt rfatt; in b43_phy_init_pctl() local
1953 memcpy(&old_rfatt, &gphy->rfatt, sizeof(old_rfatt)); in b43_phy_init_pctl()
1959 rfatt.att = 15; in b43_phy_init_pctl()
1960 rfatt.with_padmix = true; in b43_phy_init_pctl()
[all …]
Dlo.h26 struct b43_rfatt rfatt; member
80 u16 rfatt, u16 bbatt, u16 tx_control);
Ddebugfs.c472 b43_compare_rfatt(&cal->rfatt, &phy->g->rfatt)); in loctls_read_file()
476 cal->rfatt.att, cal->rfatt.with_padmix, in loctls_read_file()
Dphy_g.h149 struct b43_rfatt rfatt; member
/Linux-v4.19/drivers/net/wireless/broadcom/b43legacy/
Dphy.c196 saved_ratt = phy->rfatt; in b43legacy_phy_init_pctl()
1315 u16 rfatt, in b43legacy_find_lopair() argument
1323 B43legacy_WARN_ON(rfatt >= 10); in b43legacy_find_lopair()
1326 return b43legacy_get_lopair(phy, rfatt, bbatt); in b43legacy_find_lopair()
1327 return b43legacy_get_lopair(phy, dict[rfatt], bbatt); in b43legacy_find_lopair()
1336 phy->rfatt, phy->txctl1); in b43legacy_current_lopair()
1891 radio_attenuation = phy->rfatt; in b43legacy_phy_xmitpower()
1944 phy->rfatt = radio_attenuation; in b43legacy_phy_xmitpower()
Db43legacy.h473 u16 rfatt; member
Dradio.c1924 radio_attenuation = phy->rfatt; in b43legacy_radio_set_txpower_bg()
1928 phy->rfatt = radio_attenuation; in b43legacy_radio_set_txpower_bg()
Dmain.c3136 phy->rfatt = b43legacy_default_radio_attenuation(dev); in setup_struct_phy_for_init()
3248 phy->rfatt = b43legacy_default_radio_attenuation(dev); in prepare_phy_data_for_init()