Searched refs:mixer_ctl (Results 1 – 2 of 2) sorted by relevance
36 struct snd_kcontrol *mixer_ctl[4]; member
357 BUILD_BUG_ON(ARRAY_SIZE(cs35l56->mixer_ctl) != ARRAY_SIZE(cs35l56_hda_mixer_controls)); in cs35l56_hda_create_controls()363 cs35l56->mixer_ctl[i] = snd_ctl_new1(&ctl_template, cs35l56); in cs35l56_hda_create_controls()364 if (snd_ctl_add(cs35l56->codec->card, cs35l56->mixer_ctl[i])) { in cs35l56_hda_create_controls()386 for (i = ARRAY_SIZE(cs35l56->mixer_ctl) - 1; i >= 0; i--) in cs35l56_hda_remove_controls()387 snd_ctl_remove(cs35l56->codec->card, cs35l56->mixer_ctl[i]); in cs35l56_hda_remove_controls()