other versions
- jessie 3.16.56-1+deb8u1
SND_AC97_UPDATE_BITS(9) | Control/Mixer API | SND_AC97_UPDATE_BITS(9) |
NAME¶
snd_ac97_update_bits - update the bits on the given registerSYNOPSIS¶
int
snd_ac97_update_bits(struct snd_ac97 * ac97,
unsigned short reg,
unsigned short mask,
unsigned short value);
ARGUMENTS¶
ac97the 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.RETURN¶
1 if the bits are changed, 0 if no change, or a negative code on failure.COPYRIGHT¶
May 2018 | Kernel Hackers Manual 3.16 |