Lines Matching refs:micdet
747 if (!wm8994->jackdet || !wm8994->micdet[0].jack) in wm1811_jackdet_set_mode()
3365 struct wm8994_micdet *micdet; in wm8994_mic_detect() local
3376 micdet = &wm8994->micdet[0]; in wm8994_mic_detect()
3383 micdet = &wm8994->micdet[1]; in wm8994_mic_detect()
3402 micdet->jack = jack; in wm8994_mic_detect()
3403 micdet->detecting = true; in wm8994_mic_detect()
3406 if (wm8994->micdet[0].jack || wm8994->micdet[1].jack) in wm8994_mic_detect()
3450 if (priv->micdet[0].detecting) in wm8994_mic_work()
3454 if (priv->micdet[0].detecting) in wm8994_mic_work()
3460 priv->micdet[0].detecting = false; in wm8994_mic_work()
3462 priv->micdet[0].detecting = true; in wm8994_mic_work()
3464 snd_soc_jack_report(priv->micdet[0].jack, report, in wm8994_mic_work()
3469 if (priv->micdet[1].detecting) in wm8994_mic_work()
3473 if (priv->micdet[1].detecting) in wm8994_mic_work()
3479 priv->micdet[1].detecting = false; in wm8994_mic_work()
3481 priv->micdet[1].detecting = true; in wm8994_mic_work()
3483 snd_soc_jack_report(priv->micdet[1].jack, report, in wm8994_mic_work()
3547 snd_soc_jack_report(wm8994->micdet[0].jack, report, in wm8958_button_det()
3569 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm8958_open_circuit_work()
3603 snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADSET, in wm8958_mic_id()
3617 snd_soc_jack_report(wm8994->micdet[0].jack, SND_JACK_HEADPHONE, in wm8958_mic_id()
3732 snd_soc_jack_report(wm8994->micdet[0].jack, in wm1811_jackdet_irq()
3735 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm1811_jackdet_irq()
3741 snd_soc_jack_report(wm8994->micdet[0].jack, 0, 0); in wm1811_jackdet_irq()
3792 wm8994->micdet[0].jack = jack; in wm8958_mic_detect()
3940 snd_soc_jack_report(wm8994->micdet[0].jack, 0, in wm8958_mic_irq()