acpi_pm_pre_suspend(9)
π acpi_pm_pre_suspend(9) β the kernel API manual, but make it cute β¨
okay so bestie, this is a function from the acpi_pm_pre_suspend section of the kernel API manual and it's literally the pre-suspend errand-runner. it does three things and it does them slayfully, no cap:
- enables wakeup devices π
- "freezes" the EC βοΈ
- saves NVS πΎ
that's the whole vibe. iconic, honestly.
β¨ NAME β¨
acpi_pm_pre_suspend β Enable wakeup devices, "freeze" EC and save NVS. π«Ά
likeβ¦ it's giving "get everything tucked in before the nap" energy. the wakeup devices get enabled, the EC gets "frozen" (yes, in quotes, that's how the original says it, iykyk), and NVS gets saved. periodt. π
πΈ SYNOPSIS πΈ
int acpi_pm_pre_suspend (void );
returns an int, takes nothing, keeps it cute. β¨
π ARGUMENTS π
voidβ no arguments π
literally zero arguments. not a single one. it's a no-argument main character. π
π¦ SEE ALSO π¦
the whole friend group shows up here, so lemme introduce everyone π«Ά:
- Kernel file
./drivers/acpi/sleep.c acpi_pm_freeze(9)__acpi_pm_prepare(9)acpi_pm_prepare(9)acpi_pm_finish(9)acpi_pm_start(9)acpi_pm_end(9)acpi_suspend_begin(9)acpi_suspend_enter(9)acpi_suspend_begin_old(9)acpi_hibernation_begin_old(9)
like, the entire ./drivers/acpi clique. go say hi to all of them, they're all so valid. π
ok that's the whole page bestie, no filler, every detail accounted for π₯
and for the cute sign-off: this lil page lives under ./drivers/acpi, it's dated October 2026, and it's from the Kernel API Manual. slay, bye π
β¨π
π¦ 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