Home
last modified time | relevance | path

Searched refs:gain_delta (Results 1 – 4 of 4) sorted by relevance

/drivers/net/wireless/mediatek/mt76/mt76x2/
Dphy.c277 u8 low_gain_delta, gain_delta; in mt76x2_phy_update_channel_gain() local
331 gain_delta = low_gain_delta; in mt76x2_phy_update_channel_gain()
335 gain_delta = 0; in mt76x2_phy_update_channel_gain()
342 dev->cal.agc_gain_cur[0] = gain[0] - gain_delta; in mt76x2_phy_update_channel_gain()
343 dev->cal.agc_gain_cur[1] = gain[1] - gain_delta; in mt76x2_phy_update_channel_gain()
/drivers/net/wireless/mediatek/mt76/mt76x0/
Dphy.c1069 u8 gain_delta; in mt76x0_phy_update_channel_gain() local
1090 gain_delta = (low_gain == 2) ? 10 : 0; in mt76x0_phy_update_channel_gain()
1092 dev->cal.agc_gain_cur[0] = dev->cal.agc_gain_init[0] - gain_delta; in mt76x0_phy_update_channel_gain()
/drivers/media/dvb-frontends/
Ddib0090.c916 static void dib0090_gain_apply(struct dib0090_state *state, s16 gain_delta, s16 top_delta, u8 force) in dib0090_gain_apply() argument
929 gain_delta *= (1 << GAIN_ALPHA); in dib0090_gain_apply()
942 if (gain_delta >= ((s16) gain - state->current_gain)) /* overflow */ in dib0090_gain_apply()
945 state->current_gain += gain_delta; in dib0090_gain_apply()
/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/
Dphy_n.c15084 s16 gain_delta[2]; in wlc_phy_adjust_lnagaintbl_nphy() local
15095 gain_delta[0] = 6; in wlc_phy_adjust_lnagaintbl_nphy()
15096 gain_delta[1] = 6; in wlc_phy_adjust_lnagaintbl_nphy()
15100 gain_delta[0] = in wlc_phy_adjust_lnagaintbl_nphy()
15105 gain_delta[1] = in wlc_phy_adjust_lnagaintbl_nphy()
15113 gain_delta[0] = 0; in wlc_phy_adjust_lnagaintbl_nphy()
15114 gain_delta[1] = 0; in wlc_phy_adjust_lnagaintbl_nphy()
15120 regval[0] = nphy_def_lnagains[2] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
15121 regval[1] = nphy_def_lnagains[3] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
15122 regval[2] = nphy_def_lnagains[3] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
[all …]