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

NAME

       snd_card_set_generic_pm_callback  -  set  the  generic power-management
       callbacks

SYNOPSIS

       int snd_card_set_generic_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

       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.