.\" 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 "SUSPEND_PREPARE" "9" "09 October 2005" "" "" .SH NAME suspend_prepare \- Do prep work before entering low-power state. .SH SYNOPSIS "SYNOPSIS" .sp \fB .sp int suspend_prepare (suspend_state_t \fIstate\fB); \fR .SH "ARGUMENTS" .TP \fB\fIstate\fB\fR State we're entering. .SH "DESCRIPTION" .PP This is common code that is called for each state that we're entering. Allocate a console, stop all processes, then make sure the platform can enter the requested state.