Lines Matching refs:hwdep
3 * ff-hwdep.c - a part of driver for RME Fireface series
26 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
29 struct snd_ff *ff = hwdep->private_data;
71 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
74 struct snd_ff *ff = hwdep->private_data;
144 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
146 struct snd_ff *ff = hwdep->private_data;
156 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
159 struct snd_ff *ff = hwdep->private_data;
174 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
177 return hwdep_ioctl(hwdep, file, cmd,
193 struct snd_hwdep *hwdep;
196 err = snd_hwdep_new(ff->card, ff->card->driver, 0, &hwdep);
200 strcpy(hwdep->name, ff->card->driver);
201 hwdep->iface = SNDRV_HWDEP_IFACE_FW_FIREFACE;
202 hwdep->ops = hwdep_ops;
203 hwdep->private_data = ff;
204 hwdep->exclusive = true;