Lines Matching refs:hwdep
18 static long hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
21 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_read()
52 static __poll_t hwdep_poll(struct snd_hwdep *hwdep, struct file *file, in hwdep_poll() argument
55 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_poll()
125 static int hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
127 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_release()
137 static int hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
140 struct snd_oxfw *oxfw = hwdep->private_data; in hwdep_ioctl()
155 static int hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
158 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
174 struct snd_hwdep *hwdep; in snd_oxfw_create_hwdep() local
177 err = snd_hwdep_new(oxfw->card, oxfw->card->driver, 0, &hwdep); in snd_oxfw_create_hwdep()
180 strcpy(hwdep->name, oxfw->card->driver); in snd_oxfw_create_hwdep()
181 hwdep->iface = SNDRV_HWDEP_IFACE_FW_OXFW; in snd_oxfw_create_hwdep()
182 hwdep->ops = hwdep_ops; in snd_oxfw_create_hwdep()
183 hwdep->private_data = oxfw; in snd_oxfw_create_hwdep()
184 hwdep->exclusive = true; in snd_oxfw_create_hwdep()