table of contents
SYSDEV_SUSPEND(9) | Device drivers infrastructure | SYSDEV_SUSPEND(9) |
NAME¶
sysdev_suspend - Suspend all system devices.
SYNOPSIS¶
int sysdev_suspend(pm_message_t state);
ARGUMENTS¶
state
Power state to enter.
DESCRIPTION¶
We perform an almost identical operation as sysdev_shutdown above, though calling ->suspend instead. Interrupts are disabled when this called. Devices are responsible for both saving state and quiescing or powering down the device.
This is only called by the device PM core, so we let them handle all synchronization.
COPYRIGHT¶
May 2024 | Kernel Hackers Manual 2.6. |