Lines Matching refs:autocfg
1165 struct auto_pin_cfg *cfg = &spec->autocfg;
1345 struct auto_pin_cfg *cfg = &spec->autocfg;
1495 struct auto_pin_cfg *cfg = &spec->autocfg;
1526 struct auto_pin_cfg *cfg = &spec->autocfg;
1682 struct auto_pin_cfg *cfg = &spec->autocfg;
1740 struct auto_pin_cfg *cfg = &spec->autocfg;
1982 struct auto_pin_cfg *cfg = &spec->autocfg;
2200 return create_extra_outs(codec, spec->autocfg.hp_outs,
2208 return create_extra_outs(codec, spec->autocfg.speaker_outs,
2254 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2261 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2265 spec->autocfg.line_out_type);
2303 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
2355 spec->out_paths[spec->autocfg.line_outs + idx]);
2505 const struct auto_pin_cfg *cfg = &spec->autocfg;
2606 struct auto_pin_cfg *cfg = &spec->autocfg;
2720 snd_hda_get_pin_label(codec, pin, &spec->autocfg, name, name_len, &idx);
3293 const struct auto_pin_cfg *cfg = &spec->autocfg;
3326 const struct auto_pin_cfg *cfg = &spec->autocfg;
3579 struct auto_pin_cfg *cfg = &spec->autocfg;
3733 if (idx >= spec->autocfg.num_inputs)
3870 struct auto_pin_cfg *cfg = &spec->autocfg;
4145 for (i = 0; i < spec->autocfg.dig_outs; i++) {
4146 pin = spec->autocfg.dig_out_pins[i];
4160 spec->dig_out_type = spec->autocfg.dig_out_type[0];
4170 if (spec->autocfg.dig_in_pin) {
4171 pin = spec->autocfg.dig_in_pin;
4352 struct auto_pin_cfg *cfg = &spec->autocfg;
4381 struct auto_pin_cfg *cfg = &spec->autocfg;
4424 struct auto_pin_cfg *cfg = &spec->autocfg;
4575 if (spec->autocfg.line_out_type == AUTO_PIN_HP_OUT)
4579 do_automute(codec, ARRAY_SIZE(spec->autocfg.hp_pins),
4580 spec->autocfg.hp_pins, paths, spec->master_mute);
4588 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
4592 do_automute(codec, ARRAY_SIZE(spec->autocfg.speaker_pins),
4593 spec->autocfg.speaker_pins, paths, on);
4597 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0] ||
4598 spec->autocfg.line_out_pins[0] == spec->autocfg.speaker_pins[0])
4607 do_automute(codec, ARRAY_SIZE(spec->autocfg.line_out_pins),
4608 spec->autocfg.line_out_pins, paths, on);
4634 hda_nid_t *pins = spec->autocfg.hp_pins;
4635 int num_pins = ARRAY_SIZE(spec->autocfg.hp_pins);
4660 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT)
4663 if (spec->autocfg.line_out_pins[0] == spec->autocfg.hp_pins[0])
4667 detect_jacks(codec, ARRAY_SIZE(spec->autocfg.line_out_pins),
4668 spec->autocfg.line_out_pins);
4839 struct auto_pin_cfg *cfg = &spec->autocfg;
4946 struct auto_pin_cfg *cfg = &spec->autocfg;
5090 if (cfg != &spec->autocfg) {
5091 spec->autocfg = *cfg;
5092 cfg = &spec->autocfg;
5339 err = snd_hda_jack_add_kctls(codec, &spec->autocfg);
5817 if (spec->autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT &&
5818 spec->autocfg.line_outs == 2)
5928 for (i = 0; i < spec->autocfg.line_outs; i++)
5946 if (spec->autocfg.line_out_type != AUTO_PIN_HP_OUT)
5947 __init_extra_out(codec, spec->autocfg.hp_outs, spec->hp_paths);
5948 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT)
5949 __init_extra_out(codec, spec->autocfg.speaker_outs,
5983 spec->autocfg.line_out_type);
5996 struct auto_pin_cfg *cfg = &spec->autocfg;
6050 for (i = 0; i < spec->autocfg.dig_outs; i++)
6052 pin = spec->autocfg.dig_in_pin;
6198 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0);
6202 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg);