Lines Matching refs:hwdep
3 * digi00x-hwdep.c - a part of driver for Digidesign Digi 002/003 family
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
22 struct snd_dg00x *dg00x = hwdep->private_data;
62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
65 struct snd_dg00x *dg00x = hwdep->private_data;
135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
137 struct snd_dg00x *dg00x = hwdep->private_data;
147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
150 struct snd_dg00x *dg00x = hwdep->private_data;
165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
168 return hwdep_ioctl(hwdep, file, cmd,
184 struct snd_hwdep *hwdep;
187 err = snd_hwdep_new(dg00x->card, "Digi00x", 0, &hwdep);
191 strcpy(hwdep->name, "Digi00x");
192 hwdep->iface = SNDRV_HWDEP_IFACE_FW_DIGI00X;
193 hwdep->ops = ops;
194 hwdep->private_data = dg00x;
195 hwdep->exclusive = true;