Lines Matching full:jack
10 #include <sound/jack.h>
21 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
22 SOC_DAPM_PIN_SWITCH("Mic Jack"),
27 SND_SOC_DAPM_HP("Headphone Jack", NULL),
28 SND_SOC_DAPM_MIC("Mic Jack", NULL),
33 /* HP jack connectors - unknown if we have jack detect */
34 {"Headphone Jack", NULL, "HPO Pin"},
35 {"MIC1", NULL, "Mic Jack"},
43 .pin = "Headphone Jack",
47 .pin = "Mic Jack",
56 struct snd_soc_jack *jack; in avs_rt286_codec_init() local
59 jack = snd_soc_card_get_drvdata(card); in avs_rt286_codec_init()
66 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET | SND_JACK_BTN_0, in avs_rt286_codec_init()
67 jack, pins, num_pins); in avs_rt286_codec_init()
71 return snd_soc_component_set_jack(snd_soc_rtd_to_codec(runtime, 0)->component, jack, NULL); in avs_rt286_codec_init()
174 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
176 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()
184 struct snd_soc_jack *jack; in avs_rt286_probe() local
203 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt286_probe()
205 if (!jack || !card) in avs_rt286_probe()
222 snd_soc_card_set_drvdata(card, jack); in avs_rt286_probe()