Lines Matching refs:t

2920 #define MODE_REFRESH_DIFF(c,t) (abs((c) - (t)))  argument
2929 struct drm_display_mode *t, *cur_mode, *preferred_mode; in edid_fixup_preferred() local
2944 list_for_each_entry_safe(cur_mode, t, &connector->probed_modes, head) { in edid_fixup_preferred()
3299 const struct std_timing *t) in drm_mode_std() argument
3305 unsigned aspect_ratio = (t->vfreq_aspect & EDID_TIMING_ASPECT_MASK) in drm_mode_std()
3307 unsigned vfreq = (t->vfreq_aspect & EDID_TIMING_VFREQ_MASK) in drm_mode_std()
3311 if (bad_std_timing(t->hsize, t->vfreq_aspect)) in drm_mode_std()
3315 hsize = t->hsize * 8 + 248; in drm_mode_std()
3550 const struct edid *edid, const u8 *t) in mode_in_hsync_range() argument
3554 hmin = t[7]; in mode_in_hsync_range()
3556 hmin += ((t[4] & 0x04) ? 255 : 0); in mode_in_hsync_range()
3557 hmax = t[8]; in mode_in_hsync_range()
3559 hmax += ((t[4] & 0x08) ? 255 : 0); in mode_in_hsync_range()
3567 const struct edid *edid, const u8 *t) in mode_in_vsync_range() argument
3571 vmin = t[5]; in mode_in_vsync_range()
3573 vmin += ((t[4] & 0x01) ? 255 : 0); in mode_in_vsync_range()
3574 vmax = t[6]; in mode_in_vsync_range()
3576 vmax += ((t[4] & 0x02) ? 255 : 0); in mode_in_vsync_range()
3583 range_pixel_clock(const struct edid *edid, const u8 *t) in range_pixel_clock() argument
3586 if (t[9] == 0 || t[9] == 255) in range_pixel_clock()
3590 if (edid->revision >= 4 && t[10] == DRM_EDID_CVT_SUPPORT_FLAG) in range_pixel_clock()
3591 return (t[9] * 10000) - ((t[12] >> 2) * 250); in range_pixel_clock()
3594 return t[9] * 10000 + 5001; in range_pixel_clock()
3603 const u8 *t = (const u8 *)timing; in mode_in_range() local
3605 if (!mode_in_hsync_range(mode, edid, t)) in mode_in_range()
3608 if (!mode_in_vsync_range(mode, edid, t)) in mode_in_range()
3611 if ((max_clock = range_pixel_clock(edid, t))) in mode_in_range()
3616 if (edid->revision >= 4 && t[10] == DRM_EDID_CVT_SUPPORT_FLAG) in mode_in_range()
3617 if (t[13] && mode->hdisplay > 8 * (t[13] + (256 * (t[12]&0x3)))) in mode_in_range()