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