1SND_AC97_UPDATE_BITS(9)        Control/Mixer API       SND_AC97_UPDATE_BITS(9)
2
3
4

NAME

6       snd_ac97_update_bits - update the bits on the given register
7

SYNOPSIS

9       int snd_ac97_update_bits(struct snd_ac97 * ac97, unsigned short reg,
10                                unsigned short mask, unsigned short value);
11

ARGUMENTS

13       ac97
14           the ac97 instance
15
16       reg
17           the register to change
18
19       mask
20           the bit-mask to change
21
22       value
23           the value to set
24

DESCRIPTION

26       Updates the masked-bits on the given register only when the value is
27       changed.
28
29       Returns 1 if the bits are changed, 0 if no change, or a negative code
30       on failure.
31
33Kernel Hackers Manual 2.6.       November 2011         SND_AC97_UPDATE_BITS(9)
Impressum