SYSDEV_SUSPEND

Section: Device drivers infrastructure (9)
Updated: February 2011
Index Return to Main Contents
 

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