Lines Matching refs:file

1693 static int bttv_s_std(struct file *file, void *priv, v4l2_std_id id)  in bttv_s_std()  argument
1709 static int bttv_g_std(struct file *file, void *priv, v4l2_std_id *id) in bttv_g_std() argument
1718 static int bttv_querystd(struct file *file, void *f, v4l2_std_id *id) in bttv_querystd() argument
1730 static int bttv_enum_input(struct file *file, void *priv, in bttv_enum_input() argument
1764 static int bttv_g_input(struct file *file, void *priv, unsigned int *i) in bttv_g_input() argument
1774 static int bttv_s_input(struct file *file, void *priv, unsigned int i) in bttv_s_input() argument
1786 static int bttv_s_tuner(struct file *file, void *priv, in bttv_s_tuner() argument
1805 static int bttv_g_frequency(struct file *file, void *priv, in bttv_g_frequency() argument
1842 static int bttv_s_frequency(struct file *file, void *priv, in bttv_s_frequency() argument
1855 static int bttv_log_status(struct file *file, void *f) in bttv_log_status() argument
1857 struct video_device *vdev = video_devdata(file); in bttv_log_status()
1867 static int bttv_g_register(struct file *file, void *f, in bttv_g_register() argument
1881 static int bttv_s_register(struct file *file, void *f, in bttv_s_register() argument
2267 static int bttv_g_fmt_vid_cap(struct file *file, void *priv, in bttv_g_fmt_vid_cap() argument
2281 static int bttv_g_fmt_vid_overlay(struct file *file, void *priv, in bttv_g_fmt_vid_overlay() argument
2305 static int bttv_try_fmt_vid_cap(struct file *file, void *priv, in bttv_try_fmt_vid_cap() argument
2363 static int bttv_try_fmt_vid_overlay(struct file *file, void *priv, in bttv_try_fmt_vid_overlay() argument
2374 static int bttv_s_fmt_vid_cap(struct file *file, void *priv, in bttv_s_fmt_vid_cap() argument
2389 retval = bttv_try_fmt_vid_cap(file, priv, f); in bttv_s_fmt_vid_cap()
2421 static int bttv_s_fmt_vid_overlay(struct file *file, void *priv, in bttv_s_fmt_vid_overlay() argument
2435 static int bttv_querycap(struct file *file, void *priv, in bttv_querycap() argument
2489 static int bttv_enum_fmt_vid_cap(struct file *file, void *priv, in bttv_enum_fmt_vid_cap() argument
2500 static int bttv_enum_fmt_vid_overlay(struct file *file, void *priv, in bttv_enum_fmt_vid_overlay() argument
2521 static int bttv_g_fbuf(struct file *file, void *f, in bttv_g_fbuf() argument
2535 static int bttv_overlay(struct file *file, void *f, unsigned int on) in bttv_overlay() argument
2572 static int bttv_s_fbuf(struct file *file, void *f, in bttv_s_fbuf() argument
2642 static int bttv_reqbufs(struct file *file, void *priv, in bttv_reqbufs() argument
2649 static int bttv_querybuf(struct file *file, void *priv, in bttv_querybuf() argument
2656 static int bttv_qbuf(struct file *file, void *priv, struct v4l2_buffer *b) in bttv_qbuf() argument
2668 static int bttv_dqbuf(struct file *file, void *priv, struct v4l2_buffer *b) in bttv_dqbuf() argument
2672 file->f_flags & O_NONBLOCK); in bttv_dqbuf()
2675 static int bttv_streamon(struct file *file, void *priv, in bttv_streamon() argument
2688 static int bttv_streamoff(struct file *file, void *priv, in bttv_streamoff() argument
2704 static int bttv_g_parm(struct file *file, void *f, in bttv_g_parm() argument
2719 static int bttv_g_tuner(struct file *file, void *priv, in bttv_g_tuner() argument
2742 static int bttv_g_pixelaspect(struct file *file, void *priv, in bttv_g_pixelaspect() argument
2756 static int bttv_g_selection(struct file *file, void *f, struct v4l2_selection *sel) in bttv_g_selection() argument
2787 static int bttv_s_selection(struct file *file, void *f, struct v4l2_selection *sel) in bttv_s_selection() argument
2868 static ssize_t bttv_read(struct file *file, char __user *data, in bttv_read() argument
2871 struct bttv_fh *fh = file->private_data; in bttv_read()
2887 file->f_flags & O_NONBLOCK); in bttv_read()
2894 file->f_flags & O_NONBLOCK); in bttv_read()
2902 static __poll_t bttv_poll(struct file *file, poll_table *wait) in bttv_poll() argument
2904 struct bttv_fh *fh = file->private_data; in bttv_poll()
2913 poll_wait(file, &fh->fh.wait, wait); in bttv_poll()
2921 return rc | videobuf_poll_stream(file, &fh->vbi, wait); in bttv_poll()
2951 poll_wait(file, &buf->vb.done, wait); in bttv_poll()
2958 static int bttv_open(struct file *file) in bttv_open() argument
2960 struct video_device *vdev = video_devdata(file); in bttv_open()
2961 struct bttv *btv = video_drvdata(file); in bttv_open()
2984 file->private_data = fh; in bttv_open()
3029 static int bttv_release(struct file *file) in bttv_release() argument
3031 struct bttv_fh *fh = file->private_data; in bttv_release()
3061 file->private_data = NULL; in bttv_release()
3076 bttv_mmap(struct file *file, struct vm_area_struct *vma) in bttv_mmap() argument
3078 struct bttv_fh *fh = file->private_data; in bttv_mmap()
3151 static int radio_open(struct file *file) in radio_open() argument
3153 struct video_device *vdev = video_devdata(file); in radio_open()
3154 struct bttv *btv = video_drvdata(file); in radio_open()
3165 file->private_data = fh; in radio_open()
3177 static int radio_release(struct file *file) in radio_release() argument
3179 struct bttv_fh *fh = file->private_data; in radio_release()
3183 file->private_data = NULL; in radio_release()
3197 static int radio_g_tuner(struct file *file, void *priv, struct v4l2_tuner *t) in radio_g_tuner() argument
3219 static int radio_s_tuner(struct file *file, void *priv, in radio_s_tuner() argument
3233 static int radio_s_hw_freq_seek(struct file *file, void *priv, in radio_s_hw_freq_seek() argument
3240 return snd_tea575x_s_hw_freq_seek(file, &btv->tea, a); in radio_s_hw_freq_seek()
3245 static int radio_enum_freq_bands(struct file *file, void *priv, in radio_enum_freq_bands() argument
3257 static ssize_t radio_read(struct file *file, char __user *data, in radio_read() argument
3260 struct bttv_fh *fh = file->private_data; in radio_read()
3265 cmd.nonblocking = file->f_flags & O_NONBLOCK; in radio_read()
3267 cmd.instance = file; in radio_read()
3276 static __poll_t radio_poll(struct file *file, poll_table *wait) in radio_poll() argument
3278 struct bttv_fh *fh = file->private_data; in radio_poll()
3287 poll_wait(file, &fh->fh.wait, wait); in radio_poll()
3289 cmd.instance = file; in radio_poll()