Lines Matching full:jack
7 #include <sound/jack.h>
14 SND_SOC_DAPM_HP("Headphone Jack", NULL),
15 SND_SOC_DAPM_MIC("Mic Jack", NULL),
16 SND_SOC_DAPM_SPK("DP0 Jack", NULL),
17 SND_SOC_DAPM_SPK("DP1 Jack", NULL),
18 SND_SOC_DAPM_SPK("DP2 Jack", NULL),
19 SND_SOC_DAPM_SPK("DP3 Jack", NULL),
20 SND_SOC_DAPM_SPK("DP4 Jack", NULL),
21 SND_SOC_DAPM_SPK("DP5 Jack", NULL),
22 SND_SOC_DAPM_SPK("DP6 Jack", NULL),
23 SND_SOC_DAPM_SPK("DP7 Jack", NULL),
189 .pin = "Mic Jack",
193 .pin = "Headphone Jack",
199 struct snd_soc_jack *jack, bool *jack_setup) in qcom_snd_wcd_jack_setup() argument
207 rval = snd_soc_card_jack_new_pins(card, "Headset Jack", in qcom_snd_wcd_jack_setup()
213 jack, qcom_headset_jack_pins, in qcom_snd_wcd_jack_setup()
217 dev_err(card->dev, "Unable to add Headphone Jack\n"); in qcom_snd_wcd_jack_setup()
221 snd_jack_set_key(jack->jack, SND_JACK_BTN_0, KEY_MEDIA); in qcom_snd_wcd_jack_setup()
222 snd_jack_set_key(jack->jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in qcom_snd_wcd_jack_setup()
223 snd_jack_set_key(jack->jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in qcom_snd_wcd_jack_setup()
224 snd_jack_set_key(jack->jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in qcom_snd_wcd_jack_setup()
235 jack, NULL); in qcom_snd_wcd_jack_setup()
237 dev_warn(card->dev, "Failed to set jack: %d\n", rval); in qcom_snd_wcd_jack_setup()
260 snprintf(jack_name, sizeof(jack_name), "DP%d Jack", dp_pcm_id); in qcom_snd_dp_jack_setup()
268 dev_warn(card->dev, "Failed to set jack: %d\n", rval); in qcom_snd_dp_jack_setup()