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