Lines Matching refs:hdisplay

54 		mode->hdisplay, mode->hsync_start,
64 * @hdisplay: hdisplay size
76 * according to the hdisplay, vdisplay, vrefresh.
85 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
122 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY);
131 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;
153 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
155 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
157 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay))
159 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay))
161 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay))
213 hblank = drm_mode->hdisplay * hblank_percentage /
217 drm_mode->htotal = drm_mode->hdisplay + hblank;
218 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2;
251 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK;
253 drm_mode->hsync_end = drm_mode->hdisplay + CVT_RB_H_BLANK / 2;
285 * @hdisplay :hdisplay size
301 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay,
342 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN;
441 drm_mode->hdisplay = hdisplay_rnd;
471 * @hdisplay :hdisplay size
499 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh,
502 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh, lace,
521 mode->hdisplay, mode->vdisplay,
554 * Return @mode's width (hdisplay) value.
559 * @mode->hdisplay
563 return mode->hdisplay;
671 p->crtc_hdisplay = p->hdisplay;
781 if (mode1->hdisplay == mode2->hdisplay &&
820 if (maxPitch > 0 && mode->hdisplay > maxPitch)
823 if (maxX > 0 && mode->hdisplay > maxX)
927 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay;