Lines Matching full:jack
12 #include <sound/jack.h>
23 struct snd_soc_jack jack; member
27 SOC_DAPM_PIN_SWITCH("Headphone Jack"),
32 SND_SOC_DAPM_HP("Headphone Jack", NULL),
37 /* HP jack connectors */
38 { "Headphone Jack", NULL, "HPOL" },
39 { "Headphone Jack", NULL, "HPOR" },
48 .pin = "Headphone Jack",
62 struct snd_soc_jack *jack; in avs_rt5663_codec_init() local
65 jack = &priv->jack; in avs_rt5663_codec_init()
72 ret = snd_soc_card_jack_new_pins(card, "Headset Jack", SND_JACK_HEADSET | SND_JACK_BTN_0 | in avs_rt5663_codec_init()
73 SND_JACK_BTN_1 | SND_JACK_BTN_2 | SND_JACK_BTN_3, jack, in avs_rt5663_codec_init()
78 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in avs_rt5663_codec_init()
79 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in avs_rt5663_codec_init()
80 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in avs_rt5663_codec_init()
81 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in avs_rt5663_codec_init()
83 snd_soc_component_set_jack(snd_soc_rtd_to_codec(runtime, 0)->component, jack, NULL); in avs_rt5663_codec_init()
193 struct snd_soc_jack *jack = snd_soc_card_get_drvdata(card); in avs_card_resume_post() local
195 return snd_soc_component_set_jack(codec_dai->component, jack, NULL); in avs_card_resume_post()