'\" t .\" Title: snd_soc_component_test_bits .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: April 2019 .\" Manual: ASoC .\" Source: Kernel Hackers Manual 4.9.168 .\" Language: English .\" .TH "SND_SOC_COMPONENT_TE" "9" "April 2019" "Kernel Hackers Manual 4\&.9\&." "ASoC" .\" ----------------------------------------------------------------- .\" * 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_soc_component_test_bits \- Test register for change .SH "SYNOPSIS" .HP \w'int\ snd_soc_component_test_bits('u .BI "int snd_soc_component_test_bits(struct\ snd_soc_component\ *\ " "component" ", unsigned\ int\ " "reg" ", unsigned\ int\ " "mask" ", unsigned\ int\ " "value" ");" .SH "ARGUMENTS" .PP \fIcomponent\fR .RS 4 component .RE .PP \fIreg\fR .RS 4 Register to test .RE .PP \fImask\fR .RS 4 Mask that specifies which bits to test .RE .PP \fIvalue\fR .RS 4 Value to test against .RE .SH "DESCRIPTION" .PP Tests a register with a new value and checks if the new value is different from the old value\&. .SH "RETURN" .PP 1 for change, otherwise 0\&. .SH "COPYRIGHT" .br