Lines Matching refs:hwdep
3 * ff-hwdep.c - a part of driver for RME Fireface series
18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count,
21 struct snd_ff *ff = hwdep->private_data;
54 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file,
57 struct snd_ff *ff = hwdep->private_data;
127 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file)
129 struct snd_ff *ff = hwdep->private_data;
139 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file,
142 struct snd_ff *ff = hwdep->private_data;
157 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file,
160 return hwdep_ioctl(hwdep, file, cmd,
176 struct snd_hwdep *hwdep;
179 err = snd_hwdep_new(ff->card, ff->card->driver, 0, &hwdep);
183 strcpy(hwdep->name, ff->card->driver);
184 hwdep->iface = SNDRV_HWDEP_IFACE_FW_FIREFACE;
185 hwdep->ops = hwdep_ops;
186 hwdep->private_data = ff;
187 hwdep->exclusive = true;