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()
319 spec->gen.inv_dmic_split = 1; in cxt_fixup_stereo_dmic()
354 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in cxt_update_headset_mode()
356 hda_nid_t mux_pin = spec->gen.imux_pins[spec->gen.cur_mux[0]]; in cxt_update_headset_mode()
366 spec->gen.hp_jack_present = false; in cxt_update_headset_mode()
369 spec->gen.hp_jack_present = snd_hda_jack_detect(codec, spec->gen.autocfg.hp_pins[0]); in cxt_update_headset_mode()
393 WARN_ON(spec->gen.cap_sync_hook); in cxt_fixup_headphone_mic()
394 spec->gen.cap_sync_hook = cxt_update_headset_mode_hook; in cxt_fixup_headphone_mic()
395 spec->gen.automute_hook = cxt_update_headset_mode; in cxt_fixup_headphone_mic()
458 cur_input = spec->gen.input_paths[0][spec->gen.cur_mux[0]]; in olpc_xo_update_mic_pins()
645 spec->gen.mic_autoswitch_hook = olpc_xo_automic; in cxt_fixup_olpc_xo()
646 spec->gen.pcm_capture_hook = olpc_xo_capture_hook; in cxt_fixup_olpc_xo()
658 snd_array_for_each(&spec->gen.kctls, i, kctl) { in cxt_fixup_olpc_xo()
1152 spec->gen.dac_min_mute = true; in add_cx5051_fake_mutes()
1165 snd_hda_gen_spec_init(&spec->gen); in patch_conexant_auto()
1179 spec->gen.own_eapd_ctl = 1; in patch_conexant_auto()
1184 spec->gen.mixer_nid = 0x17; in patch_conexant_auto()
1185 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1191 spec->gen.mixer_nid = 0x19; in patch_conexant_auto()
1192 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1204 spec->gen.mixer_nid = 0x22; in patch_conexant_auto()
1205 spec->gen.add_stereo_mix_input = HDA_HINT_STEREO_MIX_AUTO; in patch_conexant_auto()
1219 if (!spec->gen.vmaster_mute.hook && spec->dynamic_eapd) in patch_conexant_auto()
1220 spec->gen.vmaster_mute.hook = cx_auto_vmaster_hook; in patch_conexant_auto()
1224 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, in patch_conexant_auto()
1233 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in patch_conexant_auto()