Lines Matching refs:det
980 * @det: v4l2_bt_timings to be updated.
983 struct v4l2_bt_timings *det)
999 if (vsync > det->height)
1000 det->polarities &= ~V4L2_DV_VSYNC_POS_POL;
1002 det->polarities |= V4L2_DV_VSYNC_POS_POL;
1003 if (hsync > det->width)
1004 det->polarities &= ~V4L2_DV_HSYNC_POS_POL;
1006 det->polarities |= V4L2_DV_HSYNC_POS_POL;
1008 if (det->polarities & V4L2_DV_VSYNC_POS_POL) {
1009 det->vbackporch = v->frame_top - vsync;
1010 det->vfrontporch = vtotal - v->frame_bottom;
1011 det->vsync = vsync;
1013 det->vbackporch = v->frame_top;
1014 det->vfrontporch = vsync - v->frame_bottom;
1015 det->vsync = vtotal - vsync;
1018 if (det->polarities & V4L2_DV_HSYNC_POS_POL) {
1019 det->hbackporch = v->frame_left - hsync;
1020 det->hfrontporch = htotal - v->frame_right;
1021 det->hsync = hsync;
1023 det->hbackporch = v->frame_left;
1024 det->hfrontporch = hsync - v->frame_right;
1025 det->hsync = htotal - hsync;
1039 struct v4l2_bt_timings *det = &video->detected_timings;
1041 det->width = MIN_WIDTH;
1042 det->height = MIN_HEIGHT;
1110 det->height = (video->frame_bottom - video->frame_top) + 1;
1111 det->width = (video->frame_right - video->frame_left) + 1;
1114 aspeed_video_get_timings(video, det);
1126 det->width, det->height);