Lines Matching refs:vdisplay
144 int vdisplay, int vrefresh, in drm_cvt_mode() argument
195 vdisplay_rnd = vdisplay / 2; in drm_cvt_mode()
197 vdisplay_rnd = vdisplay; in drm_cvt_mode()
204 drm_mode->vdisplay = vdisplay + 2 * vmargin; in drm_cvt_mode()
213 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
215 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode()
217 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode()
219 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode()
221 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode()
284 drm_mode->vsync_start = drm_mode->vdisplay + CVT_MIN_V_PORCH; in drm_cvt_mode()
316 drm_mode->vsync_start = drm_mode->vdisplay + CVT_RB_VFPORCH; in drm_cvt_mode()
366 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay, in drm_gtf_mode_complex() argument
415 vdisplay_rnd = vdisplay / 2; in drm_gtf_mode_complex()
417 vdisplay_rnd = vdisplay; in drm_gtf_mode_complex()
510 drm_mode->vdisplay = vdisplay_rnd; in drm_gtf_mode_complex()
567 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, in drm_gtf_mode() argument
570 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh, in drm_gtf_mode()
592 dmode->vdisplay = vm->vactive; in drm_display_mode_from_videomode()
593 dmode->vsync_start = dmode->vdisplay + vm->vfront_porch; in drm_display_mode_from_videomode()
633 vm->vactive = dmode->vdisplay; in drm_display_mode_to_videomode()
634 vm->vfront_porch = dmode->vsync_start - dmode->vdisplay; in drm_display_mode_to_videomode()
741 mode->hdisplay, mode->vdisplay, in drm_mode_set_name()
815 int *hdisplay, int *vdisplay) in drm_mode_get_hv_timing() argument
821 *vdisplay = adjusted.crtc_vdisplay; in drm_mode_get_hv_timing()
851 p->crtc_vdisplay = p->vdisplay; in drm_mode_set_crtcinfo()
957 mode1->vdisplay == mode2->vdisplay && in drm_mode_match_timings()
1126 if (mode->vdisplay == 0 || in drm_mode_validate_basic()
1127 mode->vsync_start < mode->vdisplay || in drm_mode_validate_basic()
1185 if (maxY > 0 && mode->vdisplay > maxY) in drm_mode_validate_size()
1331 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; in drm_mode_compare()
1639 in->hskew > USHRT_MAX || in->vdisplay > USHRT_MAX || in drm_mode_convert_to_umode()
1650 out->vdisplay = in->vdisplay; in drm_mode_convert_to_umode()
1707 out->vdisplay = in->vdisplay; in drm_mode_convert_umode()