Home
last modified time | relevance | path

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

/linux-2.6.39/drivers/staging/brcm80211/brcmsmac/phy/
Dwlc_phy_lcn.c152 u16 dac_gain; member
1256 static void wlc_lcnphy_set_dac_gain(phy_info_t *pi, u16 dac_gain) in wlc_lcnphy_set_dac_gain() argument
1262 dac_ctrl = dac_ctrl | (dac_gain << 7); in wlc_lcnphy_set_dac_gain()
1310 wlc_lcnphy_set_dac_gain(pi, target_gains->dac_gain); in wlc_lcnphy_set_tx_gain()
2321 tx_gains.dac_gain = 0; in WLBANDINITFN()
2328 tx_gains.dac_gain = 0; in WLBANDINITFN()
2409 u16 dac_gain; in wlc_lcnphy_get_tx_gain() local
2411 dac_gain = read_phy_reg(pi, 0x439) >> 0; in wlc_lcnphy_get_tx_gain()
2412 gains->dac_gain = (dac_gain & 0x380) >> 7; in wlc_lcnphy_get_tx_gain()
2486 gains.dac_gain = (u16) (bbmultiqcomp >> 28) & 0x07; in wlc_lcnphy_set_tx_pwr_by_index()
[all …]
Dwlc_phy_n.c27535 u16 rad_gain, dac_gain, bbmult, m1m2; in wlc_phy_txpwr_fixpower_nphy() local
27641 dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1); in wlc_phy_txpwr_fixpower_nphy()
27643 dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1); in wlc_phy_txpwr_fixpower_nphy()
27653 write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain); in wlc_phy_txpwr_fixpower_nphy()
28930 u16 rad_gain, dac_gain; in wlc_phy_txpwr_index_nphy() local
29084 dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1); in wlc_phy_txpwr_index_nphy()
29094 0xaa : 0xab, dac_gain); in wlc_phy_txpwr_index_nphy()
/linux-2.6.39/drivers/net/wireless/b43/
Dphy_n.c305 u16 tmp, radio_gain, dac_gain; in b43_nphy_tx_power_fix() local
355 dac_gain = (txgain >> 8) & 0x3F; in b43_nphy_tx_power_fix()
368 b43_phy_write(dev, B43_NPHY_AFECTL_DACGAIN1, dac_gain); in b43_nphy_tx_power_fix()
370 b43_phy_write(dev, B43_NPHY_AFECTL_DACGAIN2, dac_gain); in b43_nphy_tx_power_fix()