Home
last modified time | relevance | path

Searched refs:radio_attenuation (Results 1 – 3 of 3) sorted by relevance

/linux-2.6.39/drivers/net/wireless/b43legacy/
Dphy.c1792 s16 radio_attenuation; in b43legacy_phy_xmitpower() local
1891 radio_attenuation = phy->rfatt; in b43legacy_phy_xmitpower()
1892 radio_attenuation += radio_att_delta; in b43legacy_phy_xmitpower()
1898 if (radio_attenuation < 0) { in b43legacy_phy_xmitpower()
1899 baseband_attenuation -= (4 * -radio_attenuation); in b43legacy_phy_xmitpower()
1900 radio_attenuation = 0; in b43legacy_phy_xmitpower()
1901 } else if (radio_attenuation > 9) { in b43legacy_phy_xmitpower()
1902 baseband_attenuation += (4 * (radio_attenuation - 9)); in b43legacy_phy_xmitpower()
1903 radio_attenuation = 9; in b43legacy_phy_xmitpower()
1905 while (baseband_attenuation < 0 && radio_attenuation > 0) { in b43legacy_phy_xmitpower()
[all …]
Dradio.c1935 u16 radio_attenuation, in b43legacy_radio_set_txpower_bg() argument
1942 if (radio_attenuation == 0xFFFF) in b43legacy_radio_set_txpower_bg()
1943 radio_attenuation = phy->rfatt; in b43legacy_radio_set_txpower_bg()
1947 phy->rfatt = radio_attenuation; in b43legacy_radio_set_txpower_bg()
1952 B43legacy_WARN_ON(radio_attenuation > 9); in b43legacy_radio_set_txpower_bg()
1954 B43legacy_WARN_ON(radio_attenuation > 31); in b43legacy_radio_set_txpower_bg()
1958 b43legacy_radio_write16(dev, 0x0043, radio_attenuation); in b43legacy_radio_set_txpower_bg()
1960 radio_attenuation); in b43legacy_radio_set_txpower_bg()
Db43legacy.h806 u16 radio_attenuation, in b43legacy_get_lopair() argument
809 return phy->_lo_pairs + (radio_attenuation in b43legacy_get_lopair()