Lines Matching refs:hwdep
19 hwdep_read(struct snd_hwdep *hwdep, char __user *buf, long count, in hwdep_read() argument
22 struct snd_bebob *bebob = hwdep->private_data; in hwdep_read()
53 hwdep_poll(struct snd_hwdep *hwdep, struct file *file, poll_table *wait) in hwdep_poll() argument
55 struct snd_bebob *bebob = hwdep->private_data; in hwdep_poll()
129 hwdep_release(struct snd_hwdep *hwdep, struct file *file) in hwdep_release() argument
131 struct snd_bebob *bebob = hwdep->private_data; in hwdep_release()
142 hwdep_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_ioctl() argument
145 struct snd_bebob *bebob = hwdep->private_data; in hwdep_ioctl()
161 hwdep_compat_ioctl(struct snd_hwdep *hwdep, struct file *file, in hwdep_compat_ioctl() argument
164 return hwdep_ioctl(hwdep, file, cmd, in hwdep_compat_ioctl()
180 struct snd_hwdep *hwdep; in snd_bebob_create_hwdep_device() local
183 err = snd_hwdep_new(bebob->card, "BeBoB", 0, &hwdep); in snd_bebob_create_hwdep_device()
186 strcpy(hwdep->name, "BeBoB"); in snd_bebob_create_hwdep_device()
187 hwdep->iface = SNDRV_HWDEP_IFACE_FW_BEBOB; in snd_bebob_create_hwdep_device()
188 hwdep->ops = ops; in snd_bebob_create_hwdep_device()
189 hwdep->private_data = bebob; in snd_bebob_create_hwdep_device()
190 hwdep->exclusive = true; in snd_bebob_create_hwdep_device()