Home
last modified time | relevance | path

Searched refs:mic (Results 1 – 11 of 11) sorted by relevance

/sound/soc/codecs/
Drt298.c219 static int rt298_jack_detect(struct rt298_priv *rt298, bool *hp, bool *mic) in rt298_jack_detect() argument
225 *mic = false; in rt298_jack_detect()
263 *mic = true; in rt298_jack_detect()
271 *mic = true; in rt298_jack_detect()
273 *mic = false; in rt298_jack_detect()
284 *mic = false; in rt298_jack_detect()
293 *mic = buf & 0x80000000; in rt298_jack_detect()
295 if (!*mic) { in rt298_jack_detect()
303 pr_debug("*hp = %d *mic = %d\n", *hp, *mic); in rt298_jack_detect()
314 bool mic = false; in rt298_jack_detect_work() local
[all …]
Drt286.c215 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument
221 *mic = false; in rt286_jack_detect()
251 *mic = true; in rt286_jack_detect()
259 *mic = true; in rt286_jack_detect()
261 *mic = false; in rt286_jack_detect()
272 *mic = false; in rt286_jack_detect()
281 *mic = buf & 0x80000000; in rt286_jack_detect()
300 bool mic = false; in rt286_jack_detect_work() local
302 rt286_jack_detect(rt286, &hp, &mic); in rt286_jack_detect_work()
307 if (mic) in rt286_jack_detect_work()
[all …]
Drt274.c350 static int rt274_jack_detect(struct rt274_priv *rt274, bool *hp, bool *mic) in rt274_jack_detect() argument
356 *mic = false; in rt274_jack_detect()
370 *mic = buf & 0x80000000; in rt274_jack_detect()
372 pr_debug("*hp = %d *mic = %d\n", *hp, *mic); in rt274_jack_detect()
383 bool mic = false; in rt274_jack_detect_work() local
385 if (rt274_jack_detect(rt274, &hp, &mic) < 0) in rt274_jack_detect_work()
391 if (mic) in rt274_jack_detect_work()
953 bool mic = false; in rt274_irq() local
960 ret = rt274_jack_detect(rt274, &hp, &mic); in rt274_irq()
966 if (mic) in rt274_irq()
Darizona-jack.c462 bool *mic) in arizona_hpdet_do_id() argument
516 *mic = true; in arizona_hpdet_do_id()
535 bool mic = false; in arizona_hpdet_irq() local
566 ret = arizona_hpdet_do_id(info, &reading, &mic); in arizona_hpdet_irq()
593 if (state && (mic || info->mic)) in arizona_hpdet_irq()
656 if (info->mic) in arizona_identify_headphone()
666 bool mic; in arizona_start_hpdet_acc_id() local
697 arizona_hpdet_do_id(info, &hp_reading, &mic); in arizona_start_hpdet_acc_id()
810 info->mic = false; in arizona_micdet_reading()
818 info->mic = true; in arizona_micdet_reading()
[all …]
Dwm8350.c65 struct wm8350_jack_data mic; member
1377 report |= priv->mic.short_report; in wm8350_mic_handler()
1379 report |= priv->mic.report; in wm8350_mic_handler()
1381 snd_soc_jack_report(priv->mic.jack, report, in wm8350_mic_handler()
1382 priv->mic.report | priv->mic.short_report); in wm8350_mic_handler()
1405 priv->mic.jack = jack; in wm8350_mic_jack_detect()
1406 priv->mic.report = detect_report; in wm8350_mic_jack_detect()
1407 priv->mic.short_report = short_report; in wm8350_mic_jack_detect()
1590 priv->mic.jack = NULL; in wm8350_component_remove()
Drt711-sdca.h241 int rt711_sdca_jack_detect(struct rt711_sdca_priv *rt711, bool *hp, bool *mic);
Drt700.h174 int rt700_jack_detect(struct rt700_priv *rt700, bool *hp, bool *mic);
Drt711.h254 int rt711_jack_detect(struct rt711_priv *rt711, bool *hp, bool *mic);
Darizona.h121 bool mic; member
/sound/pci/vx222/
Dvx222.c27 static bool mic[SNDRV_CARDS]; /* microphone */ variable
36 module_param_array(mic, bool, NULL, 0444);
37 MODULE_PARM_DESC(mic, "Enable Microphone.");
173 if (mic[dev]) in snd_vx222_probe()
/sound/aoa/codecs/
Donyx.c263 static void onyx_set_capture_source(struct onyx *onyx, int mic) in onyx_set_capture_source() argument
270 if (mic) in onyx_set_capture_source()