Home
last modified time | relevance | path

Searched refs:hs_jack (Results 1 – 25 of 25) sorted by relevance

/linux/sound/soc/pxa/
A Dttc-dkb.c17 static struct snd_soc_jack hs_jack, mic_jack; variable
69 &hs_jack, hs_jack_pins, ARRAY_SIZE(hs_jack_pins)); in ttc_pm860x_init()
75 pm860x_hs_jack_detect(component, &hs_jack, SND_JACK_HEADPHONE, in ttc_pm860x_init()
77 pm860x_mic_jack_detect(component, &hs_jack, SND_JACK_MICROPHONE); in ttc_pm860x_init()
A Dpalm27x.c26 static struct snd_soc_jack hs_jack; variable
75 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pins, in palm27x_ac97_init()
80 err = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in palm27x_ac97_init()
A Dz2.c71 static struct snd_soc_jack hs_jack; variable
136 &hs_jack, hs_jack_pins, in z2_wm8750_init()
141 ret = snd_soc_jack_add_gpios(&hs_jack, ARRAY_SIZE(hs_jack_gpios), in z2_wm8750_init()
A Dhx4700.c25 static struct snd_soc_jack hs_jack; variable
126 SND_JACK_HEADPHONE, &hs_jack, hs_jack_pin, in hx4700_ak4641_init()
131 err = snd_soc_jack_add_gpios(&hs_jack, 1, &hs_jack_gpio); in hx4700_ak4641_init()
/linux/sound/soc/codecs/
A Dtwl6040.c64 struct twl6040_jack_data hs_jack; member
292 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_hs_jack_detect() local
294 hs_jack->jack = jack; in twl6040_hs_jack_detect()
295 hs_jack->report = report; in twl6040_hs_jack_detect()
297 twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report); in twl6040_hs_jack_detect()
304 struct twl6040_data, hs_jack.work.work); in twl6040_accessory_work()
306 struct twl6040_jack_data *hs_jack = &priv->hs_jack; in twl6040_accessory_work() local
308 twl6040_hs_jack_report(component, hs_jack->jack, hs_jack->report); in twl6040_accessory_work()
318 &priv->hs_jack.work, msecs_to_jiffies(200)); in twl6040_audio_handler()
1115 INIT_DELAYED_WORK(&priv->hs_jack.work, twl6040_accessory_work); in twl6040_probe()
A Drt700.c162 if (!rt700->hs_jack) in rt700_jack_detect_handler()
196 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_jack_detect_handler()
203 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, in rt700_jack_detect_handler()
250 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type | btn_type, in rt700_btn_check_handler()
257 snd_soc_jack_report(rt700->hs_jack, rt700->jack_type, in rt700_btn_check_handler()
282 if (rt700->hs_jack) { in rt700_jack_init()
315 struct snd_soc_jack *hs_jack, void *data) in rt700_set_jack_detect() argument
319 rt700->hs_jack = hs_jack; in rt700_set_jack_detect()
1222 if (rt700->hs_jack) in rt700_io_init()
A Drt711.c242 if (!rt711->hs_jack) in rt711_jack_detect_handler()
276 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_jack_detect_handler()
283 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_jack_detect_handler()
331 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_btn_check_handler()
338 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_btn_check_handler()
364 if (rt711->hs_jack) { in rt711_jack_init()
450 struct snd_soc_jack *hs_jack, void *data) in rt711_set_jack_detect() argument
454 rt711->hs_jack = hs_jack; in rt711_set_jack_detect()
1322 if (rt711->hs_jack) in rt711_io_init()
A Drt711-sdca.c294 if (!rt711->hs_jack) in rt711_sdca_jack_detect_handler()
322 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_sdca_jack_detect_handler()
329 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_sdca_jack_detect_handler()
408 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type | btn_type, in rt711_sdca_btn_check_handler()
415 snd_soc_jack_report(rt711->hs_jack, rt711->jack_type, in rt711_sdca_btn_check_handler()
434 if (rt711->hs_jack) { in rt711_sdca_jack_init()
487 struct snd_soc_jack *hs_jack, void *data) in rt711_sdca_set_jack_detect() argument
491 rt711->hs_jack = hs_jack; in rt711_sdca_set_jack_detect()
1568 if (rt711->hs_jack) in rt711_sdca_io_init()
A Drt5668.c47 struct snd_soc_jack *hs_jack; member
963 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jd_check_handler()
973 struct snd_soc_jack *hs_jack, void *data) in rt5668_set_jack_detect() argument
1014 rt5668->hs_jack = hs_jack; in rt5668_set_jack_detect()
1088 snd_soc_jack_report(rt5668->hs_jack, rt5668->jack_type, in rt5668_jack_detect_handler()
A Drt711-sdca.h26 struct snd_soc_jack *hs_jack; member
A Drt700.h22 struct snd_soc_jack *hs_jack; member
A Drt5682s.c890 snd_soc_jack_report(rt5682s->hs_jack, rt5682s->jack_type, in rt5682s_jack_detect_handler()
914 snd_soc_jack_report(rt5682s->hs_jack, rt5682s->jack_type, in rt5682s_jd_check_handler()
933 struct snd_soc_jack *hs_jack, void *data) in rt5682s_set_jack_detect() argument
938 rt5682s->hs_jack = hs_jack; in rt5682s_set_jack_detect()
940 if (!hs_jack) { in rt5682s_set_jack_detect()
2812 if (rt5682s->hs_jack && rt5682s->jack_type == SND_JACK_HEADSET) in rt5682s_suspend()
2829 if (rt5682s->hs_jack) { in rt5682s_resume()
A Drt711.h22 struct snd_soc_jack *hs_jack; member
A Drt5682.c1017 struct snd_soc_jack *hs_jack, void *data) in rt5682_set_jack_detect() argument
1021 rt5682->hs_jack = hs_jack; in rt5682_set_jack_detect()
1023 if (!hs_jack) { in rt5682_set_jack_detect()
1165 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jack_detect_handler()
2965 if (rt5682->hs_jack && (rt5682->jack_type & SND_JACK_HEADSET) == SND_JACK_HEADSET) { in rt5682_suspend()
3015 if (rt5682->hs_jack && (rt5682->jack_type & SND_JACK_HEADSET) == SND_JACK_HEADSET) { in rt5682_resume()
A Drt5659.c1341 struct snd_soc_jack *hs_jack) in rt5659_set_jack_detect() argument
1345 rt5659->hs_jack = hs_jack; in rt5659_set_jack_detect()
1419 snd_soc_jack_report(rt5659->hs_jack, report, SND_JACK_HEADSET | in rt5659_jack_detect_work()
1431 if (!rt5659->hs_jack) in rt5659_jack_detect_intel_hd_header()
1452 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
1474 snd_soc_jack_report(rt5659->hs_jack, rt5659->jack_type, in rt5659_jack_detect_intel_hd_header()
A Drt5663.c62 struct snd_soc_jack *hs_jack; member
1868 struct snd_soc_jack *hs_jack, void *data) in rt5663_set_jack_detect() argument
1872 rt5663->hs_jack = hs_jack; in rt5663_set_jack_detect()
1995 snd_soc_jack_report(rt5663->hs_jack, report, SND_JACK_HEADSET | in rt5663_jack_detect_work()
2022 snd_soc_jack_report(rt5663->hs_jack, 0, SND_JACK_HEADSET | in rt5663_jd_unplug_work()
A Drt5682-i2c.c67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler()
A Drt5665.c49 struct snd_soc_jack *hs_jack; member
1252 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jd_check_handler()
1262 struct snd_soc_jack *hs_jack, void *data) in rt5665_set_jack_detect() argument
1285 rt5665->hs_jack = hs_jack; in rt5665_set_jack_detect()
1367 snd_soc_jack_report(rt5665->hs_jack, rt5665->jack_type, in rt5665_jack_detect_handler()
A Drt711-sdca-sdw.c152 if (rt711->hs_jack) { in rt711_sdca_update_status()
A Drt5659.h1798 struct snd_soc_jack *hs_jack; member
1819 struct snd_soc_jack *hs_jack);
A Drt5682s.h1443 struct snd_soc_jack *hs_jack; member
A Drt5682.h1435 struct snd_soc_jack *hs_jack; member
/linux/sound/soc/qcom/
A Dsc7180.c31 struct snd_soc_jack hs_jack; member
59 &pdata->hs_jack, NULL, 0); in sc7180_headset_init()
66 jack = pdata->hs_jack.jack; in sc7180_headset_init()
76 return snd_soc_component_set_jack(component, &pdata->hs_jack, NULL); in sc7180_headset_init()
/linux/sound/soc/ti/
A Domap-twl4030.c35 struct snd_soc_jack hs_jack; member
159 SND_JACK_HEADSET, &priv->hs_jack, in omap_twl4030_init()
165 ret = snd_soc_jack_add_gpios(&priv->hs_jack, in omap_twl4030_init()
A Domap-abe-twl6040.c104 static struct snd_soc_jack hs_jack; variable
186 SND_JACK_HEADSET, &hs_jack, in omap_abe_twl6040_init()
192 twl6040_hs_jack_detect(component, &hs_jack, SND_JACK_HEADSET); in omap_abe_twl6040_init()

Completed in 103 milliseconds