Lines Matching refs:hdisplay

57 		mode->hdisplay, mode->hsync_start,
66 * @hdisplay: hdisplay size
78 * according to the hdisplay, vdisplay, vrefresh.
87 struct drm_display_mode *drm_cvt_mode(struct drm_device *dev, int hdisplay,
124 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY);
133 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin;
155 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay))
157 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay))
159 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay))
161 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay))
163 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay))
216 hblank = drm_mode->hdisplay * hblank_percentage /
220 drm_mode->htotal = drm_mode->hdisplay + hblank;
221 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2;
254 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK;
256 drm_mode->hsync_end = drm_mode->hdisplay + CVT_RB_H_BLANK / 2;
287 * @hdisplay :hdisplay size
303 drm_gtf_mode_complex(struct drm_device *dev, int hdisplay, int vdisplay,
347 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN;
446 drm_mode->hdisplay = hdisplay_rnd;
475 * @hdisplay :hdisplay size
503 drm_gtf_mode(struct drm_device *dev, int hdisplay, int vdisplay, int vrefresh,
506 return drm_gtf_mode_complex(dev, hdisplay, vdisplay, vrefresh, lace,
514 dmode->hdisplay = vm->hactive;
515 dmode->hsync_start = dmode->hdisplay + vm->hfront_porch;
592 mode->hdisplay, mode->vdisplay,
623 * Return @mode's width (hdisplay) value.
628 * @mode->hdisplay
632 return mode->hdisplay;
736 p->crtc_hdisplay = p->hdisplay;
863 if (mode1->hdisplay == mode2->hdisplay &&
902 if (maxPitch > 0 && mode->hdisplay > maxPitch)
905 if (maxX > 0 && mode->hdisplay > maxX)
1006 diff = b->hdisplay * b->vdisplay - a->hdisplay * a->vdisplay;