Searched refs:top_delta (Results 1 – 1 of 1) sorted by relevance
916 static void dib0090_gain_apply(struct dib0090_state *state, s16 gain_delta, s16 top_delta, u8 force) in dib0090_gain_apply() argument922 if (top_delta < -511) in dib0090_gain_apply()923 top_delta = -511; in dib0090_gain_apply()924 if (top_delta > 511) in dib0090_gain_apply()925 top_delta = 511; in dib0090_gain_apply()928 top_delta *= (1 << WBD_ALPHA); in dib0090_gain_apply()932 if (top_delta >= ((s16) (state->rf_ramp[0] << WBD_ALPHA) - state->rf_gain_limit)) /* overflow */ in dib0090_gain_apply()935 state->rf_gain_limit += top_delta; in dib0090_gain_apply()