Lines Matching refs:hp_jack
1708 snd_soc_jack_report(rt5651->hp_jack, SND_JACK_BTN_0, in rt5651_button_press_work()
1716 snd_soc_jack_report(rt5651->hp_jack, 0, SND_JACK_BTN_0); in rt5651_button_press_work()
1773 if (!rt5651->hp_jack) in rt5651_support_button_press()
1777 return (rt5651->hp_jack->status & SND_JACK_MICROPHONE) && in rt5651_support_button_press()
1790 if (rt5651->hp_jack->status & SND_JACK_HEADPHONE) { in rt5651_jack_detect_work()
1791 if (rt5651->hp_jack->status & SND_JACK_MICROPHONE) { in rt5651_jack_detect_work()
1796 snd_soc_jack_report(rt5651->hp_jack, 0, in rt5651_jack_detect_work()
1800 } else if (!(rt5651->hp_jack->status & SND_JACK_HEADPHONE)) { in rt5651_jack_detect_work()
1806 snd_soc_jack_report(rt5651->hp_jack, report, SND_JACK_HEADSET); in rt5651_jack_detect_work()
1857 struct snd_soc_jack *hp_jack, in rt5651_enable_jack_detect() argument
1957 rt5651->hp_jack = hp_jack; in rt5651_enable_jack_detect()
1978 snd_soc_jack_report(rt5651->hp_jack, 0, SND_JACK_BTN_0); in rt5651_disable_jack_detect()
1981 rt5651->hp_jack = NULL; in rt5651_disable_jack_detect()