SND_AC97_UPDATE_BITS

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

 

NAME

snd_ac97_update_bits - update the bits on the given register  

SYNOPSIS

"SYNOPSIS"

int snd_ac97_update_bits (ac97_t * ac97, unsigned short reg, unsigned short mask, unsigned short value);  

ARGUMENTS

ac97
the ac97 instance
reg
the register to change
mask
the bit-mask to change
value
the value to set
 

DESCRIPTION

Updates the masked-bits on the given register only when the value is changed.

Returns 1 if the bits are changed, 0 if no change, or a negative code on failure.


 

Index

NAME
SYNOPSIS
ARGUMENTS
DESCRIPTION

This document was created by man2html, using the manual pages.
Time: 05:30:57 GMT, October 06, 2005