Lines Matching refs:gen
23 struct hda_gen_spec gen; member
171 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
178 spec->gen.indep_hp = indep_hp; in ad198x_parse_auto_config()
179 if (!spec->gen.add_stereo_mix_input) in ad198x_parse_auto_config()
180 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in ad198x_parse_auto_config()
204 snd_hda_gen_spec_init(&spec->gen); in alloc_ad_spec()
221 spec->gen.keep_eapd_on = 1; in ad_fixup_inv_jack_detect()
222 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect()
235 spec->gen.keep_eapd_on = 1; in ad1986a_fixup_eapd()
248 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_ENABLE; in ad1986a_fixup_eapd_mix_in()
403 spec->gen.mixer_nid = 0x07; in patch_ad1986a()
404 spec->gen.beep_nid = 0x19; in patch_ad1986a()
413 spec->gen.multiout.no_share_stream = 1; in patch_ad1986a()
415 spec->gen.preferred_dacs = preferred_pairs; in patch_ad1986a()
418 spec->gen.auto_mute_via_amp = 1; in patch_ad1986a()
476 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_auto_smux_enum_put()
500 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_add_spdif_mux_ctl()
509 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1983_auto_smux_mixer)) in ad1983_add_spdif_mux_ctl()
526 spec->gen.mixer_nid = 0x0e; in patch_ad1983()
527 spec->gen.beep_nid = 0x10; in patch_ad1983()
558 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd()
614 spec->gen.mixer_nid = 0x0e; in patch_ad1981()
615 spec->gen.beep_nid = 0x10; in patch_ad1981()
791 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
839 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
849 struct nid_path *path = snd_array_new(&spec->gen.paths); in ad1988_add_spdif_mux_ctl()
858 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1988_auto_smux_mixer)) in ad1988_add_spdif_mux_ctl()
906 spec->gen.mixer_nid = 0x20; in patch_ad1988()
907 spec->gen.mixer_merge_nid = 0x21; in patch_ad1988()
908 spec->gen.beep_nid = 0x10; in patch_ad1988()
991 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; in ad1884_fixup_hp_eapd()
992 spec->gen.own_eapd_ctl = 1; in ad1884_fixup_hp_eapd()
1001 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
1002 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1004 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
1015 spec->gen.keep_eapd_on = 1; in ad1884_fixup_thinkpad()
1016 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_thinkpad()
1020 spec->gen.beep_nid = 0; /* no digital beep */ in ad1884_fixup_thinkpad()
1086 spec->gen.mixer_nid = 0x20; in patch_ad1884()
1087 spec->gen.mixer_merge_nid = 0x21; in patch_ad1884()
1088 spec->gen.beep_nid = 0x10; in patch_ad1884()
1132 spec->gen.mixer_nid = 0x20; in patch_ad1882()
1133 spec->gen.mixer_merge_nid = 0x21; in patch_ad1882()
1134 spec->gen.beep_nid = 0x10; in patch_ad1882()