Lines Matching defs:state

297 	struct drm_display_mode *m = &lcdif->crtc.state->adjusted_mode;
341 CTRLDESCL0_3_PITCH(lcdif->crtc.primary->state->fb->pitches[0]);
425 struct drm_atomic_state *state)
428 struct drm_crtc_state *crtc_state = drm_atomic_get_new_crtc_state(state,
446 ret = drm_atomic_add_affected_planes(state, crtc);
451 for_each_new_connector_in_state(state, connector, connector_state, i) {
461 bridge_state = drm_atomic_get_new_bridge_state(state, bridge);
506 struct drm_atomic_state *state)
516 event = crtc->state->event;
517 crtc->state->event = NULL;
531 struct drm_atomic_state *state)
534 struct drm_crtc_state *new_cstate = drm_atomic_get_new_crtc_state(state, crtc);
535 struct drm_plane_state *new_pstate = drm_atomic_get_new_plane_state(state,
537 struct drm_display_mode *m = &lcdif->crtc.state->adjusted_mode;
561 struct drm_atomic_state *state)
572 event = crtc->state->event;
574 crtc->state->event = NULL;
583 struct drm_crtc_state *state)
585 __drm_atomic_helper_crtc_destroy_state(state);
586 kfree(to_lcdif_crtc_state(state));
591 struct lcdif_crtc_state *state;
593 if (crtc->state)
594 lcdif_crtc_atomic_destroy_state(crtc, crtc->state);
596 crtc->state = NULL;
598 state = kzalloc(sizeof(*state), GFP_KERNEL);
599 if (state)
600 __drm_atomic_helper_crtc_reset(crtc, &state->base);
606 struct lcdif_crtc_state *old = to_lcdif_crtc_state(crtc->state);
609 if (WARN_ON(!crtc->state))
667 struct drm_atomic_state *state)
669 struct drm_plane_state *plane_state = drm_atomic_get_new_plane_state(state,
674 crtc_state = drm_atomic_get_new_crtc_state(state,
684 struct drm_atomic_state *state)
687 struct drm_plane_state *new_pstate = drm_atomic_get_new_plane_state(state,