.\" 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_PM_CALLBACK" "9" "09 October 2005" "" ""
.SH NAME
snd_card_set_pm_callback \- set the PCI power-management callbacks
.SH SYNOPSIS
"SYNOPSIS"
.sp
\fB
.sp
int snd_card_set_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
Sets the power-management callback functions of the card.
These callbacks are called from ALSA's common PCI suspend/resume
handler and from the control API.