Searched refs:mic (Results 1 – 5 of 5) sorted by relevance
/sound/soc/codecs/ |
D | rt298.c | 221 static int rt298_jack_detect(struct rt298_priv *rt298, bool *hp, bool *mic) in rt298_jack_detect() argument 227 *mic = false; in rt298_jack_detect() 260 *mic = true; in rt298_jack_detect() 268 *mic = true; in rt298_jack_detect() 270 *mic = false; in rt298_jack_detect() 276 *mic = false; in rt298_jack_detect() 283 *mic = buf & 0x80000000; in rt298_jack_detect() 292 pr_debug("*hp = %d *mic = %d\n", *hp, *mic); in rt298_jack_detect() 303 bool mic = false; in rt298_jack_detect_work() local 305 if (rt298_jack_detect(rt298, &hp, &mic) < 0) in rt298_jack_detect_work() [all …]
|
D | rt286.c | 218 static int rt286_jack_detect(struct rt286_priv *rt286, bool *hp, bool *mic) in rt286_jack_detect() argument 224 *mic = false; in rt286_jack_detect() 254 *mic = true; in rt286_jack_detect() 262 *mic = true; in rt286_jack_detect() 264 *mic = false; in rt286_jack_detect() 270 *mic = false; in rt286_jack_detect() 277 *mic = buf & 0x80000000; in rt286_jack_detect() 295 bool mic = false; in rt286_jack_detect_work() local 297 rt286_jack_detect(rt286, &hp, &mic); in rt286_jack_detect_work() 302 if (mic == true) in rt286_jack_detect_work() [all …]
|
D | wm8350.c | 68 struct wm8350_jack_data mic; member 1379 report |= priv->mic.short_report; in wm8350_mic_handler() 1381 report |= priv->mic.report; in wm8350_mic_handler() 1383 snd_soc_jack_report(priv->mic.jack, report, in wm8350_mic_handler() 1384 priv->mic.report | priv->mic.short_report); in wm8350_mic_handler() 1407 priv->mic.jack = jack; in wm8350_mic_jack_detect() 1408 priv->mic.report = detect_report; in wm8350_mic_jack_detect() 1409 priv->mic.short_report = short_report; in wm8350_mic_jack_detect() 1569 priv->mic.jack = NULL; in wm8350_codec_remove()
|
/sound/pci/vx222/ |
D | vx222.c | 41 static bool mic[SNDRV_CARDS]; /* microphone */ variable 50 module_param_array(mic, bool, NULL, 0444); 51 MODULE_PARM_DESC(mic, "Enable Microphone."); 217 if (mic[dev]) in snd_vx222_probe()
|
/sound/aoa/codecs/ |
D | onyx.c | 266 static void onyx_set_capture_source(struct onyx *onyx, int mic) in onyx_set_capture_source() argument 273 if (mic) in onyx_set_capture_source()
|