'\" t .\" Title: snd_soc_jack_report .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.79.1 .\" Date: January 2017 .\" Manual: Miscellaneous Functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_JACK_REPORT" "9" "January 2017" "Kernel Hackers Manual 4\&.8\&." "Miscellaneous Functions" .\" ----------------------------------------------------------------- .\" * 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_jack_report \- Report the current status for a jack .SH "SYNOPSIS" .HP \w'void\ snd_soc_jack_report('u .BI "void snd_soc_jack_report(struct\ snd_soc_jack\ *\ " "jack" ", int\ " "status" ", int\ " "mask" ");" .SH "ARGUMENTS" .PP \fIjack\fR .RS 4 the jack .RE .PP \fIstatus\fR .RS 4 a bitmask of enum snd_jack_type values that are currently detected\&. .RE .PP \fImask\fR .RS 4 a bitmask of enum snd_jack_type values that being reported\&. .RE .SH "DESCRIPTION" .PP If configured using \fBsnd_soc_jack_add_pins\fR then the associated DAPM pins will be enabled or disabled as appropriate and DAPM synchronised\&. .SH "NOTE" .PP This function uses mutexes and should be called from a context which can sleep (such as a workqueue)\&. .SH "COPYRIGHT" .br