Home
last modified time | relevance | path

Searched refs:ctl_template (Results 1 – 1 of 1) sorted by relevance

/linux-6.12.1/sound/pci/hda/
Dcs35l56_hda.c358 struct snd_kcontrol_new ctl_template = { in cs35l56_hda_create_controls() local
369 ctl_template.name = name; in cs35l56_hda_create_controls()
370 cs35l56->posture_ctl = snd_ctl_new1(&ctl_template, cs35l56); in cs35l56_hda_create_controls()
372 dev_err(cs35l56->base.dev, "Failed to add KControl: %s\n", ctl_template.name); in cs35l56_hda_create_controls()
375 ctl_template.info = cs35l56_hda_mixer_info; in cs35l56_hda_create_controls()
376 ctl_template.get = cs35l56_hda_mixer_get; in cs35l56_hda_create_controls()
377 ctl_template.put = cs35l56_hda_mixer_put; in cs35l56_hda_create_controls()
384 ctl_template.private_value = cs35l56_hda_mixer_controls[i].reg; in cs35l56_hda_create_controls()
385 cs35l56->mixer_ctl[i] = snd_ctl_new1(&ctl_template, cs35l56); in cs35l56_hda_create_controls()
388 ctl_template.name); in cs35l56_hda_create_controls()
[all …]