Lines Matching refs:hwdep
98 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
101 struct snd_tscm *tscm = hwdep->private_data; in hwdep_read()
129 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
132 struct snd_tscm *tscm = hwdep->private_data; in hwdep_poll()
210 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
212 struct snd_tscm *tscm = hwdep->private_data; in hwdep_release()
222 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
225 struct snd_tscm *tscm = hwdep->private_data; in hwdep_ioctl()
242 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
245 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
261 struct snd_hwdep *hwdep; in snd_tscm_create_hwdep_device() local
264 err = snd_hwdep_new(tscm->card, "Tascam", 0, &hwdep); in snd_tscm_create_hwdep_device()
268 strcpy(hwdep->name, "Tascam"); in snd_tscm_create_hwdep_device()
269 hwdep->iface = SNDRV_HWDEP_IFACE_FW_TASCAM; in snd_tscm_create_hwdep_device()
270 hwdep->ops = ops; in snd_tscm_create_hwdep_device()
271 hwdep->private_data = tscm; in snd_tscm_create_hwdep_device()
272 hwdep->exclusive = true; in snd_tscm_create_hwdep_device()
274 tscm->hwdep = hwdep; in snd_tscm_create_hwdep_device()