'\" t .\" Title: snd_ac97_update_bits .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Control/Mixer API .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_AC97_UPDATE_BITS" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Control/Mixer API" .\" ----------------------------------------------------------------- .\" * Define some portability stuff .\" ----------------------------------------------------------------- .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .\" http://bugs.debian.org/507673 .\" http://lists.gnu.org/archive/html/groff/2009-02/msg00013.html .\" ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ .ie \n(.g .ds Aq \(aq .el .ds Aq ' .\" ----------------------------------------------------------------- .\" * set default formatting .\" ----------------------------------------------------------------- .\" disable hyphenation .nh .\" disable justification (adjust text to left margin only) .ad l .\" ----------------------------------------------------------------- .\" * MAIN CONTENT STARTS HERE * .\" ----------------------------------------------------------------- .SH "NAME" snd_ac97_update_bits \- update the bits on the given register .SH "SYNOPSIS" .HP \w'int\ snd_ac97_update_bits('u .BI "int snd_ac97_update_bits(struct\ snd_ac97\ *\ " "ac97" ", unsigned\ short\ " "reg" ", unsigned\ short\ " "mask" ", unsigned\ short\ " "value" ");" .SH "ARGUMENTS" .PP \fIac97\fR .RS 4 the ac97 instance .RE .PP \fIreg\fR .RS 4 the register to change .RE .PP \fImask\fR .RS 4 the bit\-mask to change .RE .PP \fIvalue\fR .RS 4 the value to set .RE .SH "DESCRIPTION" .PP Updates the masked\-bits on the given register only when the value is changed\&. .SH "RETURN" .PP 1 if the bits are changed, 0 if no change, or a negative code on failure\&. .SH "COPYRIGHT" .br