Home
last modified time | relevance | path

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

/Linux-v4.19/drivers/thermal/
Dthermal-generic-adc.c29 int temp, adc_hi, adc_lo; in gadc_thermal_adc_to_temp() local
43 adc_lo = gti->lookup_table[2 * i + 1]; in gadc_thermal_adc_to_temp()
45 temp -= ((val - adc_lo) * 1000) / (adc_hi - adc_lo); in gadc_thermal_adc_to_temp()