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

RETURN

27       1 if the value is changed, 0 if no change, or a negative code on
28       failure.
29
31Kernel Hackers Manual 3.10         June 2019                SND_AC97_UPDATE(9)
Impressum