/linux-master/sound/soc/codecs/ |
H A D | rt5670.c | 23 #include <sound/jack.h> 426 * Detect whether is headset or not when jack inserted. 517 struct snd_soc_jack *jack = rt5670->jack; local 518 int val, btn_type, report = jack->status; 526 /* jack in */ 531 /* for push button and jack out */ 561 /* jack out */ 568 gpio->debounce_time = 150; /* for jack in */ 578 struct snd_soc_jack *jack) 577 rt5670_set_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *jack) argument [all...] |
H A D | wm8962.c | 27 #include <sound/jack.h> 71 struct snd_soc_jack *jack; member in struct:wm8962_priv 3078 snd_soc_jack_report(wm8962->jack, status, 3180 * @jack: jack to report detection events on 3187 * If no jack is supplied detection will be disabled. 3189 int wm8962_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack) argument 3195 wm8962->jack = jack; 3196 if (jack) { [all...] |
H A D | cs42l42.c | 570 cs42l42->jack = jk; 1703 * cleared the flags. If the jack is unplugged and plugged during 1712 snd_soc_jack_report(cs42l42->jack, SND_JACK_HEADSET, 1718 snd_soc_jack_report(cs42l42->jack, SND_JACK_HEADPHONE, 1745 snd_soc_jack_report(cs42l42->jack, 0, 1766 snd_soc_jack_report(cs42l42->jack, 0, 1770 snd_soc_jack_report(cs42l42->jack, 2226 * If jack was unplugged and re-plugged during suspend it could
|
H A D | nau8821.c | 22 #include <sound/jack.h> 606 * detection and button press if jack inserted; otherwise, 1019 /* return jack connection status according to jack insertion logic 1073 /* Close clock for jack type detection at manual mode */ 1142 snd_soc_jack_report(nau8821->jack, event, event_mask); 1206 /* detect microphone and jack type */ 1232 snd_soc_jack_report(nau8821->jack, event, event_mask); 1521 /* Close clock when jack type detection at manual mode */ 1567 /* Reset the configuration of jack typ 1647 nau8821_enable_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *jack) argument [all...] |
H A D | nau8821.h | 563 struct snd_soc_jack *jack; member in struct:nau8821 584 struct snd_soc_jack *jack);
|
H A D | cs43130.h | 538 struct snd_soc_jack jack; member in struct:cs43130_private
|
H A D | rt5682-i2c.c | 23 #include <sound/jack.h> 61 /* jack out */
|
H A D | hdac_hdmi.c | 21 #include <sound/jack.h> 104 struct snd_soc_jack *jack; member in struct:hdac_hdmi_pcm 172 "jack report for pcm=%d\n", 174 snd_soc_jack_report(pcm->jack, SND_JACK_AVOUT, 185 snd_soc_jack_report(pcm->jack, 0, SND_JACK_AVOUT); 1308 * report jack here. It will be done in usermode mux 1771 /* create jack pin kcontrols */ 1890 struct snd_soc_jack *jack) 1909 pcm->jack = jack; 1889 hdac_hdmi_jack_init(struct snd_soc_dai *dai, int device, struct snd_soc_jack *jack) argument [all...] |
H A D | cs43130.c | 33 #include <sound/jack.h> 2193 snd_soc_jack_report(&cs43130->jack, CS43130_JACK_LINEOUT, 2196 snd_soc_jack_report(&cs43130->jack, CS43130_JACK_HEADPHONE, 2331 snd_soc_jack_report(&cs43130->jack, 0, CS43130_JACK_MASK); 2342 snd_soc_jack_report(&cs43130->jack, SND_JACK_MECHANICAL, 2368 &cs43130->jack); 2370 dev_err(cs43130->dev, "Cannot create jack\n");
|
H A D | pcm186x.c | 22 #include <sound/jack.h>
|
H A D | rt5651.c | 26 #include <sound/jack.h> 1546 /* Leave PLL1 and jack-detect power as is, all others off */ 1624 dev_dbg(component->dev, "jack-detect gpio %d\n", val); 1679 /* Check the jack was not removed underneath us */ 1696 * The pins get temporarily shorted on jack unplug, so we poll for 1731 * We get the insertion event before the jack is fully inserted at which 1743 /* Check the jack is still connected before checking ovcd */ 1776 /* Button press support only works with internal jack-detection */ 1798 dev_dbg(component->dev, "jack unplugged\n"); 1822 * IRQs on both edges (so as to detect both jack plugi 1984 rt5651_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) argument [all...] |
/linux-master/sound/soc/samsung/ |
H A D | aries_wm8994.c | 10 #include <sound/jack.h> 61 /* Headset jack */ 142 /* Filter out keypresses when 4 pole jack not detected */ 392 snd_jack_set_key(aries_headset.jack, SND_JACK_BTN_0, KEY_MEDIA);
|
H A D | bells.c | 9 #include <sound/jack.h>
|
H A D | midas_wm1811.c | 14 #include <sound/jack.h> 61 * If no new rate is requested, set FLL1 to a sane default for jack
|
/linux-master/sound/soc/intel/boards/ |
H A D | bdw-rt5677.c | 17 #include <sound/jack.h> 56 /* Headset jack connectors */ 258 /* Create and initialize headphone jack */ 265 dev_err(component->dev, "Can't add headphone jack gpio\n"); 267 dev_err(component->dev, "Can't create headphone jack\n"); 270 /* Create and initialize mic jack */ 276 dev_err(component->dev, "Can't add mic jack gpio\n"); 278 dev_err(component->dev, "Can't create mic jack\n");
|
H A D | sof_pcm512x.c | 16 #include <sound/jack.h>
|
H A D | bxt_rt298.c | 17 #include <sound/jack.h> 23 /* Headset jack detection DAPM pins */ 81 /* HP jack connectors - unknown if we have jack detect */ 119 /* HP jack connectors - unknown if we have jack detect */
|
H A D | kbl_rt5660.c | 19 #include <sound/jack.h> 175 /* Create and initialize headphone jack, this jack is not mandatory, don't return if fails */ 180 dev_warn(component->dev, "Can't create Lineout jack\n"); 186 dev_warn(component->dev, "Can't add Lineout jack gpio\n"); 189 /* Create and initialize mic jack, this jack is not mandatory, don't return if fails */ 194 dev_warn(component->dev, "Can't create mic jack\n"); 199 dev_warn(component->dev, "Can't add mic jack gpio\n");
|
/linux-master/sound/soc/ti/ |
H A D | rx51.c | 17 #include <sound/jack.h> 199 .name = "jack-detection", 274 /* AV jack detection */
|
H A D | omap-abe-twl6040.c | 18 #include <sound/jack.h> 39 int jack_detection; /* board can detect jack events */ 103 /* Headset jack */ 106 /*Headset jack detection DAPM pins */ 183 /* Headset jack detection only if it is supported */ 286 priv->jack_detection = of_property_read_bool(node, "ti,jack-detection");
|
H A D | ams-delta.c | 17 #include <sound/jack.h>
|
/linux-master/include/sound/ |
H A D | simple_card_utils.h | 46 struct snd_soc_jack jack; member in struct:simple_util_jack
|
/linux-master/sound/x86/ |
H A D | intel_hdmi_audio.c | 31 #include <sound/jack.h> 1343 snd_jack_report(intelhaddata->jack, SND_JACK_AVOUT); 1378 snd_jack_report(intelhaddata->jack, 0); 1608 SND_JACK_AVOUT, &ctx->jack, 1612 ctx->jack->private_data = ctx;
|
/linux-master/sound/pci/hda/ |
H A D | patch_sigmatel.c | 21 #include <sound/jack.h> 59 STAC_92HD73XX_NO_JD, /* no jack-detection */ 149 STAC_D965_REF_NO_JD, /* no jack-detection */ 175 unsigned int headset_jack:1; /* 4-pin headset jack (hp + mono mic) */ 464 /* update power bit per jack plug/unplug */ 466 struct hda_jack_callback *jack) 474 if (jack && jack->nid) { 475 stac_toggle_power_map(codec, jack->nid, 476 snd_hda_jack_detect(codec, jack 465 jack_update_power(struct hda_codec *codec, struct hda_jack_callback *jack) argument 3073 struct hda_jack_callback *jack; local 4115 struct hda_jack_callback *jack; local [all...] |
H A D | patch_conexant.c | 15 #include <sound/jack.h> 439 * through the microphone jack. 529 struct hda_jack_callback *jack) 535 snd_hda_gen_mic_autoswitch(codec, jack); 903 { 0x18, 0x03a1913d }, /* use as headphone mic, without its own jack detect */ 528 olpc_xo_automic(struct hda_codec *codec, struct hda_jack_callback *jack) argument
|