Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/extcon/
Dextcon-adc-jack.c63 int ret, adc_val; in adc_jack_handler() local
66 ret = iio_read_channel_raw(data->chan, &adc_val); in adc_jack_handler()
75 if (def->min_adc <= adc_val && def->max_adc >= adc_val) { in adc_jack_handler()
/linux-6.12.1/drivers/acpi/pmic/
Dintel_pmic_bxtwc.c300 unsigned int val, adc_val, reg_val; in intel_bxtwc_pmic_get_raw_temp() local
318 adc_val = reg_val * rlsb / 1000; in intel_bxtwc_pmic_get_raw_temp()
320 return adc_val; in intel_bxtwc_pmic_get_raw_temp()
/linux-6.12.1/drivers/thermal/ti-soc-thermal/
Dti-bandgap.c292 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius() argument
297 if (adc_val < conf->adc_start_val || adc_val > conf->adc_end_val) in ti_bandgap_adc_to_mcelsius()
300 *t = bgp->conf->conv_table[adc_val - conf->adc_start_val]; in ti_bandgap_adc_to_mcelsius()
/linux-6.12.1/drivers/media/dvb-frontends/
Ddib0090.c1144 u16 adc_val = dib0090_read_reg(state, 0x1d); in dib0090_get_slow_adc_val() local
1146 adc_val >>= 2; in dib0090_get_slow_adc_val()
1147 return adc_val; in dib0090_get_slow_adc_val()