Lines Matching refs:gen
38 struct hda_gen_spec gen; member
62 spec->gen.beep_nid = nid; in set_beep_amp()
273 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic()
295 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
297 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode()
307 spec->gen.hp_jack_present = false; in cxt_update_headset_mode()
310 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
334 spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; in cxt_fixup_headphone_mic()
335 spec->gen.automute_hook = cxt_update_headset_mode; in cxt_fixup_headphone_mic()
386 cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; in olpc_xo_update_mic_pins()
572 spec->gen.mic_autoswitch_hook = olpc_xo_automic; in cxt_fixup_olpc_xo()
573 spec->gen.pcm_capture_hook = olpc_xo_capture_hook; in cxt_fixup_olpc_xo()
585 for (i = 0; i < spec->gen.kctls.used; i++) { in cxt_fixup_olpc_xo()
587 snd_array_elem(&spec->gen.kctls, i); in cxt_fixup_olpc_xo()
603 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook_mute_led; in cxt_fixup_mute_led_eapd()
865 spec->gen.dac_min_mute = true; in add_cx5051_fake_mutes()
878 snd_hda_gen_spec_init(&spec->gen); in patch_conexant_auto()
884 spec->gen.own_eapd_ctl = 1; in patch_conexant_auto()
886 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
891 spec->gen.mixer_nid = 0x17; in patch_conexant_auto()
892 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
898 spec->gen.mixer_nid = 0x19; in patch_conexant_auto()
899 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
924 spec->gen.vmaster_mute_enum = 1; in patch_conexant_auto()
930 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
935 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()