Searched refs:rt5670 (Results 1 – 2 of 2) sorted by relevance
419 struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec); in rt5670_headset_detect() local441 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect()448 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect()455 rt5670->jack_type = 0; in rt5670_headset_detect()460 return rt5670->jack_type; in rt5670_headset_detect()465 struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec); in rt5670_jack_suspend() local467 rt5670->jack_type_saved = rt5670->jack_type; in rt5670_jack_suspend()474 struct rt5670_priv *rt5670 = snd_soc_codec_get_drvdata(codec); in rt5670_jack_resume() local476 if (rt5670->jack_type_saved) in rt5670_jack_resume()499 struct rt5670_priv *rt5670 = (struct rt5670_priv *)data; in rt5670_irq_detection() local[all …]
92 snd-soc-rt5670-objs := rt5670.o287 obj-$(CONFIG_SND_SOC_RT5670) += snd-soc-rt5670.o