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

NAME

6       snd_ac97_update - update the value on the given register
7

SYNOPSIS

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

ARGUMENTS

13       ac97
14           the ac97 instance
15
16       reg
17           the register to change
18
19       value
20           the value to set
21

DESCRIPTION

23       Compares the value with the register cache and updates the value only
24       when the value is changed.
25
26       Returns 1 if the value is changed, 0 if no change, or a negative code
27       on failure.
28
30Kernel Hackers Manual 2.6.         June 2019                SND_AC97_UPDATE(9)
Impressum