Searched refs:dac_gain (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/net/wireless/broadcom/b43/ |
D | phy_lcn.c | 44 u16 dac_gain; member 187 static void b43_phy_lcn_set_dac_gain(struct b43_wldev *dev, u16 dac_gain) in b43_phy_lcn_set_dac_gain() argument 193 dac_ctrl = dac_ctrl | (dac_gain << 7); in b43_phy_lcn_set_dac_gain() 525 b43_phy_lcn_set_dac_gain(dev, target_gains->dac_gain); in b43_phy_lcn_set_tx_gain() 542 tx_gains.dac_gain = 0; in b43_phy_lcn_tx_pwr_ctl_init() 548 tx_gains.dac_gain = 0; in b43_phy_lcn_tx_pwr_ctl_init()
|
D | phy_n.c | 3740 u16 tmp, radio_gain, dac_gain; in b43_nphy_tx_power_fix() local 3799 dac_gain = (txgain >> 8) & 0x7; in b43_nphy_tx_power_fix() 3801 dac_gain = (txgain >> 8) & 0x3F; in b43_nphy_tx_power_fix() 3814 b43_phy_write(dev, B43_NPHY_AFECTL_DACGAIN1, dac_gain); in b43_nphy_tx_power_fix() 3816 b43_phy_write(dev, B43_NPHY_AFECTL_DACGAIN2, dac_gain); in b43_nphy_tx_power_fix()
|
/linux-6.1.9/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ |
D | phy_lcn.c | 145 u16 dac_gain; member 998 u16 dac_gain, rfgain0, rfgain1; in wlc_lcnphy_get_tx_gain() local 1000 dac_gain = read_phy_reg(pi, 0x439) >> 0; in wlc_lcnphy_get_tx_gain() 1001 gains->dac_gain = (dac_gain & 0x380) >> 7; in wlc_lcnphy_get_tx_gain() 1012 static void wlc_lcnphy_set_dac_gain(struct brcms_phy *pi, u16 dac_gain) in wlc_lcnphy_set_dac_gain() argument 1018 dac_ctrl = dac_ctrl | (dac_gain << 7); in wlc_lcnphy_set_dac_gain() 1886 wlc_lcnphy_set_dac_gain(pi, target_gains->dac_gain); in wlc_lcnphy_set_tx_gain() 3027 tx_gains.dac_gain = 0; in wlc_lcnphy_tx_pwr_ctrl_init() 3034 tx_gains.dac_gain = 0; in wlc_lcnphy_tx_pwr_ctrl_init() 3160 gains.dac_gain = (u16) (bbmultiqcomp >> 28) & 0x07; in wlc_lcnphy_set_tx_pwr_by_index() [all …]
|
D | phy_n.c | 27709 u16 rad_gain, dac_gain, bbmult, m1m2; in wlc_phy_txpwr_fixpower_nphy() local 27801 dac_gain = (txgain >> 8) & ((1 << (10 - 8 + 1)) - 1); in wlc_phy_txpwr_fixpower_nphy() 27803 dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1); in wlc_phy_txpwr_fixpower_nphy() 27813 write_phy_reg(pi, (core == PHY_CORE_0) ? 0xaa : 0xab, dac_gain); in wlc_phy_txpwr_fixpower_nphy() 28310 u16 rad_gain, dac_gain; in wlc_phy_txpwr_index_nphy() local 28452 dac_gain = (txgain >> 8) & ((1 << (13 - 8 + 1)) - 1); in wlc_phy_txpwr_index_nphy() 28462 0xaa : 0xab, dac_gain); in wlc_phy_txpwr_index_nphy()
|