Home
last modified time | relevance | path

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

/linux-5.19.10/drivers/net/wireless/broadcom/b43/
Dlo.c29 const struct b43_rfatt *rfatt) in b43_find_lo_calib() argument
36 if (!b43_compare_rfatt(&c->rfatt, rfatt)) in b43_find_lo_calib()
722 const struct b43_rfatt *rfatt) in b43_calibrate_lo_setting() argument
744 b43_radio_maskset(dev, 0x43, 0xFFF0, rfatt->att); in b43_calibrate_lo_setting()
745 b43_radio_maskset(dev, txctl_reg, ~txctl_value, (rfatt->with_padmix ? txctl_value :0)); in b43_calibrate_lo_setting()
747 max_rx_gain = rfatt->att * 2; in b43_calibrate_lo_setting()
749 if (rfatt->with_padmix) in b43_calibrate_lo_setting()
765 bbatt->att, rfatt->att, rfatt->with_padmix, in b43_calibrate_lo_setting()
775 memcpy(&cal->rfatt, rfatt, sizeof(*rfatt)); in b43_calibrate_lo_setting()
788 const struct b43_rfatt *rfatt) in b43_get_calib_lo_settings() argument
[all …]
Dphy_g.c205 const struct b43_rfatt *rfatt, u8 tx_control) in b43_set_txpower_g() argument
214 rf = rfatt->att; in b43_set_txpower_g()
223 memmove(&gphy->rfatt, rfatt, sizeof(*rfatt)); in b43_set_txpower_g()
224 gphy->rfatt.with_padmix = !!(tx_control & B43_TXCTL_TXMIX); in b43_set_txpower_g()
1570 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); in b43_phy_initb5()
1677 b43_set_txpower_g(dev, &gphy->bbatt, &gphy->rfatt, gphy->tx_control); in b43_phy_initb6()
1937 struct b43_rfatt rfatt; in b43_phy_init_pctl() local
1940 memcpy(&old_rfatt, &gphy->rfatt, sizeof(old_rfatt)); in b43_phy_init_pctl()
1946 rfatt.att = 15; in b43_phy_init_pctl()
1947 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.c459 b43_compare_rfatt(&cal->rfatt, &phy->g->rfatt)); in loctls_read_file()
463 cal->rfatt.att, cal->rfatt.with_padmix, in loctls_read_file()
Dphy_g.h149 struct b43_rfatt rfatt; member
/linux-5.19.10/drivers/net/wireless/broadcom/b43legacy/
Dphy.c171 saved_ratt = phy->rfatt; in b43legacy_phy_init_pctl()
1290 u16 rfatt, in b43legacy_find_lopair() argument
1298 B43legacy_WARN_ON(rfatt >= 10); in b43legacy_find_lopair()
1301 return b43legacy_get_lopair(phy, rfatt, bbatt); in b43legacy_find_lopair()
1302 return b43legacy_get_lopair(phy, dict[rfatt], bbatt); in b43legacy_find_lopair()
1311 phy->rfatt, phy->txctl1); in b43legacy_current_lopair()
1866 radio_attenuation = phy->rfatt; in b43legacy_phy_xmitpower()
1919 phy->rfatt = radio_attenuation; in b43legacy_phy_xmitpower()
Db43legacy.h473 u16 rfatt; member
Dradio.c1907 radio_attenuation = phy->rfatt; in b43legacy_radio_set_txpower_bg()
1911 phy->rfatt = radio_attenuation; in b43legacy_radio_set_txpower_bg()
Dmain.c3104 phy->rfatt = b43legacy_default_radio_attenuation(dev); in setup_struct_phy_for_init()
3216 phy->rfatt = b43legacy_default_radio_attenuation(dev); in prepare_phy_data_for_init()