acpi_dev_po...ate_for_wake(9)

πŸ“¦ version 7.3.1, in nixpkgs unstable

okay so welcome to the Kernel API Manual, bestie πŸ’… this page is all about acpi_dev_power_state_for_wake(9) β€” and yeah, the running header squishes it to acpi_dev_po...ate_for_wake(9), but the full name is right there in NAME. Let's get into it 🫢

πŸ’– NAME πŸ’–

acpi_dev_power_state_for_wake β€” deepest power state for wakeup signaling. No cap, that's the whole vibe ✨

✨ SYNOPSIS ✨

u8 acpi_dev_power_state_for_wake (struct acpi_device *adev );

πŸ’… ARGUMENTS πŸ’…

  • adev β€” the ACPI companion of the target device. That's your main character here πŸŽ€

πŸŽ€ DESCRIPTION πŸŽ€

So this cutie evaluates _S0W for adev and returns the value produced by it. If there's an error β€” and yes, that includes the case where _S0W is not present β€” it returns ACPI_STATE_UNKNOWN. Simple, iconic, done πŸ’–

πŸ¦‹ SEE ALSO πŸ¦‹

Kernel file: ./drivers/acpi/device_pm.c β€” that's where the magic lives πŸ”₯

And these function besties are all linked:


mwah πŸ’‹ this page's source/version is ./drivers/acpi and the date is October 2026. go be iconic with your wakeup signaling, bestie β€” bye! 🫢✨

πŸ“¦ where this page comes from