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