Lines Matching full:gen
23 struct hda_gen_spec gen; member
167 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in ad198x_parse_auto_config()
174 spec->gen.indep_hp = indep_hp; in ad198x_parse_auto_config()
175 if (!spec->gen.add_stereo_mix_input) in ad198x_parse_auto_config()
176 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in ad198x_parse_auto_config()
200 snd_hda_gen_spec_init(&spec->gen); in alloc_ad_spec()
217 spec->gen.keep_eapd_on = 1; in ad_fixup_inv_jack_detect()
218 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad_fixup_inv_jack_detect()
231 spec->gen.keep_eapd_on = 1; in ad1986a_fixup_eapd()
244 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_ENABLE; in ad1986a_fixup_eapd_mix_in()
399 spec->gen.mixer_nid = 0x07; in patch_ad1986a()
400 spec->gen.beep_nid = 0x19; in patch_ad1986a()
409 spec->gen.multiout.no_share_stream = 1; in patch_ad1986a()
411 spec->gen.preferred_dacs = preferred_pairs; in patch_ad1986a()
414 spec->gen.auto_mute_via_amp = 1; in patch_ad1986a()
472 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_auto_smux_enum_put()
496 hda_nid_t dig_out = spec->gen.multiout.dig_out_nid; in ad1983_add_spdif_mux_ctl()
505 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1983_auto_smux_mixer)) in ad1983_add_spdif_mux_ctl()
522 spec->gen.mixer_nid = 0x0e; in patch_ad1983()
523 spec->gen.beep_nid = 0x10; in patch_ad1983()
554 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1981_fixup_hp_eapd()
610 spec->gen.mixer_nid = 0x0e; in patch_ad1981()
611 spec->gen.beep_nid = 0x10; in patch_ad1981()
787 if (!spec->gen.autocfg.dig_outs) in ad1988_auto_init()
835 if (!spec->gen.autocfg.dig_outs || in ad1988_add_spdif_mux_ctl()
845 struct nid_path *path = snd_array_new(&spec->gen.paths); in ad1988_add_spdif_mux_ctl()
854 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, &ad1988_auto_smux_mixer)) in ad1988_add_spdif_mux_ctl()
902 spec->gen.mixer_nid = 0x20; in patch_ad1988()
903 spec->gen.mixer_merge_nid = 0x21; in patch_ad1988()
904 spec->gen.beep_nid = 0x10; in patch_ad1988()
987 spec->gen.vmaster_mute.hook = ad1884_vmaster_hp_gpio_hook; in ad1884_fixup_hp_eapd()
988 spec->gen.own_eapd_ctl = 1; in ad1884_fixup_hp_eapd()
997 if (spec->gen.autocfg.line_out_type == AUTO_PIN_SPEAKER_OUT) in ad1884_fixup_hp_eapd()
998 spec->eapd_nid = spec->gen.autocfg.line_out_pins[0]; in ad1884_fixup_hp_eapd()
1000 spec->eapd_nid = spec->gen.autocfg.speaker_pins[0]; in ad1884_fixup_hp_eapd()
1011 spec->gen.keep_eapd_on = 1; in ad1884_fixup_thinkpad()
1012 spec->gen.vmaster_mute.hook = ad_vmaster_eapd_hook; in ad1884_fixup_thinkpad()
1016 spec->gen.beep_nid = 0; /* no digital beep */ in ad1884_fixup_thinkpad()
1082 spec->gen.mixer_nid = 0x20; in patch_ad1884()
1083 spec->gen.mixer_merge_nid = 0x21; in patch_ad1884()
1084 spec->gen.beep_nid = 0x10; in patch_ad1884()
1128 spec->gen.mixer_nid = 0x20; in patch_ad1882()
1129 spec->gen.mixer_merge_nid = 0x21; in patch_ad1882()
1130 spec->gen.beep_nid = 0x10; in patch_ad1882()