Lines Matching refs:autocfg

1167 	struct auto_pin_cfg *cfg = &spec->autocfg;  in get_line_out_pfx()
1346 struct auto_pin_cfg *cfg = &spec->autocfg; in get_primary_out()
1496 struct auto_pin_cfg *cfg = &spec->autocfg; in count_multiio_pins()
1527 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_multi_ios()
1683 struct auto_pin_cfg *cfg = &spec->autocfg; in indep_hp_possible()
1741 struct auto_pin_cfg *cfg = &spec->autocfg; in fill_and_eval_dacs()
1983 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_output_paths()
2201 return create_extra_outs(codec, spec->autocfg.hp_outs, in create_hp_out_ctls()
2209 return create_extra_outs(codec, spec->autocfg.speaker_outs, in create_speaker_out_ctls()
2255 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2262 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in indep_hp_put()
2266 spec->autocfg.line_out_type); in indep_hp_put()
2304 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in create_indep_hp_ctls()
2356 spec->out_paths[spec->autocfg.line_outs + idx]); in get_multiio_path()
2506 const struct auto_pin_cfg *cfg = &spec->autocfg; in loopback_mixing_put()
2607 struct auto_pin_cfg *cfg = &spec->autocfg; in create_hp_mic()
2721 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx); in get_jack_mode_name()
3294 const struct auto_pin_cfg *cfg = &spec->autocfg; in fill_input_pin_labels()
3327 const struct auto_pin_cfg *cfg = &spec->autocfg; in create_input_ctls()
3581 struct auto_pin_cfg *cfg = &spec->autocfg; in is_inv_dmic_pin()
3743 if (idx >= spec->autocfg.num_inputs) in create_multi_cap_vol_ctl()
3880 struct auto_pin_cfg *cfg = &spec->autocfg; in parse_mic_boost()
4029 for (i = 0; i < spec->autocfg.dig_outs; i++) { in parse_digital()
4030 pin = spec->autocfg.dig_out_pins[i]; in parse_digital()
4044 spec->dig_out_type = spec->autocfg.dig_out_type[0]; in parse_digital()
4054 if (spec->autocfg.dig_in_pin) { in parse_digital()
4055 pin = spec->autocfg.dig_in_pin; in parse_digital()
4236 struct auto_pin_cfg *cfg = &spec->autocfg; in add_all_pin_power_ctls()
4265 struct auto_pin_cfg *cfg = &spec->autocfg; in sync_all_pin_power_ctls()
4308 struct auto_pin_cfg *cfg = &spec->autocfg; in add_fake_beep_paths()
4459 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT) in snd_hda_gen_update_outputs()
4463 do_automute(codec, ARRAY_SIZE(spec->autocfg.hp_pins), in snd_hda_gen_update_outputs()
4464 spec->autocfg.hp_pins, paths, spec->master_mute); in snd_hda_gen_update_outputs()
4472 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_update_outputs()
4476 do_automute(codec, ARRAY_SIZE(spec->autocfg.speaker_pins), in snd_hda_gen_update_outputs()
4477 spec->autocfg.speaker_pins, paths, on); in snd_hda_gen_update_outputs()
4481 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0] || in snd_hda_gen_update_outputs()
4482 spec->autocfg.line_out_pins[0] == spec->autocfg.speaker_pins[0]) in snd_hda_gen_update_outputs()
4491 do_automute(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_update_outputs()
4492 spec->autocfg.line_out_pins, paths, on); in snd_hda_gen_update_outputs()
4518 hda_nid_t *pins = spec->autocfg.hp_pins; in snd_hda_gen_hp_automute()
4519 int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins); in snd_hda_gen_hp_automute()
4544 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in snd_hda_gen_line_automute()
4547 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0]) in snd_hda_gen_line_automute()
4551 detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins), in snd_hda_gen_line_automute()
4552 spec->autocfg.line_out_pins); in snd_hda_gen_line_automute()
4723 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mute_availability()
4830 struct auto_pin_cfg *cfg = &spec->autocfg; in check_auto_mic_availability()
4977 if (cfg != &spec->autocfg) { in snd_hda_gen_parse_auto_config()
4978 spec->autocfg = *cfg; in snd_hda_gen_parse_auto_config()
4979 cfg = &spec->autocfg; in snd_hda_gen_parse_auto_config()
5227 err = snd_hda_jack_add_kctls(codec, &spec->autocfg); in snd_hda_gen_build_controls()
5705 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT && in snd_hda_gen_build_pcms()
5706 spec->autocfg.line_outs == 2) in snd_hda_gen_build_pcms()
5816 for (i = 0; i < spec->autocfg.line_outs; i++) in init_multi_out()
5834 if (spec->autocfg.line_out_type != AUTO_PIN_HP_OUT) in init_extra_out()
5835 __init_extra_out(codec, spec->autocfg.hp_outs, spec->hp_paths); in init_extra_out()
5836 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT) in init_extra_out()
5837 __init_extra_out(codec, spec->autocfg.speaker_outs, in init_extra_out()
5871 spec->autocfg.line_out_type); in init_aamix_paths()
5884 struct auto_pin_cfg *cfg = &spec->autocfg; in init_analog_input()
5938 for (i = 0; i < spec->autocfg.dig_outs; i++) in init_digital()
5940 pin = spec->autocfg.dig_in_pin; in init_digital()
6067 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in snd_hda_parse_generic_codec()
6071 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in snd_hda_parse_generic_codec()