Lines Matching refs:hwdep
96 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
99 struct snd_efw *efw = hwdep->private_data; in hwdep_read()
125 hwdep_write(struct snd_hwdep *hwdep, const char __user *data, long count, in hwdep_write() argument
128 struct snd_efw *efw = hwdep->private_data; in hwdep_write()
155 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
157 struct snd_efw *efw = hwdep->private_data; in hwdep_poll()
231 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
233 struct snd_efw *efw = hwdep->private_data; in hwdep_release()
244 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
247 struct snd_efw *efw = hwdep->private_data; in hwdep_ioctl()
263 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
266 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
284 struct snd_hwdep *hwdep; in snd_efw_create_hwdep_device() local
287 err = snd_hwdep_new(efw->card, "Fireworks", 0, &hwdep); in snd_efw_create_hwdep_device()
290 strcpy(hwdep->name, "Fireworks"); in snd_efw_create_hwdep_device()
291 hwdep->iface = SNDRV_HWDEP_IFACE_FW_FIREWORKS; in snd_efw_create_hwdep_device()
292 hwdep->ops = hwdep_ops; in snd_efw_create_hwdep_device()
293 hwdep->private_data = efw; in snd_efw_create_hwdep_device()
294 hwdep->exclusive = true; in snd_efw_create_hwdep_device()