qpnp_tm_lite_get_temp_stage(9)
π qpnp_tm_lite_get_temp_stage(9) π
okay so bestie, welcome to the Kernel API Manual β¨ β this one's a little function from the kernel's thermal corner, and honestly? it's giving "small but crucial." let's get into it π«Ά
πΈ NAME πΈ
qpnp_tm_lite_get_temp_stage β literally just returns the over-temperature stage π₯ like that's the whole job, and it does it slayfully
β¨ SYNOPSIS β¨
int qpnp_tm_lite_get_temp_stage (struct qpnp_tm_chip *chip );
that's it. one function, one argument, no cap π
π¦ ARGUMENTS π¦
chipβ pointer to theqpnp_tmchip π like, hand it your chip and it'll do its thing. that's the vibe.
π RETURN π
on success you get the alarm interrupt state back π and if things go sideways? you get an errno on failure π (yes, the classic "something went wrong" number, we stan a clear error signal).
π SEE ALSO π
- the kernel file
./drivers/thermal/qcom/qcom-spmi-temp-alarm.cπ (go read it, it's right there) qpnp_tm_decode_temp(9)πqpnp_tm_gen1_get_temp_stage(9)π§qpnp_tm_gen2_get_temp_stage(9)β
like the whole temp-stage friend group, fr fr β if this one's your fave, you'll probably also be obsessed with these π
and that's the whole page, bestie!! no notes, ate and left no crumbs π β¨
source squeeze:./drivers/thermal/qcomΒ· October 2026 Β·qpnp_tm_lite_get_temp_stage(9)π tysm for reading, ily, go stay cool (or, like, correctly over-temperature-staged) π¦π
π¦ 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