.\" 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 "SND_CARD_SET_GENERIC_PM_CALLBACK" "9" "09 October 2005" "" ""
.SH NAME
snd_card_set_generic_pm_callback \- set the generic power-management callbacks
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_card_set_generic_pm_callback (snd_card_t * \fIcard\fB, int (*\fIsuspend\fB)
snd_card_t *, pm_message_t, int (*\fIresume\fB)
snd_card_t *, void * \fIprivate_data\fB);
\fR
.SH "ARGUMENTS"
.TP
\fB\fIcard\fB\fR
soundcard structure
.TP
\fB\fIsuspend\fB\fR
suspend callback function
.TP
\fB\fIresume\fB\fR
resume callback function
.TP
\fB\fIprivate_data\fB\fR
private data to pass to the callback functions
.SH "DESCRIPTION"
.PP
Registers the power-management and sets the lowlevel callbacks for
the given card. These callbacks are called from the ALSA's common
PM handler and from the control API.