Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/media/dvb-frontends/
Ddib0090.c152 s16 min_adc_diff; member
1704 state->min_adc_diff = 1023; in dib0090_dc_offset_calibration()
1723 state->min_adc_diff = -1023; in dib0090_dc_offset_calibration()
1727 …f = %d, min_adc_diff = %d current_step = %d\n", state->adc_diff, state->min_adc_diff, state->step); in dib0090_dc_offset_calibration()
1738 if ((state->adc_diff & 0x8000) == (state->min_adc_diff & 0x8000) && steps(state->step) < 15) { in dib0090_dc_offset_calibration()
1741 state->min_adc_diff = state->adc_diff; in dib0090_dc_offset_calibration()
1745 if (abs(state->adc_diff) > abs(state->min_adc_diff)) { in dib0090_dc_offset_calibration()
1746 …iff N = %d > adc_diff step N-1 = %d, Come back one step\n", state->adc_diff, state->min_adc_diff); in dib0090_dc_offset_calibration()