1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>struct snd_soc_jack_zone</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="API-struct-snd-soc-jack-pin.html" title="struct snd_soc_jack_pin"><link rel="next" href="API-struct-snd-soc-jack-gpio.html" title="struct snd_soc_jack_gpio"></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_zone</span></th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-struct-snd-soc-jack-pin.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-gpio.html">Next</a></td></tr></table><hr></div><div class="refentry"><a name="API-struct-snd-soc-jack-zone"></a><div class="titlepage"></div><div class="refnamediv"><h2>Name</h2><p>struct snd_soc_jack_zone &#8212; 
2     Describes voltage zones of jack detection
3 </p></div><div class="refsynopsisdiv"><h2>Synopsis</h2><pre class="programlisting">
4struct snd_soc_jack_zone {
5  unsigned int min_mv;
6  unsigned int max_mv;
7  unsigned int jack_type;
8  unsigned int debounce_time;
9};  </pre></div><div class="refsect1"><a name="idp1095238204"></a><h2>Members</h2><div class="variablelist"><dl class="variablelist"><dt><span class="term">min_mv</span></dt><dd><p>
10   start voltage in mv
11      </p></dd><dt><span class="term">max_mv</span></dt><dd><p>
12   end voltage in mv
13      </p></dd><dt><span class="term">jack_type</span></dt><dd><p>
14   type of jack that is expected for this voltage
15      </p></dd><dt><span class="term">debounce_time</span></dt><dd><p>
16   debounce_time for jack, codec driver should wait for this
17   duration before reading the adc for voltages
18   @:list: list container
19      </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="API-struct-snd-soc-jack-pin.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-gpio.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">struct snd_soc_jack_pin</span>&#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_gpio</span></td></tr></table></div></body></html>
20