Home
last modified time | relevance | path

Searched refs:baseband_attenuation (Results 1 – 7 of 7) sorted by relevance

/linux-6.1.9/drivers/net/wireless/broadcom/b43legacy/
Dphy.c1768 s16 baseband_attenuation; in b43legacy_phy_xmitpower() local
1864 baseband_attenuation = phy->bbatt; in b43legacy_phy_xmitpower()
1865 baseband_attenuation += baseband_att_delta; in b43legacy_phy_xmitpower()
1874 baseband_attenuation -= (4 * -radio_attenuation); in b43legacy_phy_xmitpower()
1877 baseband_attenuation += (4 * (radio_attenuation - 9)); in b43legacy_phy_xmitpower()
1880 while (baseband_attenuation < 0 && radio_attenuation > 0) { in b43legacy_phy_xmitpower()
1881 baseband_attenuation += 4; in b43legacy_phy_xmitpower()
1884 while (baseband_attenuation > 11 && radio_attenuation < 9) { in b43legacy_phy_xmitpower()
1885 baseband_attenuation -= 4; in b43legacy_phy_xmitpower()
1889 baseband_attenuation = clamp_val(baseband_attenuation, 0, 11); in b43legacy_phy_xmitpower()
[all …]
Dradio.h58 u16 baseband_attenuation, u16 attenuation,
Db43legacy.h833 u16 baseband_attenuation) in b43legacy_get_lopair() argument
836 + 14 * (baseband_attenuation / 2)); in b43legacy_get_lopair()
Dphy.h191 u16 baseband_attenuation);
Dradio.c1898 u16 baseband_attenuation, in b43legacy_radio_set_txpower_bg() argument
1904 if (baseband_attenuation == 0xFFFF) in b43legacy_radio_set_txpower_bg()
1905 baseband_attenuation = phy->bbatt; in b43legacy_radio_set_txpower_bg()
1910 phy->bbatt = baseband_attenuation; in b43legacy_radio_set_txpower_bg()
1914 B43legacy_WARN_ON(baseband_attenuation > 11); in b43legacy_radio_set_txpower_bg()
1921 b43legacy_phy_set_baseband_attenuation(dev, baseband_attenuation); in b43legacy_radio_set_txpower_bg()
/linux-6.1.9/drivers/net/wireless/broadcom/b43/
Dphy_g.h199 u16 baseband_attenuation);
Dphy_g.c187 u16 baseband_attenuation) in b43_gphy_set_baseband_attenuation() argument
194 baseband_attenuation); in b43_gphy_set_baseband_attenuation()
196 b43_phy_maskset(dev, B43_PHY_DACCTL, 0xFFC3, (baseband_attenuation << 2)); in b43_gphy_set_baseband_attenuation()
198 b43_phy_maskset(dev, B43_PHY_DACCTL, 0xFF87, (baseband_attenuation << 3)); in b43_gphy_set_baseband_attenuation()