Home
last modified time | relevance | path

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

/drivers/net/wireless/b43legacy/
Dphy.c1793 s16 baseband_attenuation; in b43legacy_phy_xmitpower() local
1889 baseband_attenuation = phy->bbatt; in b43legacy_phy_xmitpower()
1890 baseband_attenuation += baseband_att_delta; in b43legacy_phy_xmitpower()
1899 baseband_attenuation -= (4 * -radio_attenuation); in b43legacy_phy_xmitpower()
1902 baseband_attenuation += (4 * (radio_attenuation - 9)); in b43legacy_phy_xmitpower()
1905 while (baseband_attenuation < 0 && radio_attenuation > 0) { in b43legacy_phy_xmitpower()
1906 baseband_attenuation += 4; in b43legacy_phy_xmitpower()
1909 while (baseband_attenuation > 11 && radio_attenuation < 9) { in b43legacy_phy_xmitpower()
1910 baseband_attenuation -= 4; in b43legacy_phy_xmitpower()
1914 baseband_attenuation = clamp_val(baseband_attenuation, 0, 11); in b43legacy_phy_xmitpower()
[all …]
Dradio.h71 u16 baseband_attenuation, u16 attenuation,
Db43legacy.h832 u16 baseband_attenuation) in b43legacy_get_lopair() argument
835 + 14 * (baseband_attenuation / 2)); in b43legacy_get_lopair()
Dphy.h204 u16 baseband_attenuation);
Dradio.c1915 u16 baseband_attenuation, in b43legacy_radio_set_txpower_bg() argument
1921 if (baseband_attenuation == 0xFFFF) in b43legacy_radio_set_txpower_bg()
1922 baseband_attenuation = phy->bbatt; in b43legacy_radio_set_txpower_bg()
1927 phy->bbatt = baseband_attenuation; in b43legacy_radio_set_txpower_bg()
1931 B43legacy_WARN_ON(baseband_attenuation > 11); in b43legacy_radio_set_txpower_bg()
1938 b43legacy_phy_set_baseband_attenuation(dev, baseband_attenuation); in b43legacy_radio_set_txpower_bg()
/drivers/net/wireless/b43/
Dphy_g.h198 u16 baseband_attenuation);
Dphy_g.c199 u16 baseband_attenuation) in b43_gphy_set_baseband_attenuation() argument
206 baseband_attenuation); in b43_gphy_set_baseband_attenuation()
208 b43_phy_maskset(dev, B43_PHY_DACCTL, 0xFFC3, (baseband_attenuation << 2)); in b43_gphy_set_baseband_attenuation()
210 b43_phy_maskset(dev, B43_PHY_DACCTL, 0xFF87, (baseband_attenuation << 3)); in b43_gphy_set_baseband_attenuation()