Lines Matching defs:state
159 struct drm_plane_state *state = plane->state;
160 struct drm_framebuffer *fb = state->fb;
167 unsigned int width = state->src_w >> 16;
224 paddr = drm_fb_cma_get_gem_addr(fb, state, 0);
230 paddr = drm_fb_cma_get_gem_addr(fb, state, swap ? 2 : 1);
238 paddr = drm_fb_cma_get_gem_addr(fb, state, swap ? 1 : 2);
406 struct drm_plane_state *state = plane->state;
407 struct drm_framebuffer *fb = state->fb;
499 struct drm_plane_state *state = plane->state;
500 struct drm_framebuffer *fb = state->fb;
506 state->crtc_w, state->crtc_h);
508 luma_width = state->src_w >> 16;
509 luma_height = state->src_h >> 16;
520 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w));
522 SUN4I_FRONTEND_OUTSIZE(state->crtc_h, state->crtc_w));
525 (luma_width << 16) / state->crtc_w);
527 (chroma_width << 16) / state->crtc_w);
530 (luma_height << 16) / state->crtc_h);
532 (chroma_height << 16) / state->crtc_h);