Searched refs:inputs (Results 1 – 6 of 6) sorted by relevance
/sound/pci/hda/ |
D | hda_auto_parser.c | 66 cfg->inputs[cfg->num_inputs].pin = nid; in add_auto_cfg_input_pin() 67 cfg->inputs[cfg->num_inputs].type = type; in add_auto_cfg_input_pin() 294 if (hsmic && can_be_headset_mic(codec, &cfg->inputs[i], 0xc)) { in snd_hda_parse_pin_defcfg() 295 cfg->inputs[i].is_headset_mic = 1; in snd_hda_parse_pin_defcfg() 297 } else if (hpmic && can_be_headset_mic(codec, &cfg->inputs[i], 0xd)) { in snd_hda_parse_pin_defcfg() 298 cfg->inputs[i].is_headphone_mic = 1; in snd_hda_parse_pin_defcfg() 304 if (!can_be_headset_mic(codec, &cfg->inputs[i], -1)) in snd_hda_parse_pin_defcfg() 307 cfg->inputs[i].is_headset_mic = 1; in snd_hda_parse_pin_defcfg() 310 cfg->inputs[i].is_headphone_mic = 1; in snd_hda_parse_pin_defcfg() 381 sort(cfg->inputs, cfg->num_inputs, sizeof(cfg->inputs[0]), in snd_hda_parse_pin_defcfg() [all …]
|
D | hda_jack.c | 444 if (cfg->inputs[i].is_headphone_mic) { in snd_hda_jack_add_kctls() 449 err = add_jack_kctl(codec, cfg->inputs[i].pin, in snd_hda_jack_add_kctls() 452 err = add_jack_kctl(codec, cfg->inputs[i].pin, cfg, in snd_hda_jack_add_kctls()
|
D | hda_auto_parser.h | 73 struct auto_pin_cfg_item inputs[AUTO_CFG_MAX_INS]; member
|
D | hda_generic.c | 1243 if (cfg->inputs[i].type != type) in count_multiio_pins() 1246 cfg->inputs[i].pin)) in count_multiio_pins() 1283 hda_nid_t nid = cfg->inputs[i].pin; in fill_multi_ios() 1286 if (cfg->inputs[i].type != type) in fill_multi_ios() 2321 defcfg = snd_hda_codec_get_pincfg(codec, cfg->inputs[0].pin); in create_hp_mic() 2342 cfg->inputs[cfg->num_inputs].pin = nid; in create_hp_mic() 2343 cfg->inputs[cfg->num_inputs].type = AUTO_PIN_MIC; in create_hp_mic() 2344 cfg->inputs[cfg->num_inputs].is_headphone_mic = 1; in create_hp_mic() 2966 hda_nid_t pin = cfg->inputs[i].pin; in fill_input_pin_labels() 3012 pin = cfg->inputs[i].pin; in create_input_ctls() [all …]
|
D | patch_realtek.c | 3092 if (cfg->inputs[i].is_headset_mic && !spec->headset_mic_pin) in alc_probe_headset_mode() 3093 spec->headset_mic_pin = cfg->inputs[i].pin; in alc_probe_headset_mode() 3094 if (cfg->inputs[i].is_headphone_mic && !spec->headphone_mic_pin) in alc_probe_headset_mode() 3095 spec->headphone_mic_pin = cfg->inputs[i].pin; in alc_probe_headset_mode() 3177 hda_nid_t nid = cfg->inputs[i].pin; in alc269_fixup_limit_int_mic_boost() 3179 if (cfg->inputs[i].type != AUTO_PIN_MIC) in alc269_fixup_limit_int_mic_boost()
|
/sound/soc/ |
D | soc-dapm.c | 213 w->inputs = -1; in dapm_reset() 904 if (widget->inputs >= 0) in is_connected_input_ep() 905 return widget->inputs; in is_connected_input_ep() 924 widget->inputs = snd_soc_dapm_suspend_check(widget); in is_connected_input_ep() 925 return widget->inputs; in is_connected_input_ep() 934 widget->inputs = snd_soc_dapm_suspend_check(widget); in is_connected_input_ep() 935 return widget->inputs; in is_connected_input_ep() 940 widget->inputs = snd_soc_dapm_suspend_check(widget); in is_connected_input_ep() 941 return widget->inputs; in is_connected_input_ep() 948 widget->inputs = snd_soc_dapm_suspend_check(widget); in is_connected_input_ep() [all …]
|