/linux-master/sound/soc/intel/boards/ |
H A D | bytcr_rt5651.c | 28 #include <sound/jack.h> 80 /* jack-detect-source + inv + dmic-en + ovcd-th + -sf + terminating entry */ 87 struct snd_soc_jack jack; member in struct:byt_rt5651_private 93 /* Default: jack-detect on JD1_1, internal mic on in2, headsetmic on in3 */ 112 dev_info(dev, "quirk realtek,jack-detect-source %ld\n", 535 props[cnt++] = PROPERTY_ENTRY_U32("realtek,jack-detect-source", 548 props[cnt++] = PROPERTY_ENTRY_BOOL("realtek,jack-detect-not-inverted"); 575 /* Start with RC clk for jack-detect (we disable MCLK below) */ 656 report, &priv->jack, 660 dev_err(runtime->dev, "jack creatio [all...] |
H A D | skl_hda_dsp_common.c | 10 #include <sound/jack.h>
|
H A D | sof_ssp_amp.c | 16 #include <sound/jack.h>
|
/linux-master/sound/soc/fsl/ |
H A D | fsl-asoc-card.c | 18 #include <sound/jack.h> 471 struct snd_soc_jack *jack = (struct snd_soc_jack *)data; local 472 struct snd_soc_dapm_context *dapm = &jack->card->dapm; 488 struct snd_soc_jack *jack = (struct snd_soc_jack *)data; local 489 struct snd_soc_dapm_context *dapm = &jack->card->dapm; 909 snd_soc_jack_notifier_register(&priv->hp_jack.jack, &hp_jack_nb); 918 snd_soc_jack_notifier_register(&priv->mic_jack.jack, &mic_jack_nb);
|
/linux-master/sound/soc/generic/ |
H A D | simple-card-utils.c | 12 #include <sound/jack.h> 785 snd_soc_card_jack_new_pins(card, pin_name, mask, &sjack->jack, 788 snd_soc_jack_add_gpios(&sjack->jack, 1, &sjack->gpio); 822 struct snd_soc_jack *jack; local 831 /* create jack */ 832 jack = &(priv->aux_jacks[found_jack_index++]); 833 snprintf(id, sizeof(id), "%s-jack", component->name); 834 ret = snd_soc_card_jack_new(card, id, type, jack); 838 (void)snd_soc_component_set_jack(component, jack, NULL);
|
/linux-master/sound/soc/codecs/ |
H A D | cx2072x.c | 25 #include <sound/jack.h> 1361 * FIXME: the whole jack detection code below is pretty platform-specific; 1412 unsigned int jack; local 1418 regmap_read(cx2072x->regmap, CX2072X_PORTA_PIN_SENSE, &jack); 1419 jack = jack >> 24; 1422 if (jack == 0x80) { 1458 struct snd_soc_jack *jack, void *data) 1463 if (!jack) { 1472 err = snd_soc_jack_add_gpios(jack, 1457 cx2072x_set_jack(struct snd_soc_component *codec, struct snd_soc_jack *jack, void *data) argument [all...] |
H A D | nau8824.h | 434 struct snd_soc_jack *jack; member in struct:nau8824 473 struct snd_soc_jack *jack);
|
H A D | hdmi-codec.c | 10 #include <sound/jack.h> 275 struct snd_soc_jack *jack; member in struct:hdmi_codec_priv 855 if (hcp->jack) 856 snd_soc_jack_report(hcp->jack, jack_status, SND_JACK_LINEOUT); 878 struct snd_soc_jack *jack, 884 hcp->jack = jack; 887 * Report the initial jack status which may have been provided 890 snd_soc_jack_report(jack, hcp->jack_status, SND_JACK_LINEOUT); 877 hdmi_codec_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *data) argument
|
H A D | wm8994.c | 22 #include <sound/jack.h> 746 if (!wm8994->jackdet || !wm8994->micdet[0].jack) 776 /* If we're using jack detection go into audio mode */ 3492 * @jack: jack to report detection events on 3503 int wm8994_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, argument 3522 if (jack) 3529 if (jack) 3544 micbias, jack); 3547 micdet->jack 3927 wm8958_mic_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, wm1811_micdet_cb det_cb, void *det_cb_data, wm1811_mic_id_cb id_cb, void *id_cb_data) argument [all...] |
H A D | nau8824.c | 27 #include <sound/jack.h> 514 * detection and button press if jack inserted; otherwise, 814 struct snd_soc_jack *jack = nau8824->jack; local 817 if (nau8824->irq && jack) 818 insert = jack->status & SND_JACK_HEADPHONE; 865 /* Close clock for jack type detection at manual mode */ 897 snd_soc_jack_report(nau8824->jack, event, event_mask); 914 /* Enable jack ejection interruption. */ 970 * and cancel jack detectio 1624 nau8824_enable_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *jack) argument [all...] |
H A D | 88pm860x-codec.c | 23 #include <sound/jack.h> 1250 struct snd_soc_jack *jack, 1256 pm860x->det.hp_jack = jack; 1283 struct snd_soc_jack *jack, int det) 1287 pm860x->det.mic_jack = jack; 1249 pm860x_hs_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, int det, int hook, int hs_shrt, int lo_shrt) argument 1282 pm860x_mic_jack_detect(struct snd_soc_component *component, struct snd_soc_jack *jack, int det) argument
|
H A D | cs42l43-jack.c | 3 // CS42L43 CODEC driver jack handling 23 #include <sound/jack.h> 27 #include <sound/soc-jack.h> 71 struct snd_soc_jack *jack, void *d) 85 dev_err(priv->dev, "Failed to resume for jack config: %d\n", ret); 91 priv->jack_hp = jack; 93 if (!jack) 392 /* Bail if jack removed, the button is irrelevant and likely invalid */ 625 /* Bail if jack removed, the load is irrelevant and likely invalid */ 675 /* Bail if jack remove 70 cs42l43_set_jack(struct snd_soc_component *component, struct snd_soc_jack *jack, void *d) argument [all...] |
H A D | wm5100.c | 28 #include <sound/jack.h> 73 struct snd_soc_jack *jack; member in struct:wm5100_priv 2000 snd_soc_jack_report(wm5100->jack, SND_JACK_HEADPHONE, 2034 snd_soc_jack_report(wm5100->jack, 0, 2053 snd_soc_jack_report(wm5100->jack, 2064 snd_soc_jack_report(wm5100->jack, 0, SND_JACK_BTN_0); 2093 snd_soc_jack_report(wm5100->jack, SND_JACK_BTN_0, 2101 int wm5100_detect(struct snd_soc_component *component, struct snd_soc_jack *jack) argument 2106 if (jack) { 2107 wm5100->jack [all...] |
H A D | arizona.h | 95 /* Variables used by arizona-jack.c code */ 100 struct snd_soc_jack *jack; member in struct:arizona_priv 396 struct snd_soc_jack *jack, void *data);
|
H A D | nau8825.h | 499 struct snd_soc_jack *jack; member in struct:nau8825 535 struct snd_soc_jack *jack);
|
/linux-master/sound/soc/mxs/ |
H A D | mxs-sgtl5000.c | 12 #include <sound/jack.h>
|
/linux-master/sound/soc/samsung/ |
H A D | lowland.c | 9 #include <sound/jack.h> 21 /* Headset jack detection DAPM pins */
|
H A D | tobermory.c | 9 #include <sound/jack.h> 164 /* Headset jack detection DAPM pins */
|
/linux-master/sound/soc/mediatek/mt8173/ |
H A D | mt8173-max98090.c | 11 #include <sound/jack.h> 71 /* enable jack detection */
|
/linux-master/sound/soc/amd/ |
H A D | acp-rt5645.c | 34 #include <sound/jack.h> 97 dev_err(card->dev, "HP jack creation failed %d\n", ret);
|
/linux-master/sound/soc/tegra/ |
H A D | tegra_wm8903.c | 23 #include <sound/jack.h>
|
/linux-master/sound/soc/atmel/ |
H A D | mikroe-proto.c | 15 #include <sound/jack.h>
|
/linux-master/sound/soc/ |
H A D | Makefile | 2 snd-soc-core-y := soc-core.o soc-dapm.o soc-jack.o soc-utils.o soc-dai.o soc-component.o
|
/linux-master/drivers/extcon/ |
H A D | extcon-adc-jack.c | 3 * drivers/extcon/extcon-adc-jack.c 24 #include <linux/extcon/extcon-adc-jack.h> 201 .name = "adc-jack",
|
/linux-master/include/sound/ |
H A D | soc-component.h | 100 struct snd_soc_jack *jack, void *data); 396 struct snd_soc_jack *jack, void *data);
|