cps_pm_enter_state(9)
π 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
- 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