Home
last modified time | relevance | path

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

/linux-6.12.1/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()
/linux-6.12.1/drivers/net/wireless/mediatek/mt76/mt76x0/ !
Dphy.c1071 u8 gain_delta; in mt76x0_phy_update_channel_gain() local
1092 gain_delta = (low_gain == 2) ? 10 : 0; in mt76x0_phy_update_channel_gain()
1094 dev->cal.agc_gain_cur[0] = dev->cal.agc_gain_init[0] - gain_delta; in mt76x0_phy_update_channel_gain()
/linux-6.12.1/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()
/linux-6.12.1/drivers/net/wireless/broadcom/brcm80211/brcmsmac/phy/ !
Dphy_n.c15079 s16 gain_delta[2]; in wlc_phy_adjust_lnagaintbl_nphy() local
15090 gain_delta[0] = 6; in wlc_phy_adjust_lnagaintbl_nphy()
15091 gain_delta[1] = 6; in wlc_phy_adjust_lnagaintbl_nphy()
15095 gain_delta[0] = in wlc_phy_adjust_lnagaintbl_nphy()
15100 gain_delta[1] = in wlc_phy_adjust_lnagaintbl_nphy()
15108 gain_delta[0] = 0; in wlc_phy_adjust_lnagaintbl_nphy()
15109 gain_delta[1] = 0; in wlc_phy_adjust_lnagaintbl_nphy()
15115 regval[0] = nphy_def_lnagains[2] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
15116 regval[1] = nphy_def_lnagains[3] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
15117 regval[2] = nphy_def_lnagains[3] + gain_delta[core]; in wlc_phy_adjust_lnagaintbl_nphy()
[all …]