pm_generic_complete(9)
π pm_generic_complete β the Kernel API Manual page you didn't know you needed π
okay so bestie, welcome to the pm_generic_complete(9) page β yes, that's the manual name right there in the corner, pm_generic_complete(9), from the Kernel API Manual. it's short, it's sweet, and it's lowkey iconic.
β¨ NAME β¨
pm_generic_complete β the generic routine that completes a device power transition. that's it. that's the whole vibe. π
π¦ SYNOPSIS π¦
void pm_generic_complete (struct device *dev );
like, literally just that one call. no cap. π«Ά
π ARGUMENTS π
devβ the device you're handling. that's your main character right there, thestruct device *you're passing in. handle it with care, bestie. π
πΈ DESCRIPTION πΈ
so here's what's tea: this routine completes a device power transition during a system-wide power transition. that's the whole job, and it does it generically. one transition, completed, during the big system-wide power moment. slay. β¨π₯
π SEE ALSO π
- the kernel file
./drivers/base/power/generic_ops.cβ go read it, 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_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)
that's the whole power-management friend group fr fr, go say hi to all of them ππ
ngl the ENTIRE family of pm_generic_* functions is listed above, so if you're doing a system-wide power transition and something feels off, your answer is in that list. no guesses from me, bestie β that's just what the page says. ππ
okay that's the page!! π and a cute lil sign-off for you: this absolute gem lives in ./drivers/base/power, it's dated October 2026, and it will forever be known as pm_generic_complete(9). mwah ππ¦β
π¦ 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