Lines Matching refs:hwdep
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_motu *motu = hwdep->private_data; in hwdep_read()
61 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
64 struct snd_motu *motu = hwdep->private_data; in hwdep_poll()
134 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
136 struct snd_motu *motu = hwdep->private_data; in hwdep_release()
146 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
149 struct snd_motu *motu = hwdep->private_data; in hwdep_ioctl()
164 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
167 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
183 struct snd_hwdep *hwdep; in snd_motu_create_hwdep_device() local
186 err = snd_hwdep_new(motu->card, motu->card->driver, 0, &hwdep); in snd_motu_create_hwdep_device()
190 strcpy(hwdep->name, "MOTU"); in snd_motu_create_hwdep_device()
191 hwdep->iface = SNDRV_HWDEP_IFACE_FW_MOTU; in snd_motu_create_hwdep_device()
192 hwdep->ops = ops; in snd_motu_create_hwdep_device()
193 hwdep->private_data = motu; in snd_motu_create_hwdep_device()
194 hwdep->exclusive = true; in snd_motu_create_hwdep_device()