Home
last modified time | relevance | path

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

/openbmc/linux/drivers/media/dvb-frontends/
H A Ddib0090.c1158 s16 wbd_error = 0, adc_error = 0; in dib0090_gain_control() local
1236 adc_error = (s16) (((s32) ADC_TARGET) - adc); in dib0090_gain_control()
1239 adc_error -= 10; in dib0090_gain_control()
1244 adc_error += 60; in dib0090_gain_control()
1272 adc_error += 60; in dib0090_gain_control()
1276 if (abs(adc_error) < 50 || state->agc_step++ > 5) { in dib0090_gain_control()
1300 (u32) *tune_state, (u32) adc, (u32) adc_error, (u32) wbd, (u32) wbd_error, (u32) wbd_val, in dib0090_gain_control()
1307 dib0090_gain_apply(state, adc_error, wbd_error, apply_gain_immediatly); in dib0090_gain_control()