cps_pm_support_state(9)
π cps_pm_support_state π
okay bestie, so this one's from the Kernel API Manual, section 9 β it's a little kernel function that does exactly one (1) thing, and honestly? it ate. no cap.
β¨ SYNOPSIS β¨
bool cps_pm_support_state (enum cps_pm_state state );
like, that's it. that's the whole vibe. a bool in, a bool out π«Ά
π ARGUMENTS π
stateβ the state you wanna test for support. that's it, that's the whole argument, she's lowkey simple and we love her for it.
πΈ DESCRIPTION πΈ
so here's the tea β: this function checks whether your system supports the given state.
- if it does β you get
trueβ¨ - if it doesn't β you get
falseπ
that's genuinely the entire personality. no side quests, no plot twists, just a clean little vibe check on a PM state. iconic behavior, fr fr π
π¦ SEE ALSO π¦
- the kernel file
./arch/mips/include/asm/pm-cps.hβ go read it, iykyk cps_pm_enter_state(9)β the one that actually does the thing π
bestie note: this page only tells you if a state is supported. it does not enter the state. don't be out here assuming, okay? π«Ά
mwah π that's the whole page β brought to you by the fine folks over at ./arch/mips/include/asm, dated October 2026, and yes she's still serving cps_pm_support_state(9) realness. slay π
β¨
π¦ 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