'\" t .\" Title: snd_soc_jack_get_type .\" Author: [FIXME: author] [see http://docbook.sf.net/el/author] .\" Generator: DocBook XSL Stylesheets v1.78.1 .\" Date: January 2017 .\" Manual: Miscellaneous Functions .\" Source: Kernel Hackers Manual 4.8.15 .\" Language: English .\" .TH "SND_SOC_JACK_GET_TYP" "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_get_type \- Based on the mic bias value, this function returns the type of jack from the zones declared in the jack type .SH "SYNOPSIS" .HP \w'int\ snd_soc_jack_get_type('u .BI "int snd_soc_jack_get_type(struct\ snd_soc_jack\ *\ " "jack" ", int\ " "micbias_voltage" ");" .SH "ARGUMENTS" .PP \fIjack\fR .RS 4 ASoC jack .RE .PP \fImicbias_voltage\fR .RS 4 mic bias voltage at adc channel when jack is plugged in .RE .SH "DESCRIPTION" .PP Based on the mic bias value passed, this function helps identify the type of jack from the already declared jack zones .SH "COPYRIGHT" .br