Lines Matching refs:file
221 struct file *file = q->priv_data; in buffer_prepare() local
222 struct saa7146_fh *fh = file->private_data; in buffer_prepare()
291 struct file *file = q->priv_data; in buffer_queue() local
292 struct saa7146_fh *fh = file->private_data; in buffer_queue()
303 struct file *file = q->priv_data; in buffer_release() local
304 struct saa7146_fh *fh = file->private_data; in buffer_release()
321 static void vbi_stop(struct saa7146_fh *fh, struct file *file) in vbi_stop() argument
355 struct file *file = vv->vbi_read_timeout_file; in vbi_read_timeout() local
356 struct saa7146_fh *fh = file->private_data; in vbi_read_timeout()
361 vbi_stop(fh, file); in vbi_read_timeout()
376 static int vbi_open(struct saa7146_dev *dev, struct file *file) in vbi_open() argument
378 struct saa7146_fh *fh = file->private_data; in vbi_open()
403 file, &dev->v4l2_lock); in vbi_open()
406 vv->vbi_read_timeout_file = file; in vbi_open()
425 static void vbi_close(struct saa7146_dev *dev, struct file *file) in vbi_close() argument
427 struct saa7146_fh *fh = file->private_data; in vbi_close()
432 vbi_stop(fh, file); in vbi_close()
456 static ssize_t vbi_read(struct file *file, char __user *data, size_t count, loff_t *ppos) in vbi_read() argument
458 struct saa7146_fh *fh = file->private_data; in vbi_read()
479 file->f_flags & O_NONBLOCK); in vbi_read()