Home
last modified time | relevance | path

Searched refs:hp_jack (Results 1 – 15 of 15) sorted by relevance

/OK3568_Linux_fs/kernel/sound/soc/samsung/
H A Dh1940_uda1380.c33 static struct snd_soc_jack hp_jack; variable
155 &hp_jack, hp_jack_pins, ARRAY_SIZE(hp_jack_pins)); in h1940_uda1380_init()
157 snd_soc_jack_add_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in h1940_uda1380_init()
H A Drx1950_uda1380.c42 static struct snd_soc_jack hp_jack; variable
205 &hp_jack, hp_jack_pins, ARRAY_SIZE(hp_jack_pins)); in rx1950_uda1380_init()
207 snd_soc_jack_add_gpios(&hp_jack, ARRAY_SIZE(hp_jack_gpios), in rx1950_uda1380_init()
/OK3568_Linux_fs/kernel/sound/soc/fsl/
H A Dwm1133-ev1.c184 static struct snd_soc_jack hp_jack; variable
203 &hp_jack, hp_jack_pins, ARRAY_SIZE(hp_jack_pins)); in wm1133_ev1_init()
204 wm8350_hp_jack_detect(component, WM8350_JDR, &hp_jack, SND_JACK_HEADPHONE); in wm1133_ev1_init()
H A Dfsl-asoc-card.c87 struct asoc_simple_jack hp_jack; member
836 ret = asoc_simple_init_jack(&priv->card, &priv->hp_jack, in fsl_asoc_card_probe()
841 snd_soc_jack_notifier_register(&priv->hp_jack.jack, &hp_jack_nb); in fsl_asoc_card_probe()
/OK3568_Linux_fs/kernel/sound/soc/codecs/
H A Drt5651.c1759 snd_soc_jack_report(rt5651->hp_jack, SND_JACK_BTN_0, in rt5651_button_press_work()
1767 snd_soc_jack_report(rt5651->hp_jack, 0, SND_JACK_BTN_0); in rt5651_button_press_work()
1824 if (!rt5651->hp_jack) in rt5651_support_button_press()
1828 return (rt5651->hp_jack->status & SND_JACK_MICROPHONE) && in rt5651_support_button_press()
1841 if (rt5651->hp_jack->status & SND_JACK_HEADPHONE) { in rt5651_jack_detect_work()
1842 if (rt5651->hp_jack->status & SND_JACK_MICROPHONE) { in rt5651_jack_detect_work()
1847 snd_soc_jack_report(rt5651->hp_jack, 0, in rt5651_jack_detect_work()
1851 } else if (!(rt5651->hp_jack->status & SND_JACK_HEADPHONE)) { in rt5651_jack_detect_work()
1857 snd_soc_jack_report(rt5651->hp_jack, report, SND_JACK_HEADSET); in rt5651_jack_detect_work()
1908 struct snd_soc_jack *hp_jack, in rt5651_enable_jack_detect() argument
[all …]
H A Dmax98095.h316 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack);
H A D88pm860x-codec.c125 struct snd_soc_jack *hp_jack; member
1238 snd_soc_jack_report(pm860x->det.hp_jack, report, mask); in pm860x_component_handler()
1256 pm860x->det.hp_jack = jack; in pm860x_hs_jack_detect()
H A Drt5645.c417 struct snd_soc_jack *hp_jack; member
3230 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack, in rt5645_set_jack_detect() argument
3235 rt5645->hp_jack = hp_jack; in rt5645_set_jack_detect()
3268 snd_soc_jack_report(rt5645->hp_jack, in rt5645_jack_detect_work()
3340 snd_soc_jack_report(rt5645->hp_jack, report, SND_JACK_HEADPHONE); in rt5645_jack_detect_work()
H A Dmax98095.c1894 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack) in max98095_jack_detect() argument
1900 max98095->headphone_jack = hp_jack; in max98095_jack_detect()
1904 if (!hp_jack && !mic_jack) in max98095_jack_detect()
H A Drt5645.h2204 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack,
H A Drt5651.h2072 struct snd_soc_jack *hp_jack; member
/OK3568_Linux_fs/kernel/include/sound/
H A Dsimple_card_utils.h53 struct asoc_simple_jack hp_jack; member
/OK3568_Linux_fs/kernel/sound/pci/oxygen/
H A Dxonar_wm87x6.c86 struct snd_jack *hp_jack; member
254 snd_jack_report(data->hp_jack, hp_plugged ? SND_JACK_HEADPHONE : 0); in xonar_ds_handle_hp_jack()
280 SND_JACK_HEADPHONE, &data->hp_jack, false, false); in xonar_ds_init()
/OK3568_Linux_fs/kernel/sound/soc/generic/
H A Daudio-graph-card.c617 ret = asoc_simple_init_hp(card, &priv->hp_jack, NULL); in graph_card_probe()
H A Dsimple-card.c578 ret = asoc_simple_init_hp(card, &priv->hp_jack, PREFIX); in simple_soc_probe()