Home
last modified time | relevance | path

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

/openbmc/linux/drivers/net/wireless/broadcom/b43/
H A Dlo.c28 const struct b43_bbatt *bbatt, in b43_find_lo_calib() argument
34 if (!b43_compare_bbatt(&c->bbatt, bbatt)) in b43_find_lo_calib()
721 const struct b43_bbatt *bbatt, in b43_calibrate_lo_setting() argument
748 max_rx_gain += bbatt->att / 2; in b43_calibrate_lo_setting()
774 memcpy(&cal->bbatt, bbatt, sizeof(*bbatt)); in b43_calibrate_lo_setting()
793 c = b43_find_lo_calib(lo, bbatt, rfatt); in b43_get_calib_lo_settings()
814 const struct b43_bbatt *bbatt; in b43_gphy_dc_lt_init() local
902 u16 rfatt, u16 bbatt, u16 tx_control) in b43_lo_g_adjust_to() argument
911 bb.att = bbatt; in b43_lo_g_adjust_to()
955 if (b43_compare_bbatt(&cal->bbatt, &gphy->bbatt) && in b43_lo_g_maintenance_work()
[all …]
H A Dlo.h25 struct b43_bbatt bbatt; member
80 u16 rfatt, u16 bbatt, u16 tx_control);
H A Dphy_g.c213 bb = bbatt->att; in b43_set_txpower_g()
225 memmove(&gphy->bbatt, bbatt, sizeof(*bbatt)); in b43_set_txpower_g()
2792 bbatt -= 4; in b43_put_attenuation_into_ranges()
2797 bbatt += 4; in b43_put_attenuation_into_ranges()
2803 bbatt += 4; in b43_put_attenuation_into_ranges()
2808 bbatt -= 4; in b43_put_attenuation_into_ranges()
2828 bbatt = gphy->bbatt.att; in b43_gphy_op_adjust_txpower()
2842 bbatt += 2; in b43_gphy_op_adjust_txpower()
2853 bbatt += 2; in b43_gphy_op_adjust_txpower()
2856 bbatt -= 2; in b43_gphy_op_adjust_txpower()
[all …]
H A Dphy_g.h148 struct b43_bbatt bbatt; member
H A Ddebugfs.c458 active = (b43_compare_bbatt(&cal->bbatt, &phy->g->bbatt) && in loctls_read_file()
462 cal->bbatt.att, in loctls_read_file()
/openbmc/linux/drivers/net/wireless/broadcom/b43legacy/
H A Dphy.c170 saved_batt = phy->bbatt; in b43legacy_phy_init_pctl()
814 backup_bband = phy->bbatt; in b43legacy_calc_loopback_gain()
1289 u16 bbatt, in b43legacy_find_lopair() argument
1296 if (bbatt > 6) in b43legacy_find_lopair()
1297 bbatt = 6; in b43legacy_find_lopair()
1442 u16 bbatt) in b43legacy_phy_set_baseband_attenuation() argument
1449 value |= (bbatt & 0x000F); in b43legacy_phy_set_baseband_attenuation()
1456 value |= (bbatt << 2) & 0x003C; in b43legacy_phy_set_baseband_attenuation()
1459 value |= (bbatt << 3) & 0x0078; in b43legacy_phy_set_baseband_attenuation()
1864 baseband_attenuation = phy->bbatt; in b43legacy_phy_xmitpower()
[all …]
H A Db43legacy.h475 u16 bbatt; member
H A Dradio.c1888 baseband_attenuation = phy->bbatt; in b43legacy_radio_set_txpower_bg()
1893 phy->bbatt = baseband_attenuation; in b43legacy_radio_set_txpower_bg()
H A Dmain.c3104 phy->bbatt = b43legacy_default_baseband_attenuation(dev); in setup_struct_phy_for_init()
3216 phy->bbatt = b43legacy_default_baseband_attenuation(dev); in prepare_phy_data_for_init()