Home
last modified time | relevance | path

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

/openbmc/linux/sound/pci/hda/
H A Dcs35l56_hda.c336 struct snd_kcontrol_new ctl_template = { in cs35l56_hda_create_controls() local
347 ctl_template.name = name; in cs35l56_hda_create_controls()
348 cs35l56->posture_ctl = snd_ctl_new1(&ctl_template, cs35l56); in cs35l56_hda_create_controls()
350 dev_err(cs35l56->base.dev, "Failed to add KControl: %s\n", ctl_template.name); in cs35l56_hda_create_controls()
353 ctl_template.info = cs35l56_hda_mixer_info; in cs35l56_hda_create_controls()
354 ctl_template.get = cs35l56_hda_mixer_get; in cs35l56_hda_create_controls()
355 ctl_template.put = cs35l56_hda_mixer_put; in cs35l56_hda_create_controls()
362 ctl_template.private_value = cs35l56_hda_mixer_controls[i].reg; in cs35l56_hda_create_controls()
363 cs35l56->mixer_ctl[i] = snd_ctl_new1(&ctl_template, cs35l56); in cs35l56_hda_create_controls()
366 ctl_template.name); in cs35l56_hda_create_controls()
[all …]