1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct snd_soc_jack_pin</title><meta name="generator" content="DocBook XSL Stylesheets V1.78.1"><link rel="home" href="index.html" title="The ALSA Driver API"><link rel="up" href="ch07.html#idp1095227164" title="ASoC Core API"><link rel="prev" href="ch07.html" title="Chapter&#160;7.&#160;ASoC"><link rel="next" href="API-struct-snd-soc-jack-zone.html" title="struct snd_soc_jack_zone"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center"><span class="phrase">struct snd_soc_jack_pin</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="ch07.html">Prev</a>&#160;</td><th width="60%" align="center">ASoC Core API</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-struct-snd-soc-jack-zone.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-snd-soc-jack-pin"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct snd_soc_jack_pin &#8212; 
2  Describes a pin to update based on jack detection
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct snd_soc_jack_pin {
5  const char * pin;
6  int mask;
7  bool invert;
8};  </pre></div><div class="refsect1"><a name="idp1095231500"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">pin</span></dt><dd><p>
9name of the pin to update
10      </p></dd><dt><span class="term">mask</span></dt><dd><p>
11bits to check for in reported jack status
12      </p></dd><dt><span class="term">invert</span></dt><dd><p>
13if non-zero then pin is enabled when status is not reported
14      </p></dd></dl></div></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="ch07.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch07.html#idp1095227164">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-struct-snd-soc-jack-zone.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Chapter&#160;7.&#160;ASoC&#160;</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">&#160;<span class="phrase">struct snd_soc_jack_zone</span></td></tr></table></div></body></html>
15