cps_pm_enter_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… cps_pm_enter_state(9) πŸ’…

okay bestie, welcome to the Kernel API Manual β€” this one is short, iconic, and all about entering a PM state. No cap. ✨


πŸŽ€ NAME πŸŽ€

cps_pm_enter_state β€” enter a PM state. That is the whole assignment. πŸ’–

✨ SYNOPSIS ✨

int cps_pm_enter_state (enum cps_pm_state state );

🌸 ARGUMENTS 🌸

  • state β€” the state to enter. Yep, bestie, that's literally the value you're handing over. 🫢

πŸ¦‹ DESCRIPTION πŸ¦‹

Call this and it enters the given PM state. Main character energy, honestly. πŸ‘‘

Here's the coupled-coherence tea: if coupled_coherence is non-zero, then it is expected that this function be called at approximately the same time on each coupled CPU. Coordinate the group chat, okay? 🫢

Return vibe check: it returns 0 on successful entry & exit, otherwise -errno. If it's not 0, that's the "nope" branch β€” handle it. πŸ’…

πŸ”₯ SEE ALSO πŸ”₯

  • Kernel file ./arch/mips/include/asm/pm-cps.h β€” go peek, it's giving source-of-truth energy. 🌈
  • cps_pm_support_state(9) β€” the related manual page you'll want to check too. ⭐

okay bye bestie πŸ’– β€” source/version: ./arch/mips/include/asm, date: October 2026. mwah! πŸŽ€

πŸ“¦ where this page comes from