Lines Matching refs:vwin
1000 struct video_window vwin; in w9966_v4l_ioctl() local
1002 if (copy_from_user(&vwin, arg, sizeof(vwin)) != 0) in w9966_v4l_ioctl()
1005 vwin.flags != 0 || in w9966_v4l_ioctl()
1006 vwin.clipcount != 0) in w9966_v4l_ioctl()
1009 if (vwin.width > cam->max_x - cam->min_x || in w9966_v4l_ioctl()
1010 vwin.height > cam->max_y - cam->min_y || in w9966_v4l_ioctl()
1011 vwin.width < W9966_WND_MIN_W || in w9966_v4l_ioctl()
1012 vwin.height < W9966_WND_MIN_H) in w9966_v4l_ioctl()
1016 if (!w9966_window(cam, 0, 0, 1023, 1023, vwin.width, vwin.height)) in w9966_v4l_ioctl()
1023 struct video_window vwin; in w9966_v4l_ioctl() local
1024 memset(&vwin, 0, sizeof(vwin)); in w9966_v4l_ioctl()
1026 vwin.width = cam->width; in w9966_v4l_ioctl()
1027 vwin.height = cam->height; in w9966_v4l_ioctl()
1029 if(copy_to_user(arg, &vwin, sizeof(vwin)) != 0) in w9966_v4l_ioctl()