Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/sound/pci/hda/
Dhda_auto_parser.c318 bool hpmic = !!(cond_flags & HDA_PINCFG_HEADPHONE_MIC); in snd_hda_parse_pin_defcfg() local
319 for (i = 0; (hsmic || hpmic) && (i < cfg->num_inputs); i++) in snd_hda_parse_pin_defcfg()
323 } else if (hpmic && can_be_headset_mic(codec, &cfg->inputs[i], 0xd)) { in snd_hda_parse_pin_defcfg()
325 hpmic = false; in snd_hda_parse_pin_defcfg()
329 for (i = 0; (hsmic || hpmic) && (i < cfg->num_inputs); i++) { in snd_hda_parse_pin_defcfg()
335 } else if (hpmic) { in snd_hda_parse_pin_defcfg()
337 hpmic = false; in snd_hda_parse_pin_defcfg()
343 if (hpmic) in snd_hda_parse_pin_defcfg()