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()
248 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic()
270 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
272 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode()
282 spec->gen.hp_jack_present = false; in cxt_update_headset_mode()
285 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
309 WARN_ON(spec->gen.cap_sync_hook); in cxt_fixup_headphone_mic()
310 spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; in cxt_fixup_headphone_mic()
311 spec->gen.automute_hook = cxt_update_headset_mode; in cxt_fixup_headphone_mic()
374 cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; in olpc_xo_update_mic_pins()
561 spec->gen.mic_autoswitch_hook = olpc_xo_automic; in cxt_fixup_olpc_xo()
562 spec->gen.pcm_capture_hook = olpc_xo_capture_hook; in cxt_fixup_olpc_xo()
574 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()
1039 spec->gen.dac_min_mute = true; in add_cx5051_fake_mutes()
1052 snd_hda_gen_spec_init(&spec->gen); in patch_conexant_auto()
1057 spec->gen.own_eapd_ctl = 1; in patch_conexant_auto()
1062 spec->gen.mixer_nid = 0x17; in patch_conexant_auto()
1063 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1069 spec->gen.mixer_nid = 0x19; in patch_conexant_auto()
1070 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1082 spec->gen.mixer_nid = 0x22; in patch_conexant_auto()
1083 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1097 if (!spec->gen.vmaster_mute.hook && spec->dynamic_eapd) in patch_conexant_auto()
1098 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
1102 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
1111 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()