.\" This manpage has been automatically generated by docbook2man .\" from a DocBook document. This tool can be found at: .\" .\" Please send any bug reports, improvements, comments, patches, .\" etc. to Steve Cheng . .TH "SYSDEV_SUSPEND" "" "06 October 2005" "" "" .SH NAME sysdev_suspend \- Suspend all system devices. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int sysdev_suspend (u32 \fIstate\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstate\fB\fR Power state to enter. .SH "DESCRIPTION" .PP We perform an almost identical operation as \fBsys_device_shutdown\fR above, though calling ->\fBsuspend\fR instead. .SH "NOTE" .PP Interrupts are disabled when called, so we can't sleep when trying to get the subsystem's rwsem. If that happens, print a nasty warning and return an error.