Home
last modified time | relevance | path

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

/linux-6.3-rc2/drivers/extcon/
A Dextcon-adc-jack.c61 int ret, adc_val; in adc_jack_handler() local
64 ret = iio_read_channel_raw(data->chan, &adc_val); in adc_jack_handler()
73 if (def->min_adc <= adc_val && def->max_adc >= adc_val) { in adc_jack_handler()
/linux-6.3-rc2/drivers/acpi/pmic/
A 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.3-rc2/drivers/thermal/ti-soc-thermal/
A 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.3-rc2/drivers/media/dvb-frontends/
A 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()

Completed in 13 milliseconds