Lines Matching full:jack
10 #include <sound/jack.h>
20 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
21 SOC_DAPM_PIN_SWITCH("Mic Jack"),
26 SND_SOC_DAPM_HP("Headphone Jack", NULL),
27 SND_SOC_DAPM_MIC("Mic Jack", NULL),
32 /* HP jack connectors - unknown if we have jack detect */
33 {"Headphone Jack", NULL, "HPO Pin"},
34 {"MIC1", NULL, "Mic Jack"},
42 .pin = "Headphone Jack",
46 .pin = "Mic Jack",
55 struct snd_soc_jack *jack; in avs_rt286_codec_init() local
58 jack = snd_soc_card_get_drvdata(card); in avs_rt286_codec_init()
65 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, jack, in avs_rt286_codec_init()
70 return snd_soc_component_set_jack(asoc_rtd_to_codec(runtime, 0)->component, jack, NULL); in avs_rt286_codec_init()
171 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
173 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()
181 struct snd_soc_jack *jack; in avs_rt286_probe() local
196 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt286_probe()
198 if (!jack || !card) in avs_rt286_probe()
215 snd_soc_card_set_drvdata(card, jack); in avs_rt286_probe()