Home | History | Annotate | Download | only in rockchip

Lines Matching defs:adjusted_mode

459 	struct drm_display_mode *adjusted_mode = &crtc->state->adjusted_mode;
467 const u_int hactive = adjusted_mode->hdisplay;
468 const u_int hsync_len = adjusted_mode->hsync_end - adjusted_mode->hsync_start;
469 const u_int hback_porch = adjusted_mode->htotal - adjusted_mode->hsync_end;
470 const u_int hfront_porch = adjusted_mode->hsync_start - adjusted_mode->hdisplay;
472 const u_int vactive = adjusted_mode->vdisplay;
473 const u_int vsync_len = adjusted_mode->vsync_end - adjusted_mode->vsync_start;
474 const u_int vback_porch = adjusted_mode->vtotal - adjusted_mode->vsync_end;
475 const u_int vfront_porch = adjusted_mode->vsync_start - adjusted_mode->vdisplay;
477 error = clk_set_rate(sc->sc_dclk, adjusted_mode->clock * 1000);
482 if ((adjusted_mode->flags & DRM_MODE_FLAG_PHSYNC) != 0)
484 if ((adjusted_mode->flags & DRM_MODE_FLAG_PVSYNC) != 0)