Home
last modified time | relevance | path

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

/system/dev/thermal/mtk-thermal/
A Dmtk-thermal.cpp257 int32_t vts_with_gain = RawWithGain(vts - cal1.get_adc_offset(), gain); in RawToTemperature()
258 int32_t temp_c = ((RawWithGain(raw - cal1.get_adc_offset(), gain) - vts_with_gain) * 5) / 6; in RawToTemperature()
A Dmtk-thermal-reg.h262 int32_t get_adc_offset() const { return adc_offset() - kAdcCalOffset; } in get_adc_offset() function

Completed in 6 milliseconds