Lines Matching refs:hdisplay

1446 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
1503 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb()
1504 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
1529 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
1756 if (m->hdisplay == hsize && m->vdisplay == vsize && in drm_mode_std()
1764 mode->hdisplay = 1366; in drm_mode_std()
1844 if ((mode->hdisplay == cea_interlaced[i].w) && in drm_mode_do_interlace_quirk()
1919 mode->hdisplay = hactive; in drm_mode_detailed()
1920 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
1922 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed()
2035 if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3)))) in mode_in_range()
2051 if (mode->hdisplay == m->hdisplay && in valid_inferred_mode()
2055 if (mode->hdisplay <= m->hdisplay && in valid_inferred_mode()
2089 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { in fixup_mode_1366x768()
2090 mode->hdisplay = 1366; in fixup_mode_1366x768()
2606 if (hdmi_mode->vdisplay == 4096 && hdmi_mode->hdisplay == 2160) in hdmi_mode_alternate_clock()
2782 return mode->hdisplay == stereo_mode->width && in stereo_match_mandatory()
3845 int hdisplay, int vdisplay) in drm_add_modes_noedid() argument
3852 if (hdisplay < 0) in drm_add_modes_noedid()
3853 hdisplay = 0; in drm_add_modes_noedid()
3859 if (hdisplay && vdisplay) { in drm_add_modes_noedid()
3865 if (ptr->hdisplay > hdisplay || in drm_add_modes_noedid()
3896 if (mode->hdisplay == hpref && in drm_set_preferred_mode()