pm_generic_poweroff_late(9)
π pm_generic_poweroff_late(9) β¨
okay so bestie, welcome to the Kernel API Manual π«Ά this one's a little function with a big job and honestly it's giving "quiet luxury" β no cap.
πΈ NAME πΈ
pm_generic_poweroff_late β the generic poweroff_late callback for subsystems π like it's literally the boilerplate babe that subsystems lean on when they can't be bothered to write their own.
π¦ SYNOPSIS π¦
int pm_generic_poweroff_late (struct device *dev );
that's it. that's the whole vibe check. one arg, returns an int, slay β¨
π ARGUMENTS π
devβ the Device to handle π this is the main character of the function fr fr, hand it over and it gets handled.
π SEE ALSO π
the whole friend group π β these are all the sibling callbacks hanging out in the same file, ./drivers/base/power/generic_ops.c (iykyk π):
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_suspend(9)pm_generic_freeze_noirq(9)pm_generic_freeze(9)pm_generic_poweroff_noirq(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)
lowkey iconic that the entire power-management cinematic universe lives in one file ππ₯
no warnings, no bugs, no deprecated nonsense in this one β it's a clean little legend, we love to see it π
and that's the tea π this icon dropped out of ./drivers/base/power back in October 2026 β periodt, go read the source 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