Lines Matching refs:hwdep
19 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_read()
62 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
65 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_poll()
135 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
137 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_release()
147 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
150 struct snd_dg00x *dg00x = hwdep->private_data; in hwdep_ioctl()
165 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
168 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
184 struct snd_hwdep *hwdep; in snd_dg00x_create_hwdep_device() local
187 err = snd_hwdep_new(dg00x->card, "Digi00x", 0, &hwdep); in snd_dg00x_create_hwdep_device()
191 strcpy(hwdep->name, "Digi00x"); in snd_dg00x_create_hwdep_device()
192 hwdep->iface = SNDRV_HWDEP_IFACE_FW_DIGI00X; in snd_dg00x_create_hwdep_device()
193 hwdep->ops = ops; in snd_dg00x_create_hwdep_device()
194 hwdep->private_data = dg00x; in snd_dg00x_create_hwdep_device()
195 hwdep->exclusive = true; in snd_dg00x_create_hwdep_device()