Home
last modified time | relevance | path

Searched refs:jack_type (Results 1 – 6 of 6) sorted by relevance

/linux-4.1.27/sound/soc/codecs/
Dsn95031.c791 int jack_type = snd_soc_jack_get_type(mfld_jack, micbias); in sn95031_get_headset_state() local
793 pr_debug("jack type detected = %d\n", jack_type); in sn95031_get_headset_state()
794 if (jack_type == SND_JACK_HEADSET) in sn95031_get_headset_state()
796 return jack_type; in sn95031_get_headset_state()
Drt5670.c442 rt5670->jack_type = SND_JACK_HEADSET; in rt5670_headset_detect()
449 rt5670->jack_type = SND_JACK_HEADPHONE; in rt5670_headset_detect()
456 rt5670->jack_type = 0; in rt5670_headset_detect()
461 return rt5670->jack_type; in rt5670_headset_detect()
468 rt5670->jack_type_saved = rt5670->jack_type; in rt5670_jack_suspend()
514 if (rt5670->jack_type == 0) { in rt5670_irq_detection()
543 report = rt5670->jack_type; in rt5670_irq_detection()
Drt5645.c2421 int gpio_state, jack_type = 0; in rt5645_jack_detect() local
2454 jack_type = SND_JACK_HEADSET; in rt5645_jack_detect()
2456 jack_type = SND_JACK_HEADPHONE; in rt5645_jack_detect()
2466 snd_soc_jack_report(rt5645->hp_jack, jack_type, SND_JACK_HEADPHONE); in rt5645_jack_detect()
2467 snd_soc_jack_report(rt5645->mic_jack, jack_type, SND_JACK_MICROPHONE); in rt5645_jack_detect()
Drt5670.h2006 int jack_type; member
/linux-4.1.27/sound/soc/
Dsoc-jack.c164 return zone->jack_type; in snd_soc_jack_get_type()
/linux-4.1.27/include/sound/
Dsoc.h635 unsigned int jack_type; member