Lines Matching refs:hwdep
3 * tascam-hwdep.c - a part of driver for TASCAM FireWire series
98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
101 struct snd_tscm *tscm = hwdep->private_data;
129 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
132 struct snd_tscm *tscm = hwdep->private_data;
210 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
212 struct snd_tscm *tscm = hwdep->private_data;
222 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
225 struct snd_tscm *tscm = hwdep->private_data;
242 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
245 return hwdep_ioctl(hwdep, file, cmd,
261 struct snd_hwdep *hwdep;
264 err = snd_hwdep_new(tscm->card, "Tascam", 0, &hwdep);
268 strcpy(hwdep->name, "Tascam");
269 hwdep->iface = SNDRV_HWDEP_IFACE_FW_TASCAM;
270 hwdep->ops = ops;
271 hwdep->private_data = tscm;
272 hwdep->exclusive = true;
274 tscm->hwdep = hwdep;