Lines Matching full:jack
11 #include <sound/jack.h>
31 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
32 SOC_DAPM_PIN_SWITCH("Mic Jack"),
37 SND_SOC_DAPM_HP("Headphone Jack", NULL),
38 SND_SOC_DAPM_MIC("Mic Jack", NULL),
43 /* HP jack connectors - unknown if we have jack detect */
44 {"Headphone Jack", NULL, "HPO Pin"},
45 {"MIC1", NULL, "Mic Jack"},
53 .pin = "Headphone Jack",
57 .pin = "Mic Jack",
66 struct snd_soc_jack *jack; in avs_rt298_codec_init() local
69 jack = snd_soc_card_get_drvdata(card); in avs_rt298_codec_init()
76 ret = snd_soc_card_jack_new_pins(card, "Headset", SND_JACK_HEADSET | SND_JACK_BTN_0, jack, in avs_rt298_codec_init()
81 return snd_soc_component_set_jack(asoc_rtd_to_codec(runtime, 0)->component, jack, NULL); in avs_rt298_codec_init()
191 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
193 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()
201 struct snd_soc_jack *jack; in avs_rt298_probe() local
216 jack = devm_kzalloc(dev, sizeof(*jack), GFP_KERNEL); in avs_rt298_probe()
218 if (!jack || !card) in avs_rt298_probe()
235 snd_soc_card_set_drvdata(card, jack); in avs_rt298_probe()