/linux/sound/soc/pxa/ |
A D | ttc-dkb.c | 17 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 D | palm27x.c | 26 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 D | z2.c | 71 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 D | hx4700.c | 25 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 D | twl6040.c | 64 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 D | rt700.c | 162 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 D | rt711.c | 242 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 D | rt711-sdca.c | 294 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 D | rt5668.c | 47 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 D | rt711-sdca.h | 26 struct snd_soc_jack *hs_jack; member
|
A D | rt700.h | 22 struct snd_soc_jack *hs_jack; member
|
A D | rt5682s.c | 890 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 D | rt711.h | 22 struct snd_soc_jack *hs_jack; member
|
A D | rt5682.c | 1017 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 D | rt5659.c | 1341 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 D | rt5663.c | 62 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 D | rt5682-i2c.c | 67 snd_soc_jack_report(rt5682->hs_jack, rt5682->jack_type, in rt5682_jd_check_handler()
|
A D | rt5665.c | 49 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 D | rt711-sdca-sdw.c | 152 if (rt711->hs_jack) { in rt711_sdca_update_status()
|
A D | rt5659.h | 1798 struct snd_soc_jack *hs_jack; member 1819 struct snd_soc_jack *hs_jack);
|
A D | rt5682s.h | 1443 struct snd_soc_jack *hs_jack; member
|
A D | rt5682.h | 1435 struct snd_soc_jack *hs_jack; member
|
/linux/sound/soc/qcom/ |
A D | sc7180.c | 31 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 D | omap-twl4030.c | 35 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 D | omap-abe-twl6040.c | 104 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()
|