• Home
  • History
  • Annotate
  • Raw
  • Download
  • only in /netgear-R7000-V1.0.7.12_1.2.5/components/opensource/linux/linux-2.6.36/sound/pci/hda/

Lines Matching refs:autocfg

305 	struct auto_pin_cfg autocfg;
1080 struct auto_pin_cfg *cfg = &spec->autocfg;
2443 info->pcm_type = spec->autocfg.dig_out_type[0];
2839 struct auto_pin_cfg *cfg = &spec->autocfg;
2856 struct auto_pin_cfg *cfg = &spec->autocfg;
2898 for (i = 0; i < spec->autocfg.hp_outs; i++)
2901 for (i = 0; i < spec->autocfg.speaker_outs; i++)
2965 struct auto_pin_cfg *cfg = &spec->autocfg;
3557 struct auto_pin_cfg *cfg = &spec->autocfg;
3594 struct auto_pin_cfg *cfg = &spec->autocfg;
3675 for (i = 0; i < spec->autocfg.line_outs; i++) {
3676 hda_nid_t nid = spec->autocfg.line_out_pins[i];
3686 for (i = 0; i < spec->autocfg.hp_outs; i++) {
3688 pin = spec->autocfg.hp_pins[i];
3692 for (i = 0; i < spec->autocfg.speaker_outs; i++) {
3694 pin = spec->autocfg.speaker_pins[i];
3705 if (spec->autocfg.line_out_type != AUTO_PIN_SPEAKER_OUT ||
3706 spec->autocfg.hp_outs <= 1)
3709 for (i = 0; i < spec->autocfg.hp_outs; i++) {
3710 hda_nid_t nid = spec->autocfg.hp_pins[i];
3727 &spec->autocfg,
3730 if (! spec->autocfg.line_outs)
3742 memcpy(spec->autocfg.speaker_pins, spec->autocfg.line_out_pins,
3743 sizeof(spec->autocfg.line_out_pins));
3744 spec->autocfg.speaker_outs = spec->autocfg.line_outs;
3745 memcpy(spec->autocfg.line_out_pins, spec->autocfg.hp_pins,
3746 sizeof(spec->autocfg.hp_pins));
3747 spec->autocfg.line_outs = spec->autocfg.hp_outs;
3748 spec->autocfg.line_out_type = AUTO_PIN_HP_OUT;
3749 spec->autocfg.hp_outs = 0;
3752 if (spec->autocfg.mono_out_pin) {
3753 int dir = get_wcaps(codec, spec->autocfg.mono_out_pin) &
3756 spec->autocfg.mono_out_pin, dir);
3761 spec->autocfg.mono_out_pin, conn_list, 1) &&
3776 hda_nid_t nid = spec->autocfg.mono_out_pin;
3797 stac92xx_auto_set_pinctl(codec, spec->autocfg.mono_out_pin,
3806 &spec->autocfg);
3845 err = stac92xx_auto_create_hp_ctls(codec, &spec->autocfg);
3851 memcpy(spec->autocfg.hp_pins, spec->autocfg.line_out_pins,
3852 sizeof(spec->autocfg.hp_pins));
3853 spec->autocfg.hp_outs = spec->autocfg.line_outs;
3854 spec->autocfg.line_out_type = AUTO_PIN_HP_OUT;
3855 spec->autocfg.line_outs = 0;
3873 err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg);
3884 &spec->autocfg)) < 0)
3905 if (spec->autocfg.dig_outs)
3907 if (dig_in && spec->autocfg.dig_in_pin)
3953 for (i = 0; i < spec->autocfg.speaker_outs && lfe_pin == 0x0; i++) {
3954 hda_nid_t pin = spec->autocfg.speaker_pins[i];
3963 if (lfe_pin == 0 && spec->autocfg.speaker_outs == 0) {
3964 for (i = 0; i < spec->autocfg.line_outs && lfe_pin == 0x0; i++) {
3965 hda_nid_t pin = spec->autocfg.line_out_pins[i];
3993 if ((err = snd_hda_parse_pin_def_config(codec, &spec->autocfg, NULL)) < 0)
3996 if ((err = stac92xx_auto_create_analog_input_ctls(codec, &spec->autocfg)) < 0)
3999 if ((err = stac9200_auto_create_hp_ctls(codec, &spec->autocfg)) < 0)
4002 if ((err = stac9200_auto_create_lfe_ctls(codec, &spec->autocfg)) < 0)
4015 if (spec->autocfg.dig_outs)
4017 if (spec->autocfg.dig_in_pin)
4260 struct auto_pin_cfg *cfg = &spec->autocfg;
4304 stac92xx_auto_set_pinctl(codec, spec->autocfg.line_out_pins[0],
4518 struct auto_pin_cfg *cfg = &spec->autocfg;
4561 struct auto_pin_cfg *cfg = &spec->autocfg;
4577 struct auto_pin_cfg *cfg = &spec->autocfg;
4932 if (spec->autocfg.hp_pins[0])
4933 stac_issue_unsol_event(codec, spec->autocfg.hp_pins[0]);
4934 else if (spec->autocfg.line_out_pins[0])
4936 spec->autocfg.line_out_pins[0]);