Lines Matching refs:vfd
31 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { \
32 printk(KERN_DEBUG "%s: ", vfd->name); \
40 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) \
41 printk(KERN_DEBUG "%s: " fmt, vfd->name, ## arg);\
489 static void dbgbuf(unsigned int cmd, struct video_device *vfd, in dbgbuf() argument
513 static inline void dbgrect(struct video_device *vfd, char *s, in dbgrect() argument
520 static inline void v4l_print_pix_fmt(struct video_device *vfd, in v4l_print_pix_fmt() argument
535 struct video_device *vfd, struct v4l2_ext_controls *c, int show_vals) in v4l_print_ext_ctrls() argument
539 if (!(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) in v4l_print_ext_ctrls()
629 struct video_device *vfd = video_devdata(file); in __video_do_ioctl() local
630 const struct v4l2_ioctl_ops *ops = vfd->ioctl_ops; in __video_do_ioctl()
634 if ((vfd->debug & V4L2_DEBUG_IOCTL) && in __video_do_ioctl()
635 !(vfd->debug & V4L2_DEBUG_IOCTL_ARG)) { in __video_do_ioctl()
636 v4l_print_ioctl(vfd->name, cmd); in __video_do_ioctl()
642 vfd->name); in __video_do_ioctl()
784 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
795 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
838 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
848 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
895 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
906 v4l_print_pix_fmt(vfd, &f->fmt.pix); in __video_do_ioctl()
973 dbgbuf(cmd, vfd, p); in __video_do_ioctl()
988 dbgbuf(cmd, vfd, p); in __video_do_ioctl()
1003 dbgbuf(cmd, vfd, p); in __video_do_ioctl()
1027 v4l_print_pix_fmt(vfd, &p->fmt); in __video_do_ioctl()
1039 v4l_print_pix_fmt(vfd, &p->fmt); in __video_do_ioctl()
1067 v4l2_std_id id = vfd->tvnorms, curr_id = 0; in __video_do_ioctl()
1112 *id = vfd->current_norm; in __video_do_ioctl()
1124 norm = (*id) & vfd->tvnorms; in __video_do_ioctl()
1125 if (vfd->tvnorms && !norm) /* Check if std is supported */ in __video_do_ioctl()
1136 vfd->current_norm = norm; in __video_do_ioctl()
1320 v4l_print_ext_ctrls(cmd, vfd, p, !ret); in __video_do_ioctl()
1330 v4l_print_ext_ctrls(cmd, vfd, p, 1); in __video_do_ioctl()
1342 v4l_print_ext_ctrls(cmd, vfd, p, 1); in __video_do_ioctl()
1494 dbgrect(vfd, "", &p->c); in __video_do_ioctl()
1504 dbgrect(vfd, "", &p->c); in __video_do_ioctl()
1524 dbgrect(vfd, "bounds ", &p->bounds); in __video_do_ioctl()
1525 dbgrect(vfd, "defrect ", &p->defrect); in __video_do_ioctl()
1612 v4l2_video_std_construct(&s, vfd->current_norm, in __video_do_ioctl()
1613 v4l2_norm_to_name(vfd->current_norm)); in __video_do_ioctl()
1850 if (vfd->debug & V4L2_DEBUG_IOCTL_ARG) { in __video_do_ioctl()
1852 v4l_print_ioctl(vfd->name, cmd); in __video_do_ioctl()