Lines Matching refs:hdisplay
485 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
537 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb()
538 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
562 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
788 if (m->hdisplay == hsize && m->vdisplay == vsize && in drm_mode_std()
796 mode->hdisplay = 1366; in drm_mode_std()
876 if ((mode->hdisplay == cea_interlaced[i].w) && in drm_mode_do_interlace_quirk()
951 mode->hdisplay = hactive; in drm_mode_detailed()
952 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
954 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed()
1067 if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3)))) in mode_in_range()
1083 if (mode->hdisplay == m->hdisplay && in valid_inferred_mode()
1087 if (mode->hdisplay <= m->hdisplay && in valid_inferred_mode()
1121 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { in fixup_mode_1366x768()
1122 mode->hdisplay = 1366; in fixup_mode_1366x768()
2065 int hdisplay, int vdisplay) in drm_add_modes_noedid() argument
2072 if (hdisplay < 0) in drm_add_modes_noedid()
2073 hdisplay = 0; in drm_add_modes_noedid()
2079 if (hdisplay && vdisplay) { in drm_add_modes_noedid()
2085 if (ptr->hdisplay > hdisplay || in drm_add_modes_noedid()