Lines Matching defs:mode
207 const struct drm_display_mode *mode,
266 struct drm_display_mode *mode = &crtc->state->adjusted_mode;
271 dev_dbg(ipu_crtc->dev, "%s: mode->hdisplay: %d\n", __func__,
272 mode->hdisplay);
273 dev_dbg(ipu_crtc->dev, "%s: mode->vdisplay: %d\n", __func__,
274 mode->vdisplay);
306 drm_display_mode_to_videomode(mode, &sig_cfg.mode);
307 if (!IS_ALIGNED(sig_cfg.mode.hactive, 8)) {
308 unsigned int new_hactive = ALIGN(sig_cfg.mode.hactive, 8);
311 sig_cfg.mode.hactive, new_hactive);
313 sig_cfg.mode.hfront_porch -= new_hactive - sig_cfg.mode.hactive;
314 sig_cfg.mode.hactive = new_hactive;
318 mode->flags & DRM_MODE_FLAG_INTERLACE,
319 imx_crtc_state->bus_format, sig_cfg.mode.hactive);