Lines Matching full:inputs
55 /* add the found input-pin to the cfg->inputs[] table */
60 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin()
61 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin()
62 cfg->inputs[cfg->num_inputs].has_boost_on_pin = in add_auto_cfg_input_pin()
168 * The analog input pins are assigned to inputs array.
320 if (hsmic && can_be_headset_mic(codec, &cfg->inputs[i], 0xc)) { in snd_hda_parse_pin_defcfg()
321 cfg->inputs[i].is_headset_mic = 1; 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()
324 cfg->inputs[i].is_headphone_mic = 1; in snd_hda_parse_pin_defcfg()
330 if (!can_be_headset_mic(codec, &cfg->inputs[i], -1)) in snd_hda_parse_pin_defcfg()
333 cfg->inputs[i].is_headset_mic = 1; in snd_hda_parse_pin_defcfg()
336 cfg->inputs[i].is_headphone_mic = 1; in snd_hda_parse_pin_defcfg()
406 /* sort inputs in the order of AUTO_PIN_* type */ in snd_hda_parse_pin_defcfg()
407 sort(cfg->inputs, cfg->num_inputs, sizeof(cfg->inputs[0]), in snd_hda_parse_pin_defcfg()
432 codec_info(codec, " inputs:\n"); in snd_hda_parse_pin_defcfg()
436 cfg->inputs[i].pin); in snd_hda_parse_pin_defcfg()
543 defc = snd_hda_codec_get_pincfg(codec, cfg->inputs[input].pin); in check_mic_location_need()
551 defc = snd_hda_codec_get_pincfg(codec, cfg->inputs[i].pin); in check_mic_location_need()
569 * Unlike hda_get_input_pin_label(), this function checks all inputs
577 int type = cfg->inputs[input].type; in hda_get_autocfg_input_label()
580 if ((input > 0 && cfg->inputs[input - 1].type == type) || in hda_get_autocfg_input_label()
581 (input < cfg->num_inputs - 1 && cfg->inputs[input + 1].type == type)) in hda_get_autocfg_input_label()
586 return hda_get_input_pin_label(codec, &cfg->inputs[input], in hda_get_autocfg_input_label()
587 cfg->inputs[input].pin, in hda_get_autocfg_input_label()
754 if (cfg->inputs[i].pin != nid) in snd_hda_get_pin_label()