Lines Matching refs:micdet
746 if (!wm8994->jackdet || !wm8994->micdet[0].jack) in wm1811_jackdet_set_mode()
3508 struct wm8994_micdet *micdet; in wm8994_mic_detect() local
3521 micdet = &wm8994->micdet[0]; in wm8994_mic_detect()
3528 micdet = &wm8994->micdet[1]; in wm8994_mic_detect()
3547 micdet->jack = jack; in wm8994_mic_detect()
3548 micdet->detecting = true; in wm8994_mic_detect()
3551 if (wm8994->micdet[0].jack || wm8994->micdet[1].jack) in wm8994_mic_detect()
3597 if (priv->micdet[0].detecting) in wm8994_mic_work()
3601 if (priv->micdet[0].detecting) in wm8994_mic_work()
3607 priv->micdet[0].detecting = false; in wm8994_mic_work()
3609 priv->micdet[0].detecting = true; in wm8994_mic_work()
3611 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work()
3616 if (priv->micdet[1].detecting) in wm8994_mic_work()
3620 if (priv->micdet[1].detecting) in wm8994_mic_work()
3626 priv->micdet[1].detecting = false; in wm8994_mic_work()
3628 priv->micdet[1].detecting = true; in wm8994_mic_work()
3630 snd_soc_jack_report(priv->micdet[1].jack, report, in wm8994_mic_work()
3694 snd_soc_jack_report(wm8994->micdet[0].jack, report, in wm8958_button_det()
3716 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm8958_open_circuit_work()
3750 snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADSET, in wm8958_mic_id()
3764 snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADPHONE, in wm8958_mic_id()
3884 snd_soc_jack_report(wm8994->micdet[0].jack, in wm1811_jackdet_irq()
3887 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm1811_jackdet_irq()
3893 snd_soc_jack_report(wm8994->micdet[0].jack, 0, 0); in wm1811_jackdet_irq()
3950 wm8994->micdet[0].jack = jack; in wm8958_mic_detect()
4100 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm8958_mic_irq()