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