Lines Matching refs:knew
812 struct snd_kcontrol_new knew; in snd_emu10k1_add_controls() local
842 memset(&knew, 0, sizeof(knew)); in snd_emu10k1_add_controls()
843 knew.iface = gctl_id->iface; in snd_emu10k1_add_controls()
844 knew.name = gctl_id->name; in snd_emu10k1_add_controls()
845 knew.index = gctl_id->index; in snd_emu10k1_add_controls()
846 knew.device = gctl_id->device; in snd_emu10k1_add_controls()
847 knew.subdevice = gctl_id->subdevice; in snd_emu10k1_add_controls()
848 knew.info = snd_emu10k1_gpr_ctl_info; in snd_emu10k1_add_controls()
849 knew.tlv.p = copy_tlv((const unsigned int __user *)gctl->tlv, in_kernel); in snd_emu10k1_add_controls()
850 if (knew.tlv.p) in snd_emu10k1_add_controls()
851 knew.access = SNDRV_CTL_ELEM_ACCESS_READWRITE | in snd_emu10k1_add_controls()
853 knew.get = snd_emu10k1_gpr_ctl_get; in snd_emu10k1_add_controls()
854 knew.put = snd_emu10k1_gpr_ctl_put; in snd_emu10k1_add_controls()
870 kfree(knew.tlv.p); in snd_emu10k1_add_controls()
873 knew.private_value = (unsigned long)ctl; in snd_emu10k1_add_controls()
875 kctl = snd_ctl_new1(&knew, emu); in snd_emu10k1_add_controls()
879 kfree(knew.tlv.p); in snd_emu10k1_add_controls()