Searched refs:top_delta (Results 1 - 1 of 1) sorted by relevance

/linux-4.1.27/drivers/media/dvb-frontends/
H A Ddib0090.c926 static void dib0090_gain_apply(struct dib0090_state *state, s16 gain_delta, s16 top_delta, u8 force) dib0090_gain_apply() argument
932 if (top_delta < -511) dib0090_gain_apply()
933 top_delta = -511; dib0090_gain_apply()
934 if (top_delta > 511) dib0090_gain_apply()
935 top_delta = 511; dib0090_gain_apply()
938 top_delta *= (1 << WBD_ALPHA); dib0090_gain_apply()
942 if (top_delta >= ((s16) (state->rf_ramp[0] << WBD_ALPHA) - state->rf_gain_limit)) /* overflow */ dib0090_gain_apply()
945 state->rf_gain_limit += top_delta; dib0090_gain_apply()

Completed in 48 milliseconds