Lines Matching refs:jack
39 static void sc7280_jack_free(struct snd_jack *jack) in sc7280_jack_free() argument
41 struct snd_soc_component *component = jack->private_data; in sc7280_jack_free()
64 struct snd_jack *jack; in sc7280_headset_init() local
83 jack = pdata->hs_jack.jack; in sc7280_headset_init()
85 snd_jack_set_key(jack, SND_JACK_BTN_0, KEY_PLAYPAUSE); in sc7280_headset_init()
86 snd_jack_set_key(jack, SND_JACK_BTN_1, KEY_VOICECOMMAND); in sc7280_headset_init()
87 snd_jack_set_key(jack, SND_JACK_BTN_2, KEY_VOLUMEUP); in sc7280_headset_init()
88 snd_jack_set_key(jack, SND_JACK_BTN_3, KEY_VOLUMEDOWN); in sc7280_headset_init()
90 jack->private_data = component; in sc7280_headset_init()
91 jack->private_free = sc7280_jack_free; in sc7280_headset_init()
120 struct snd_jack *jack; in sc7280_hdmi_init() local
131 jack = pdata->hdmi_jack.jack; in sc7280_hdmi_init()
132 jack->private_data = component; in sc7280_hdmi_init()
133 jack->private_free = sc7280_jack_free; in sc7280_hdmi_init()