SND_CARD_SET_GENERIC_PM_CALLBACK

Section: (9)
Updated: 09 October 2005
Index Return to Main Contents

 

NAME

snd_card_set_generic_pm_callback - set the generic power-management callbacks  

SYNOPSIS

"SYNOPSIS"

int snd_card_set_generic_pm_callback (snd_card_t * card, int (*suspend) snd_card_t *, pm_message_t, int (*resume) snd_card_t *, 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.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 00:02:50 GMT, October 09, 2005