pm_generic_suspend(9)
π pm_generic_suspend π
okay so bestie, welcome to this lil page from the Kernel API Manual β it's pm_generic_suspend(9), and it's giving short-and-useful main character energy. no cap, it's tiny, but every detail ate. π₯
πΈ NAME πΈ
pm_generic_suspend β generic suspend callback for subsystems. that's the whole vibe: it's the generic suspend callback, for subsystems, periodt. π
β¨ SYNOPSIS β¨
int pm_generic_suspend (struct device *dev );
not me keeping it exactly character-for-character so your compiler doesn't side-eye us π keep that spacing, bestie.
π ARGUMENTS π
devβ the device to suspend. that's it, that's the argument, and honestly? iconic. π«Ά
π SEE ALSO π
- Kernel file:
./drivers/base/power/generic_ops.cβ yes, the actual file, copy it exactly, iykyk. π
and here's the whole friend group of related calls, all listed so you can hop around:
pm_generic_runtime_suspend(9)pm_generic_runtime_resume(9)pm_generic_prepare(9)pm_generic_suspend_noirq(9)pm_generic_suspend_late(9)pm_generic_freeze_noirq(9)pm_generic_freeze(9)pm_generic_poweroff_noirq(9)pm_generic_poweroff_late(9)pm_generic_poweroff(9)pm_generic_thaw_noirq(9)pm_generic_thaw(9)pm_generic_resume_noirq(9)pm_generic_resume_early(9)pm_generic_resume(9)pm_generic_restore_noirq(9)pm_generic_restore_early(9)pm_generic_restore(9)pm_generic_complete(9)
mwah π that's the page! source/version is ./drivers/base/power, date is October 2026, and the manual page is pm_generic_suspend(9) β bye bestie, go suspend something generically π§π
π¦ 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