Searched refs:adc_val (Results 1 – 4 of 4) sorted by relevance
61 int ret, adc_val; in adc_jack_handler() local64 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()
300 unsigned int val, adc_val, reg_val; in intel_bxtwc_pmic_get_raw_temp() local318 adc_val = reg_val * rlsb / 1000; in intel_bxtwc_pmic_get_raw_temp()320 return adc_val; in intel_bxtwc_pmic_get_raw_temp()
292 int ti_bandgap_adc_to_mcelsius(struct ti_bandgap *bgp, int adc_val, int *t) in ti_bandgap_adc_to_mcelsius() argument297 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()
1144 u16 adc_val = dib0090_read_reg(state, 0x1d); in dib0090_get_slow_adc_val() local1146 adc_val >>= 2; in dib0090_get_slow_adc_val()1147 return adc_val; in dib0090_get_slow_adc_val()
Completed in 13 milliseconds