'\" t .\" Title: snd_soc_jack_add_gpios .\" 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_ADD_GPI" "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_add_gpios \- Associate GPIO pins with an ASoC jack .SH "SYNOPSIS" .HP \w'int\ snd_soc_jack_add_gpios('u .BI "int snd_soc_jack_add_gpios(struct\ snd_soc_jack\ *\ " "jack" ", int\ " "count" ", struct\ snd_soc_jack_gpio\ *\ " "gpios" ");" .SH "ARGUMENTS" .PP \fIjack\fR .RS 4 ASoC jack .RE .PP \fIcount\fR .RS 4 number of pins .RE .PP \fIgpios\fR .RS 4 array of gpio pins .RE .SH "DESCRIPTION" .PP This function will request gpio, set data direction and request irq for each gpio in the array\&. .SH "COPYRIGHT" .br