cps_pm_support_state(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

πŸ’… 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