Home
last modified time | relevance | path

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

/linux-6.6.21/drivers/media/dvb-frontends/
Ddib0090.c151 s16 adc_diff; member
1606 state->adc_diff = dib0090_read_reg(state, 0x1d); in dib0090_get_offset()
1614 state->adc_diff -= dib0090_read_reg(state, 0x1d); in dib0090_get_offset()
1721 dprintk("adc_diff = %d, current step= %d\n", (u32) state->adc_diff, state->step); in dib0090_dc_offset_calibration()
1722 if (state->step == 0 && state->adc_diff < 0) { in dib0090_dc_offset_calibration()
1727 …dprintk("adc_diff = %d, min_adc_diff = %d current_step = %d\n", state->adc_diff, state->min_adc_di… in dib0090_dc_offset_calibration()
1731 if (state->dc->pga && state->adc_diff < 0) in dib0090_dc_offset_calibration()
1733 if (state->dc->pga == 0 && state->adc_diff > 0) 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()
[all …]
Ddib0070.c50 u16 adc_diff; member
178 state->adc_diff = 3000; in dib0070_captrim()
203 if (adc < state->adc_diff) { in dib0070_captrim()
205 state->captrim, adc, state->adc_diff); in dib0070_captrim()
206 state->adc_diff = adc; in dib0070_captrim()
/linux-6.6.21/drivers/comedi/drivers/
Dni_atmio16d.c138 enum { adc_diff, adc_singleended } adc_mux; enumerator