Lines Matching +full:spec +full:-
1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * HD audio interface patch for Creative X-Fi CA0110-IBG chip
29 struct hda_gen_spec *spec = codec->spec; in ca0110_parse_auto_config() local
32 err = snd_hda_parse_pin_defcfg(codec, &spec->autocfg, NULL, 0); in ca0110_parse_auto_config()
35 err = snd_hda_gen_parse_auto_config(codec, &spec->autocfg); in ca0110_parse_auto_config()
45 struct hda_gen_spec *spec; in patch_ca0110() local
48 spec = kzalloc(sizeof(*spec), GFP_KERNEL); in patch_ca0110()
49 if (!spec) in patch_ca0110()
50 return -ENOMEM; in patch_ca0110()
51 snd_hda_gen_spec_init(spec); in patch_ca0110()
52 codec->spec = spec; in patch_ca0110()
53 codec->patch_ops = ca0110_patch_ops; in patch_ca0110()
55 spec->multi_cap_vol = 1; in patch_ca0110()
56 codec->bus->core.needs_damn_long_delay = 1; in patch_ca0110()
74 HDA_CODEC_ENTRY(0x1102000a, "CA0110-IBG", patch_ca0110),
75 HDA_CODEC_ENTRY(0x1102000b, "CA0110-IBG", patch_ca0110),
76 HDA_CODEC_ENTRY(0x1102000d, "SB0880 X-Fi", patch_ca0110),
82 MODULE_DESCRIPTION("Creative CA0110-IBG HD-audio codec");