Searched refs:radio_attenuation (Results 1 – 3 of 3) sorted by relevance
1767 s16 radio_attenuation; in b43legacy_phy_xmitpower() local1866 radio_attenuation = phy->rfatt; in b43legacy_phy_xmitpower()1867 radio_attenuation += radio_att_delta; in b43legacy_phy_xmitpower()1873 if (radio_attenuation < 0) { in b43legacy_phy_xmitpower()1874 baseband_attenuation -= (4 * -radio_attenuation); in b43legacy_phy_xmitpower()1875 radio_attenuation = 0; in b43legacy_phy_xmitpower()1876 } else if (radio_attenuation > 9) { in b43legacy_phy_xmitpower()1877 baseband_attenuation += (4 * (radio_attenuation - 9)); in b43legacy_phy_xmitpower()1878 radio_attenuation = 9; in b43legacy_phy_xmitpower()1880 while (baseband_attenuation < 0 && radio_attenuation > 0) { in b43legacy_phy_xmitpower()[all …]
1882 u16 radio_attenuation, in b43legacy_radio_set_txpower_bg() argument1889 if (radio_attenuation == 0xFFFF) in b43legacy_radio_set_txpower_bg()1890 radio_attenuation = phy->rfatt; in b43legacy_radio_set_txpower_bg()1894 phy->rfatt = radio_attenuation; in b43legacy_radio_set_txpower_bg()1899 B43legacy_WARN_ON(radio_attenuation > 9); in b43legacy_radio_set_txpower_bg()1901 B43legacy_WARN_ON(radio_attenuation > 31); in b43legacy_radio_set_txpower_bg()1905 b43legacy_radio_write16(dev, 0x0043, radio_attenuation); in b43legacy_radio_set_txpower_bg()1907 radio_attenuation); in b43legacy_radio_set_txpower_bg()
832 u16 radio_attenuation, in b43legacy_get_lopair() argument835 return phy->_lo_pairs + (radio_attenuation in b43legacy_get_lopair()