Provided by: linux-doc-2.6.15_2.6.15-23.39_all bug

NAME

       snd_card_set_pm_callback - set the PCI power-management callbacks

SYNOPSIS

       int snd_card_set_pm_callback  (snd_card_t * card,
                                       int (*suspend) <funcparams>snd_card_t *, pm_message_t</funcparams>,
                                       int (*resume) <funcparams>snd_card_t *</funcparams>,
                                       void * private_data);

ARGUMENTS

       card   soundcard structure

       suspend
              suspend callback function

       resume resume callback function

       private_data
              private data to pass to the callback functions

DESCRIPTION

       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.