raw_to_mcelsius_v1(9)
β¨ NAME β¨
okay bestie, welcome to the raw_to_mcelsius_v1(9) page from the Kernel API Manual π
β this one is literally about converting a raw ADC value to mcelsius π
πΈ SYNOPSIS πΈ
int raw_to_mcelsius_v1 (struct mtk_thermal *mt , int sensno , s32 raw );
π«Ά ARGUMENTS π«Ά
mtβ the thermal controller πsensnoβ sensor number π’rawβ raw ADC value π
π₯ DESCRIPTION π₯
so this function converts the raw ADC value to mcelsius using the SoC specific calibration constants β¨ no cap, that's the whole vibe check π
π¦ SEE ALSO π¦
- Kernel file
./drivers/thermal/mediatek/auxadc_thermal.cπ mtk_thermal_get_bank(9)πmtk_thermal_put_bank(9)πmtk_thermal_bank_temperature(9)π
xoxo π from ./drivers/thermal/mediatek, October 2026, page raw_to_mcelsius_v1(9) π«Άβ¨
π¦ where this page comes from
- nixpkgs unstable: linux-manual 7.3.1
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms