Lines Matching full:file
145 static int vidioc_s_std(struct file *file, void *priv, v4l2_std_id id)
147 struct saa7164_vbi_fh *fh = file->private_data;
152 static int vidioc_g_std(struct file *file, void *priv, v4l2_std_id *id)
154 struct saa7164_encoder_fh *fh = file->private_data;
159 static int vidioc_g_input(struct file *file, void *priv, unsigned int *i)
161 struct saa7164_vbi_fh *fh = file->private_data;
166 static int vidioc_s_input(struct file *file, void *priv, unsigned int i)
168 struct saa7164_vbi_fh *fh = file->private_data;
173 static int vidioc_g_frequency(struct file *file, void *priv,
176 struct saa7164_vbi_fh *fh = file->private_data;
181 static int vidioc_s_frequency(struct file *file, void *priv,
184 struct saa7164_vbi_fh *fh = file->private_data;
192 static int vidioc_querycap(struct file *file, void *priv,
195 struct saa7164_vbi_fh *fh = file->private_data;
393 static int saa7164_vbi_fmt(struct file *file, void *priv,
410 static int fops_open(struct file *file)
416 port = (struct saa7164_port *)video_get_drvdata(video_devdata(file));
430 v4l2_fh_init(&fh->fh, video_devdata(file));
432 file->private_data = fh;
437 static int fops_release(struct file *file)
439 struct saa7164_vbi_fh *fh = file->private_data;
489 static ssize_t fops_read(struct file *file, char __user *buffer,
492 struct saa7164_vbi_fh *fh = file->private_data;
527 if ((file->f_flags & O_NONBLOCK) == 0) {
579 if ((file->f_flags & O_NONBLOCK) == 0) {
597 static __poll_t fops_poll(struct file *file, poll_table *wait)
599 struct saa7164_vbi_fh *fh = (struct saa7164_vbi_fh *)file->private_data;
624 if ((file->f_flags & O_NONBLOCK) == 0) {