Lines Matching refs:autocfg
1171 struct auto_pin_cfg *cfg = &spec->autocfg; in get_line_out_pfx()
1351 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1501 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1532 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1688 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1746 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1988 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2206 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2214 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2260 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2267 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2271 spec->autocfg.line_out_type); in indep_hp_put()
2309 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in create_indep_hp_ctls()
2361 spec->out_paths[spec->autocfg.line_outs + idx]); in get_multiio_path()
2511 const struct auto_pin_cfg *cfg = &spec->autocfg; in loopback_mixing_put()
2612 struct auto_pin_cfg *cfg = &spec->autocfg; in create_hp_mic()
2726 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); in get_jack_mode_name()
3299 const struct auto_pin_cfg *cfg = &spec->autocfg; in fill_input_pin_labels()
3332 const struct auto_pin_cfg *cfg = &spec->autocfg; in create_input_ctls()
3586 struct auto_pin_cfg *cfg = &spec->autocfg; in is_inv_dmic_pin()
3748 if (idx >= spec->autocfg.num_inputs) in create_multi_cap_vol_ctl()
3885 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_mic_boost()
4033 for (i = 0; i < spec->autocfg.dig_outs; i++) { in parse_digital()
4034 pin = spec->autocfg.dig_out_pins[i]; in parse_digital()
4048 spec->dig_out_type = spec->autocfg.dig_out_type[0]; in parse_digital()
4058 if (spec->autocfg.dig_in_pin) { in parse_digital()
4059 pin = spec->autocfg.dig_in_pin; in parse_digital()
4240 struct auto_pin_cfg *cfg = &spec->autocfg; in add_all_pin_power_ctls()
4269 struct auto_pin_cfg *cfg = &spec->autocfg; in sync_all_pin_power_ctls()
4312 struct auto_pin_cfg *cfg = &spec->autocfg; in add_fake_beep_paths()
4463 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in snd_hda_gen_update_outputs()
4467 do_automute(codec, ARRAY_SIZE(spec->autocfg.hp_pins), in snd_hda_gen_update_outputs()
4468 spec->autocfg.hp_pins, paths, spec->master_mute); in snd_hda_gen_update_outputs()
4476 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_update_outputs()
4480 do_automute(codec, ARRAY_SIZE(spec->autocfg.speaker_pins), in snd_hda_gen_update_outputs()
4481 spec->autocfg.speaker_pins, paths, on); in snd_hda_gen_update_outputs()
4485 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0] || in snd_hda_gen_update_outputs()
4486 spec->autocfg.line_out_pins[0] == spec->autocfg.speaker_pins[0]) in snd_hda_gen_update_outputs()
4495 do_automute(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_update_outputs()
4496 spec->autocfg.line_out_pins, paths, on); in snd_hda_gen_update_outputs()
4522 hda_nid_t *pins = spec->autocfg.hp_pins; in snd_hda_gen_hp_automute()
4523 int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins); in snd_hda_gen_hp_automute()
4548 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_line_automute()
4551 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0]) in snd_hda_gen_line_automute()
4555 detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_line_automute()
4556 spec->autocfg.line_out_pins); in snd_hda_gen_line_automute()
4727 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mute_availability()
4834 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mic_availability()
5000 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) { in snd_hda_gen_shutup_speakers()
5002 num_paths = spec->autocfg.line_outs; in snd_hda_gen_shutup_speakers()
5005 num_paths = spec->autocfg.speaker_outs; in snd_hda_gen_shutup_speakers()
5044 if (cfg != &spec->autocfg) { in snd_hda_gen_parse_auto_config()
5045 spec->autocfg = *cfg; in snd_hda_gen_parse_auto_config()
5046 cfg = &spec->autocfg; in snd_hda_gen_parse_auto_config()
5294 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in snd_hda_gen_build_controls()
5772 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT && in snd_hda_gen_build_pcms()
5773 spec->autocfg.line_outs == 2) in snd_hda_gen_build_pcms()
5883 for (i = 0; i < spec->autocfg.line_outs; i++) in init_multi_out()
5901 if (spec->autocfg.line_out_type != AUTO_PIN_HP_OUT) in init_extra_out()
5902 __init_extra_out(codec, spec->autocfg.hp_outs, spec->hp_paths); in init_extra_out()
5903 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT) in init_extra_out()
5904 __init_extra_out(codec, spec->autocfg.speaker_outs, in init_extra_out()
5938 spec->autocfg.line_out_type); in init_aamix_paths()
5951 struct auto_pin_cfg *cfg = &spec->autocfg; in init_analog_input()
6005 for (i = 0; i < spec->autocfg.dig_outs; i++) in init_digital()
6007 pin = spec->autocfg.dig_in_pin; in init_digital()
6130 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in snd_hda_parse_generic_codec()
6134 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in snd_hda_parse_generic_codec()