1<html><head><meta http-equiv="Content-Type" content="text/html; charset=ANSI_X3.4-1968"><title>Jack Abstraction Layer API</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="ch08.html" title="Chapter&#160;8.&#160;Miscellaneous Functions"><link rel="prev" href="API-snd-hwdep-new.html" title="snd_hwdep_new"><link rel="next" href="API-enum-snd-jack-types.html" title="enum snd_jack_types"></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">Jack Abstraction Layer API</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="API-snd-hwdep-new.html">Prev</a>&#160;</td><th width="60%" align="center">Chapter&#160;8.&#160;Miscellaneous Functions</th><td width="20%" align="right">&#160;<a accesskey="n" href="API-enum-snd-jack-types.html">Next</a></td></tr></table><hr></div><div class="sect1"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="idp1096031596"></a>Jack Abstraction Layer API</h2></div></div></div><div class="toc"><dl class="toc"><dt><span class="refentrytitle"><a href="API-enum-snd-jack-types.html"><span class="phrase">enum snd_jack_types</span></a></span><span class="refpurpose"> &#8212; 
2  Jack types which can be reported
3 </span></dt><dt><span class="refentrytitle"><a href="API-snd-jack-new.html"><span class="phrase">snd_jack_new</span></a></span><span class="refpurpose"> &#8212; 
4  Create a new jack
5 </span></dt><dt><span class="refentrytitle"><a href="API-snd-jack-set-parent.html"><span class="phrase">snd_jack_set_parent</span></a></span><span class="refpurpose"> &#8212; 
6     Set the parent device for a jack
7 </span></dt><dt><span class="refentrytitle"><a href="API-snd-jack-set-key.html"><span class="phrase">snd_jack_set_key</span></a></span><span class="refpurpose"> &#8212; 
8     Set a key mapping on a jack
9 </span></dt><dt><span class="refentrytitle"><a href="API-snd-jack-report.html"><span class="phrase">snd_jack_report</span></a></span><span class="refpurpose"> &#8212; 
10     Report the current status of a jack
11 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-card-jack-new.html"><span class="phrase">snd_soc_card_jack_new</span></a></span><span class="refpurpose"> &#8212; 
12  Create a new jack
13 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-report.html"><span class="phrase">snd_soc_jack_report</span></a></span><span class="refpurpose"> &#8212; 
14     Report the current status for a jack
15 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-add-zones.html"><span class="phrase">snd_soc_jack_add_zones</span></a></span><span class="refpurpose"> &#8212; 
16     Associate voltage zones with jack
17 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-get-type.html"><span class="phrase">snd_soc_jack_get_type</span></a></span><span class="refpurpose"> &#8212; 
18     Based on the mic bias value, this function returns the type of jack from the zones declared in the jack type
19 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-add-pins.html"><span class="phrase">snd_soc_jack_add_pins</span></a></span><span class="refpurpose"> &#8212; 
20     Associate DAPM pins with an ASoC jack
21 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-notifier-register.html"><span class="phrase">snd_soc_jack_notifier_register</span></a></span><span class="refpurpose"> &#8212; 
22     Register a notifier for jack status
23 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-notifier-unregister.html"><span class="phrase">snd_soc_jack_notifier_unregister</span></a></span><span class="refpurpose"> &#8212; 
24     Unregister a notifier for jack status
25 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-add-gpios.html"><span class="phrase">snd_soc_jack_add_gpios</span></a></span><span class="refpurpose"> &#8212; 
26     Associate GPIO pins with an ASoC jack
27 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-add-gpiods.html"><span class="phrase">snd_soc_jack_add_gpiods</span></a></span><span class="refpurpose"> &#8212; 
28     Associate GPIO descriptor pins with an ASoC jack
29 </span></dt><dt><span class="refentrytitle"><a href="API-snd-soc-jack-free-gpios.html"><span class="phrase">snd_soc_jack_free_gpios</span></a></span><span class="refpurpose"> &#8212; 
30     Release GPIO pins' resources of an ASoC jack
31 </span></dt></dl></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="API-snd-hwdep-new.html">Prev</a>&#160;</td><td width="20%" align="center"><a accesskey="u" href="ch08.html">Up</a></td><td width="40%" align="right">&#160;<a accesskey="n" href="API-enum-snd-jack-types.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top"><span class="phrase">snd_hwdep_new</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">enum snd_jack_types</span></td></tr></table></div></body></html>
32