qpnp_tm_lite_get_temp_stage(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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 the qpnp_tm chip πŸ’– 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 🌈

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