sysdev_suspend

Langue: en

Version: May 2009 (fedora - 06/07/09)

Section: 9 (Appels noyau Linux)

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.