Home
last modified time | relevance | path

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

/system/dev/thermal/mtk-thermal/
A Dmtk-thermal.cpp258 int32_t temp_c = ((RawWithGain(raw - cal1.get_adc_offset(), gain) - vts_with_gain) * 5) / 6; in RawToTemperature() local
260 temp_c = cal0.temp_offset() - ((temp_c * 100) / (165 + (cal1.id() == 0 ? 0 : slope))); in RawToTemperature()
261 return temp_c + kKelvinOffset; in RawToTemperature()

Completed in 3 milliseconds