raw_to_mcelsius_v1(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

✨ 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 πŸ¦‹


xoxo πŸ’– from ./drivers/thermal/mediatek, October 2026, page raw_to_mcelsius_v1(9) 🫢✨

πŸ“¦ where this page comes from