Searched refs:nctl (Results 1 – 1 of 1) sorted by relevance
811 struct snd_emu10k1_fx8010_ctl *ctl, *nctl; in snd_emu10k1_add_controls() local819 nctl = kmalloc(sizeof(*nctl), GFP_KERNEL); in snd_emu10k1_add_controls()820 if (!val || !gctl || !nctl) { in snd_emu10k1_add_controls()855 memset(nctl, 0, sizeof(*nctl)); in snd_emu10k1_add_controls()856 nctl->vcount = gctl->vcount; in snd_emu10k1_add_controls()857 nctl->count = gctl->count; in snd_emu10k1_add_controls()859 nctl->gpr[j] = gctl->gpr[j]; in snd_emu10k1_add_controls()860 nctl->value[j] = ~gctl->value[j]; /* inverted, we want to write new value in gpr_ctl_put() */ in snd_emu10k1_add_controls()863 nctl->min = gctl->min; in snd_emu10k1_add_controls()864 nctl->max = gctl->max; in snd_emu10k1_add_controls()[all …]