Lines Matching refs:gen
25 struct hda_gen_spec gen; member
63 spec->gen.beep_nid = nid; in set_beep_amp()
65 knew = snd_hda_gen_add_kctl(&spec->gen, NULL, in set_beep_amp()
253 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic()
275 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
277 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode()
287 spec->gen.hp_jack_present = false; in cxt_update_headset_mode()
290 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
314 WARN_ON(spec->gen.cap_sync_hook); in cxt_fixup_headphone_mic()
315 spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; in cxt_fixup_headphone_mic()
316 spec->gen.automute_hook = cxt_update_headset_mode; in cxt_fixup_headphone_mic()
379 cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; in olpc_xo_update_mic_pins()
566 spec->gen.mic_autoswitch_hook = olpc_xo_automic; in cxt_fixup_olpc_xo()
567 spec->gen.pcm_capture_hook = olpc_xo_capture_hook; in cxt_fixup_olpc_xo()
579 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()
1014 spec->gen.dac_min_mute = true; in add_cx5051_fake_mutes()
1027 snd_hda_gen_spec_init(&spec->gen); in patch_conexant_auto()
1032 spec->gen.own_eapd_ctl = 1; in patch_conexant_auto()
1037 spec->gen.mixer_nid = 0x17; in patch_conexant_auto()
1038 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1044 spec->gen.mixer_nid = 0x19; in patch_conexant_auto()
1045 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1065 if (!spec->gen.vmaster_mute.hook && spec->dynamic_eapd) in patch_conexant_auto()
1066 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
1070 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
1075 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()