Lines Matching refs:arg
34 snd_emux_hwdep_load_patch(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_load_patch() argument
39 if (copy_from_user(&patch, arg, sizeof(patch))) in snd_emux_hwdep_load_patch()
44 err = snd_soundfont_load(emu->sflist, arg, patch.len + sizeof(patch), TMP_CLIENT_ID); in snd_emux_hwdep_load_patch()
49 return emu->ops.load_fx(emu, patch.type, patch.optarg, arg, patch.len + sizeof(patch)); in snd_emux_hwdep_load_patch()
60 snd_emux_hwdep_misc_mode(struct snd_emux *emu, void __user *arg) in snd_emux_hwdep_misc_mode() argument
65 if (copy_from_user(&info, arg, sizeof(info))) in snd_emux_hwdep_misc_mode()
86 unsigned int cmd, unsigned long arg) in snd_emux_hwdep_ioctl() argument
92 return put_user(SNDRV_EMUX_VERSION, (unsigned int __user *)arg); in snd_emux_hwdep_ioctl()
94 return snd_emux_hwdep_load_patch(emu, (void __user *)arg); in snd_emux_hwdep_ioctl()
104 return put_user(size, (unsigned int __user *)arg); in snd_emux_hwdep_ioctl()
108 return snd_emux_hwdep_misc_mode(emu, (void __user *)arg); in snd_emux_hwdep_ioctl()