Lines Matching refs:hdisplay
1274 #define MODE_SIZE(m) ((m)->hdisplay * (m)->vdisplay)
1326 return (mode->htotal - mode->hdisplay == 160) && in mode_is_rb()
1327 (mode->hsync_end - mode->hdisplay == 80) && in mode_is_rb()
1351 if (hsize != ptr->hdisplay) in drm_mode_find_dmt()
1577 if (m->hdisplay == hsize && m->vdisplay == vsize && in drm_mode_std()
1585 mode->hdisplay = 1366; in drm_mode_std()
1665 if ((mode->hdisplay == cea_interlaced[i].w) && in drm_mode_do_interlace_quirk()
1740 mode->hdisplay = hactive; in drm_mode_detailed()
1741 mode->hsync_start = mode->hdisplay + hsync_offset; in drm_mode_detailed()
1743 mode->htotal = mode->hdisplay + hblank; in drm_mode_detailed()
1856 if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3)))) in mode_in_range()
1872 if (mode->hdisplay == m->hdisplay && in valid_inferred_mode()
1876 if (mode->hdisplay <= m->hdisplay && in valid_inferred_mode()
1910 if (mode->hdisplay == 1368 && mode->vdisplay == 768) { in fixup_mode_1366x768()
1911 mode->hdisplay = 1366; in fixup_mode_1366x768()
2971 int hdisplay, int vdisplay) in drm_add_modes_noedid() argument
2978 if (hdisplay < 0) in drm_add_modes_noedid()
2979 hdisplay = 0; in drm_add_modes_noedid()
2985 if (hdisplay && vdisplay) { in drm_add_modes_noedid()
2991 if (ptr->hdisplay > hdisplay || in drm_add_modes_noedid()