Lines Matching refs:hdisplay
1394 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
1451 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb()
1452 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
1477 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
1704 if (m->hdisplay == hsize && m->vdisplay == vsize && in drm_mode_std()
1712 mode->hdisplay = 1366; in drm_mode_std()
1792 if ((mode->hdisplay == cea_interlaced[i].w) && in drm_mode_do_interlace_quirk()
1867 mode->hdisplay = hactive; in drm_mode_detailed()
1868 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
1870 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed()
1983 if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3)))) in mode_in_range()
1999 if (mode->hdisplay == m->hdisplay && in valid_inferred_mode()
2003 if (mode->hdisplay <= m->hdisplay && in valid_inferred_mode()
2037 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { in fixup_mode_1366x768()
2038 mode->hdisplay = 1366; in fixup_mode_1366x768()
2545 if (hdmi_mode->vdisplay == 4096 && hdmi_mode->hdisplay == 2160) in hdmi_mode_alternate_clock()
2721 return mode->hdisplay == stereo_mode->width && in stereo_match_mandatory()
3747 int hdisplay, int vdisplay) in drm_add_modes_noedid() argument
3754 if (hdisplay < 0) in drm_add_modes_noedid()
3755 hdisplay = 0; in drm_add_modes_noedid()
3761 if (hdisplay && vdisplay) { in drm_add_modes_noedid()
3767 if (ptr->hdisplay > hdisplay || in drm_add_modes_noedid()
3798 if (mode->hdisplay == hpref && in drm_set_preferred_mode()