pm_suspend_no_platform(9)
π€ pm_suspend_no_platform(9) β kernel API manual, bestie edition β¨
okay so real talk, this page is from the Kernel API Manual and it's about one tiny lil function that answers one giant question: is the kernel actually the boss of your devices' power states rn, or is the platform out here doing its own thing? π
πΈ NAME πΈ
pm_suspend_no_platform β check if the platform may change device power states. that's it. that's the whole job. π
β¨ SYNOPSIS β¨
bool pm_suspend_no_platform (void );
it returns a bool, it takes void, it's giving very demure, very minimal. π
π¦ ARGUMENTS π¦
voidβ no arguments. none. zero. it wants nothing from you, bestie, and honestly? iconic. π«Ά
π DESCRIPTION π
so here's when you call it: during system-wide power management transitions to sleep states, or during the subsequent system-wide transitions back to the working state. like, it's a during-the-transition kinda function, iykyk. π΄β‘οΈπ₯οΈ
it returns 'true' if the power states of devices remain under full control of the kernel throughout the system-wide suspend and resume cycle that's in progress. no cap, that's the whole vibe check.
and to spell it out (the original does, so I will too π«‘): "that is, if a device is put into a certain power state during suspend, it can be expected to remain in that state during resume."
so basically: did the kernel lock it in, and will it stay locked in? true = yes bestie, we're in control the whole ride. π’β¨
π₯ SEE ALSO π₯
the whole friend group, fr fr β check out the kernel file ./include/linux/suspend.h, plus:
struct platform_suspend_ops(9)suspend_set_ops(9)pm_suspend_via_firmware(9)pm_resume_via_firmware(9)arch_suspend_disable_irqs(9)arch_suspend_enable_irqs(9)struct platform_hibernation_ops(9)pm_pr_dbg(9)
π heads up: this page lives in./include/linux, dated October 2026, and it's thepm_suspend_no_platform(9)page from the Kernel API Manual. now go forth and vibe-check those power states, bestie ππ§π
π¦ 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