Lines Matching defs:template
645 struct snd_kcontrol_new template;
648 memset(&template, 0, sizeof(template));
649 template.iface = SNDRV_CTL_ELEM_IFACE_MIXER;
650 template.name = ctrl->name;
651 template.info = sigmadsp_ctrl_info;
652 template.get = sigmadsp_ctrl_get;
653 template.put = sigmadsp_ctrl_put;
654 template.private_value = (unsigned long)ctrl;
655 template.access = SNDRV_CTL_ELEM_ACCESS_READWRITE;
657 template.access |= SNDRV_CTL_ELEM_ACCESS_INACTIVE;
659 kcontrol = snd_ctl_new1(&template, sigmadsp);