Lines Matching refs:autocfg

1165 	struct auto_pin_cfg *cfg = &spec->autocfg;  in get_line_out_pfx()
1344 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1494 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1525 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1681 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1739 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1981 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2199 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2207 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2253 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2260 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2264 spec->autocfg.line_out_type); in indep_hp_put()
2302 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in create_indep_hp_ctls()
2354 spec->out_paths[spec->autocfg.line_outs + idx]); in get_multiio_path()
2504 const struct auto_pin_cfg *cfg = &spec->autocfg; in loopback_mixing_put()
2605 struct auto_pin_cfg *cfg = &spec->autocfg; in create_hp_mic()
2719 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); in get_jack_mode_name()
3292 const struct auto_pin_cfg *cfg = &spec->autocfg; in fill_input_pin_labels()
3325 const struct auto_pin_cfg *cfg = &spec->autocfg; in create_input_ctls()
3578 struct auto_pin_cfg *cfg = &spec->autocfg; in is_inv_dmic_pin()
3732 if (idx >= spec->autocfg.num_inputs) in create_multi_cap_vol_ctl()
3869 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_mic_boost()
4144 for (i = 0; i < spec->autocfg.dig_outs; i++) { in parse_digital()
4145 pin = spec->autocfg.dig_out_pins[i]; in parse_digital()
4159 spec->dig_out_type = spec->autocfg.dig_out_type[0]; in parse_digital()
4169 if (spec->autocfg.dig_in_pin) { in parse_digital()
4170 pin = spec->autocfg.dig_in_pin; in parse_digital()
4351 struct auto_pin_cfg *cfg = &spec->autocfg; in add_all_pin_power_ctls()
4380 struct auto_pin_cfg *cfg = &spec->autocfg; in sync_all_pin_power_ctls()
4423 struct auto_pin_cfg *cfg = &spec->autocfg; in add_fake_beep_paths()
4574 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in snd_hda_gen_update_outputs()
4578 do_automute(codec, ARRAY_SIZE(spec->autocfg.hp_pins), in snd_hda_gen_update_outputs()
4579 spec->autocfg.hp_pins, paths, spec->master_mute); in snd_hda_gen_update_outputs()
4587 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_update_outputs()
4591 do_automute(codec, ARRAY_SIZE(spec->autocfg.speaker_pins), in snd_hda_gen_update_outputs()
4592 spec->autocfg.speaker_pins, paths, on); in snd_hda_gen_update_outputs()
4596 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0] || in snd_hda_gen_update_outputs()
4597 spec->autocfg.line_out_pins[0] == spec->autocfg.speaker_pins[0]) in snd_hda_gen_update_outputs()
4606 do_automute(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_update_outputs()
4607 spec->autocfg.line_out_pins, paths, on); in snd_hda_gen_update_outputs()
4633 hda_nid_t *pins = spec->autocfg.hp_pins; in snd_hda_gen_hp_automute()
4634 int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins); in snd_hda_gen_hp_automute()
4659 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_line_automute()
4662 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0]) in snd_hda_gen_line_automute()
4666 detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_line_automute()
4667 spec->autocfg.line_out_pins); in snd_hda_gen_line_automute()
4838 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mute_availability()
4945 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mic_availability()
5089 if (cfg != &spec->autocfg) { in snd_hda_gen_parse_auto_config()
5090 spec->autocfg = *cfg; in snd_hda_gen_parse_auto_config()
5091 cfg = &spec->autocfg; in snd_hda_gen_parse_auto_config()
5338 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in snd_hda_gen_build_controls()
5816 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT && in snd_hda_gen_build_pcms()
5817 spec->autocfg.line_outs == 2) in snd_hda_gen_build_pcms()
5927 for (i = 0; i < spec->autocfg.line_outs; i++) in init_multi_out()
5945 if (spec->autocfg.line_out_type != AUTO_PIN_HP_OUT) in init_extra_out()
5946 __init_extra_out(codec, spec->autocfg.hp_outs, spec->hp_paths); in init_extra_out()
5947 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT) in init_extra_out()
5948 __init_extra_out(codec, spec->autocfg.speaker_outs, in init_extra_out()
5982 spec->autocfg.line_out_type); in init_aamix_paths()
5995 struct auto_pin_cfg *cfg = &spec->autocfg; in init_analog_input()
6049 for (i = 0; i < spec->autocfg.dig_outs; i++) in init_digital()
6051 pin = spec->autocfg.dig_in_pin; in init_digital()
6197 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in snd_hda_parse_generic_codec()
6201 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in snd_hda_parse_generic_codec()