Lines Matching refs:autocfg
1171 struct auto_pin_cfg *cfg = &spec->autocfg;
1351 struct auto_pin_cfg *cfg = &spec->autocfg;
1501 struct auto_pin_cfg *cfg = &spec->autocfg;
1532 struct auto_pin_cfg *cfg = &spec->autocfg;
1688 struct auto_pin_cfg *cfg = &spec->autocfg;
1746 struct auto_pin_cfg *cfg = &spec->autocfg;
1988 struct auto_pin_cfg *cfg = &spec->autocfg;
2206 return create_extra_outs(codec, spec->autocfg.hp_outs,
2214 return create_extra_outs(codec, spec->autocfg.speaker_outs,
2260 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2267 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2271 spec->autocfg.line_out_type);
2309 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2361 spec->out_paths[spec->autocfg.line_outs + idx]);
2511 const struct auto_pin_cfg *cfg = &spec->autocfg;
2612 struct auto_pin_cfg *cfg = &spec->autocfg;
2726 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx);
3299 const struct auto_pin_cfg *cfg = &spec->autocfg;
3332 const struct auto_pin_cfg *cfg = &spec->autocfg;
3586 struct auto_pin_cfg *cfg = &spec->autocfg;
3748 if (idx >= spec->autocfg.num_inputs)
3885 struct auto_pin_cfg *cfg = &spec->autocfg;
4034 for (i = 0; i < spec->autocfg.dig_outs; i++) {
4035 pin = spec->autocfg.dig_out_pins[i];
4049 spec->dig_out_type = spec->autocfg.dig_out_type[0];
4059 if (spec->autocfg.dig_in_pin) {
4060 pin = spec->autocfg.dig_in_pin;
4241 struct auto_pin_cfg *cfg = &spec->autocfg;
4270 struct auto_pin_cfg *cfg = &spec->autocfg;
4313 struct auto_pin_cfg *cfg = &spec->autocfg;
4464 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
4468 do_automute(codec, ARRAY_SIZE(spec->autocfg.hp_pins),
4469 spec->autocfg.hp_pins, paths, spec->master_mute);
4477 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
4481 do_automute(codec, ARRAY_SIZE(spec->autocfg.speaker_pins),
4482 spec->autocfg.speaker_pins, paths, on);
4486 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0] ||
4487 spec->autocfg.line_out_pins[0] == spec->autocfg.speaker_pins[0])
4496 do_automute(codec, ARRAY_SIZE(spec->autocfg.line_out_pins),
4497 spec->autocfg.line_out_pins, paths, on);
4523 hda_nid_t *pins = spec->autocfg.hp_pins;
4524 int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins);
4549 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
4552 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0])
4556 detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins),
4557 spec->autocfg.line_out_pins);
4728 struct auto_pin_cfg *cfg = &spec->autocfg;
4835 struct auto_pin_cfg *cfg = &spec->autocfg;
4982 if (cfg != &spec->autocfg) {
4983 spec->autocfg = *cfg;
4984 cfg = &spec->autocfg;
5232 err = snd_hda_jack_add_kctls(codec, &spec->autocfg);
5710 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT &&
5711 spec->autocfg.line_outs == 2)
5821 for (i = 0; i < spec->autocfg.line_outs; i++)
5839 if (spec->autocfg.line_out_type != AUTO_PIN_HP_OUT)
5840 __init_extra_out(codec, spec->autocfg.hp_outs, spec->hp_paths);
5841 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT)
5842 __init_extra_out(codec, spec->autocfg.speaker_outs,
5876 spec->autocfg.line_out_type);
5889 struct auto_pin_cfg *cfg = &spec->autocfg;
5943 for (i = 0; i < spec->autocfg.dig_outs; i++)
5945 pin = spec->autocfg.dig_in_pin;
6072 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0);
6076 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg);