Lines Matching refs:gen

24 	struct hda_gen_spec gen;  member
162 spec->gen.master_mute = !!(spec->spdif_present && spec->sense_b); in cs_automute()
167 if (spec->gen.automute_speaker) in cs_automute()
168 spec->gpio_data = spec->gen.hp_jack_present ? in cs_automute()
350 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs_parse_auto_config()
354 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs_parse_auto_config()
359 if (spec->gen.dyn_adc_switch) { in cs_parse_auto_config()
362 for (i = 0; i < spec->gen.input_mux.num_items; i++) { in cs_parse_auto_config()
363 int idx = spec->gen.dyn_adc_idx[i]; in cs_parse_auto_config()
368 spec->gen.adc_nids[idx]); in cs_parse_auto_config()
581 snd_hda_gen_spec_init(&spec->gen); in cs_alloc_spec()
596 spec->gen.automute_hook = cs_automute; in patch_cs420x()
703 hda_nid_t pin = spec->gen.autocfg.dig_out_pins[0]; in cs4208_spdif_sw_put()
718 if (!spec->gen.autocfg.dig_out_pins[0]) in cs4208_fixup_spdif_switch()
778 spec->gen.automute_hook = cs_automute; in patch_cs4208()
780 spec->gen.out_vol_mask = 1ULL << 0x10; in patch_cs4208()
1027 hda_nid_t spdif_pin = spec->gen.autocfg.dig_out_pins[0]; in cs4210_spdif_automute()
1048 struct auto_pin_cfg *cfg = &spec->gen.autocfg; in parse_cs421x_digital()
1110 err = snd_hda_parse_pin_defcfg(codec, &spec->gen.autocfg, NULL, 0); in cs421x_parse_auto_config()
1114 err = snd_hda_gen_parse_auto_config(codec, &spec->gen.autocfg); in cs421x_parse_auto_config()
1120 if (spec->gen.autocfg.speaker_outs && in cs421x_parse_auto_config()
1122 if (!snd_hda_gen_add_kctl(&spec->gen, NULL, in cs421x_parse_auto_config()
1178 spec->gen.automute_hook = cs_automute; in patch_cs4210()