Lines Matching defs:mode
365 struct drm_display_mode *mode = &omap_crtc->pipe->crtc->mode;
385 ret = dssdrv->update(dssdev, 0, 0, mode->hdisplay, mode->vdisplay);
491 const struct drm_display_mode *mode)
498 drm_display_mode_to_videomode(mode, &vm);
501 * DSI might not call this, since the supplied mode is not a
502 * valid DISPC mode. DSI will calculate and configure the
503 * proper DISPC mode later.
517 * Estimation for the bandwidth need of a given mode with one
522 * The interlaced mode is taken into account by using the
527 uint64_t bandwidth = mode->clock * 1000;
530 bandwidth = bandwidth * mode->hdisplay * mode->vdisplay * bpp;
531 bandwidth = div_u64(bandwidth, mode->htotal * mode->vtotal);
547 struct drm_display_mode *mode = &crtc->state->adjusted_mode;
549 DBG("%s: set mode: " DRM_MODE_FMT,
550 omap_crtc->name, DRM_MODE_ARG(mode));
552 drm_display_mode_to_videomode(mode, &omap_crtc->vm);