• Home
  • Raw
  • Download

Lines Matching refs:hdisplay

56 		mode->hdisplay, mode->hsync_start,  in drm_mode_debug_printmodeline()
87 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay, in drm_cvt_mode() argument
124 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode()
133 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
155 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
157 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode()
159 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode()
161 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode()
163 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode()
215 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode()
219 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()
220 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()
253 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode()
255 drm_mode->hsync_end = drm_mode->hdisplay + CVT_RB_H_BLANK / 2; in drm_cvt_mode()
303 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay, in drm_gtf_mode_complex() argument
344 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
443 drm_mode->hdisplay = hdisplay_rnd; in drm_gtf_mode_complex()
501 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh, in drm_gtf_mode() argument
504 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh, lace, in drm_gtf_mode()
513 dmode->hdisplay = vm->hactive; in drm_display_mode_from_videomode()
514 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch; in drm_display_mode_from_videomode()
591 mode->hdisplay, mode->vdisplay, in drm_mode_set_name()
633 return mode->hdisplay; in drm_mode_width()
741 p->crtc_hdisplay = p->hdisplay; in drm_mode_set_crtcinfo()
871 if (mode1->hdisplay == mode2->hdisplay && in drm_mode_equal_no_clocks()
910 if (maxPitch > 0 && mode->hdisplay > maxPitch) in drm_mode_validate_size()
913 if (maxX > 0 && mode->hdisplay > maxX) in drm_mode_validate_size()
1017 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay; in drm_mode_compare()