Home
last modified time | relevance | path

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

/linux/sound/soc/codecs/
H A Drt5651.c1710 snd_soc_jack_report(rt5651->hp_jack, SND_JACK_BTN_0, in rt5651_button_press_work()
1718 snd_soc_jack_report(rt5651->hp_jack, 0, SND_JACK_BTN_0); in rt5651_button_press_work()
1775 if (!rt5651->hp_jack) in rt5651_support_button_press()
1779 return (rt5651->hp_jack->status & SND_JACK_MICROPHONE) && in rt5651_support_button_press()
1792 if (rt5651->hp_jack->status & SND_JACK_HEADPHONE) { in rt5651_jack_detect_work()
1793 if (rt5651->hp_jack->status & SND_JACK_MICROPHONE) { in rt5651_jack_detect_work()
1798 snd_soc_jack_report(rt5651->hp_jack, 0, in rt5651_jack_detect_work()
1802 } else if (!(rt5651->hp_jack->status & SND_JACK_HEADPHONE)) { in rt5651_jack_detect_work()
1808 snd_soc_jack_report(rt5651->hp_jack, report, SND_JACK_HEADSET); in rt5651_jack_detect_work()
1859 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
1239 snd_soc_jack_report(pm860x->det.hp_jack, report, mask); in pm860x_component_handler()
1257 pm860x->det.hp_jack = jack; in pm860x_hs_jack_detect()
H A Drt5645.c450 struct snd_soc_jack *hp_jack; member
3276 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack, in rt5645_set_jack_detect() argument
3281 rt5645->hp_jack = hp_jack; in rt5645_set_jack_detect()
3340 snd_soc_jack_report(rt5645->hp_jack, in rt5645_jack_detect_work()
3415 snd_soc_jack_report(rt5645->hp_jack, report, SND_JACK_HEADPHONE); in rt5645_jack_detect_work()
4340 if (rt5645->hp_jack) { in rt5645_sys_resume()
H A Dmax98095.c1889 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack) in max98095_jack_detect() argument
1895 max98095->headphone_jack = hp_jack; in max98095_jack_detect()
1899 if (!hp_jack && !mic_jack) in max98095_jack_detect()
H A Drt5651.h2072 struct snd_soc_jack *hp_jack; member
H A Drt5645.h2208 struct snd_soc_jack *hp_jack, struct snd_soc_jack *mic_jack,
/linux/sound/soc/fsl/
H A Dfsl-asoc-card.c101 struct simple_util_jack hp_jack; member
1050 ret = simple_util_init_jack(&priv->card, &priv->hp_jack, in fsl_asoc_card_probe()
1055 snd_soc_jack_notifier_register(&priv->hp_jack.jack, &hp_jack_nb); in fsl_asoc_card_probe()
/linux/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()
278 SND_JACK_HEADPHONE, &data->hp_jack, false, false); in xonar_ds_init()
/linux/include/sound/
H A Dsimple_card_utils.h67 struct simple_util_jack hp_jack; member
/linux/sound/soc/generic/
H A Dsimple-card.c696 ret = simple_util_init_hp(card, &priv->hp_jack, PREFIX); in simple_soc_probe()
H A Dsimple-card-utils.c1020 ret = simple_util_init_hp(card, &priv->hp_jack, NULL); in graph_util_card_probe()