Lines Matching refs:hwdep
38 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
41 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read()
64 static unsigned int hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
67 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll()
137 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
139 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release()
149 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
152 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl()
167 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
170 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
187 struct snd_hwdep *hwdep; in snd_tscm_create_hwdep_device() local
190 err = snd_hwdep_new(tscm->card, "Tascam", 0, &hwdep); in snd_tscm_create_hwdep_device()
194 strcpy(hwdep->name, "Tascam"); in snd_tscm_create_hwdep_device()
195 hwdep->iface = SNDRV_HWDEP_IFACE_FW_TASCAM; in snd_tscm_create_hwdep_device()
196 hwdep->ops = hwdep_ops; in snd_tscm_create_hwdep_device()
197 hwdep->private_data = tscm; in snd_tscm_create_hwdep_device()
198 hwdep->exclusive = true; in snd_tscm_create_hwdep_device()