Lines Matching refs:file
179 static int usb_stream_hwdep_open(struct snd_hwdep *hw, struct file *file) in usb_stream_hwdep_open() argument
183 snd_printdd(KERN_DEBUG "%p %p\n", hw, file); in usb_stream_hwdep_open()
188 us122l->first = file; in usb_stream_hwdep_open()
199 static int usb_stream_hwdep_release(struct snd_hwdep *hw, struct file *file) in usb_stream_hwdep_release() argument
203 snd_printdd(KERN_DEBUG "%p %p\n", hw, file); in usb_stream_hwdep_release()
211 if (us122l->first == file) in usb_stream_hwdep_release()
214 if (us122l->master == file) in usb_stream_hwdep_release()
223 struct file *filp, struct vm_area_struct *area) in usb_stream_hwdep_mmap()
262 struct file *file, poll_table *wait) in usb_stream_hwdep_poll() argument
268 poll_wait(file, &us122l->sk.sleep, wait); in usb_stream_hwdep_poll()
274 if (us122l->first == file) in usb_stream_hwdep_poll()
365 static int usb_stream_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, in usb_stream_hwdep_ioctl() argument
413 us122l->master = file; in usb_stream_hwdep_ioctl()
414 else if (us122l->master != file) { in usb_stream_hwdep_ioctl()
419 us122l->slave = file; in usb_stream_hwdep_ioctl()