Lines Matching refs:file
153 static int usb_stream_hwdep_open(struct snd_hwdep *hw, struct file *file) in usb_stream_hwdep_open() argument
158 snd_printdd(KERN_DEBUG "%p %p\n", hw, file); in usb_stream_hwdep_open()
163 us122l->first = file; in usb_stream_hwdep_open()
174 static int usb_stream_hwdep_release(struct snd_hwdep *hw, struct file *file) in usb_stream_hwdep_release() argument
179 snd_printdd(KERN_DEBUG "%p %p\n", hw, file); in usb_stream_hwdep_release()
187 if (us122l->first == file) in usb_stream_hwdep_release()
190 if (us122l->master == file) in usb_stream_hwdep_release()
199 struct file *filp, struct vm_area_struct *area) in usb_stream_hwdep_mmap()
238 struct file *file, poll_table *wait) in usb_stream_hwdep_poll() argument
244 poll_wait(file, &us122l->sk.sleep, wait); in usb_stream_hwdep_poll()
251 if (us122l->first == file) in usb_stream_hwdep_poll()
345 static int usb_stream_hwdep_ioctl(struct snd_hwdep *hw, struct file *file, in usb_stream_hwdep_ioctl() argument
393 us122l->master = file; in usb_stream_hwdep_ioctl()
394 } else if (us122l->master != file) { in usb_stream_hwdep_ioctl()
399 us122l->slave = file; in usb_stream_hwdep_ioctl()