Lines Matching refs:hdisplay

1853 	mode->hdisplay = ha;  in decode_mode()
1875 mode->hdisplay, mode->hsync_start, mode->hsync_end, in decode_mode()
2324 struct drm_display_mode *drm_cvt_mode(int hdisplay, int vdisplay, int vrefresh, in drm_cvt_mode() argument
2362 hdisplay_rnd = hdisplay - (hdisplay % CVT_H_GRANULARITY); in drm_cvt_mode()
2371 drm_mode->hdisplay = hdisplay_rnd + 2 * hmargin; in drm_cvt_mode()
2393 if (!(vdisplay % 3) && ((vdisplay * 4 / 3) == hdisplay)) in drm_cvt_mode()
2395 else if (!(vdisplay % 9) && ((vdisplay * 16 / 9) == hdisplay)) in drm_cvt_mode()
2397 else if (!(vdisplay % 10) && ((vdisplay * 16 / 10) == hdisplay)) in drm_cvt_mode()
2399 else if (!(vdisplay % 4) && ((vdisplay * 5 / 4) == hdisplay)) in drm_cvt_mode()
2401 else if (!(vdisplay % 9) && ((vdisplay * 15 / 9) == hdisplay)) in drm_cvt_mode()
2454 hblank = drm_mode->hdisplay * hblank_percentage / in drm_cvt_mode()
2458 drm_mode->htotal = drm_mode->hdisplay + hblank; in drm_cvt_mode()
2459 drm_mode->hsync_end = drm_mode->hdisplay + hblank / 2; in drm_cvt_mode()
2492 drm_mode->htotal = drm_mode->hdisplay + CVT_RB_H_BLANK; in drm_cvt_mode()
2494 drm_mode->hsync_end = drm_mode->hdisplay + CVT_RB_H_BLANK / 2; in drm_cvt_mode()
2807 return mode->hdisplay == stereo_mode->width && in stereo_match_mandatory()
3848 if ((mode->hdisplay == cea_interlaced[i].w) && in drm_mode_do_interlace_quirk()
3928 mode->hdisplay = hactive; in drm_mode_detailed()
3929 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
3931 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed()
4007 if (mode1->hdisplay == mode2->hdisplay && in drm_mode_equal_no_clocks_no_stereo()
4074 if (hdmi_mode->vdisplay == 4096 && hdmi_mode->hdisplay == 2160) in hdmi_mode_alternate_clock()
4393 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb()
4394 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
4420 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
4438 drm_gtf_mode_complex(int hdisplay, int vdisplay, in drm_gtf_mode_complex() argument
4478 hdisplay_rnd = (hdisplay + GTF_CELL_GRAN / 2) / GTF_CELL_GRAN; in drm_gtf_mode_complex()
4585 drm_mode->hdisplay = hdisplay_rnd; in drm_gtf_mode_complex()
4641 drm_gtf_mode(int hdisplay, int vdisplay, int vrefresh, in drm_gtf_mode() argument
4644 return drm_gtf_mode_complex(hdisplay, vdisplay, vrefresh, in drm_gtf_mode()
4729 if (data->mode_buf[i].hdisplay == hsize && in drm_mode_std()
4738 mode->hdisplay = 1366; in drm_mode_std()
5082 mode->hdisplay = hactive; in drm_displayid_detailed()
5083 mode->hsync_start = mode->hdisplay + hsync; in drm_displayid_detailed()
5085 mode->htotal = mode->hdisplay + hblank; in drm_displayid_detailed()
5239 if (t[13] && mode->hdisplay > 8 * in mode_in_range()
5258 if (mode->hdisplay == m->hdisplay && in valid_inferred_mode()
5262 if (mode->hdisplay <= m->hdisplay && in valid_inferred_mode()
5291 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { in fixup_mode_1366x768()
5292 mode->hdisplay = 1366; in fixup_mode_1366x768()
5410 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
6815 diff = b->hdisplay * b->vdisplay in drm_mode_sort()
6816 - a->hdisplay * a->vdisplay; in drm_mode_sort()
6908 mode->hdisplay = base_mode->hdisplay; in drm_display_mode_convert()