Lines Matching refs:rect
81 struct drm_rect *rect)
84 unsigned int height = rect->y2 - rect->y1;
85 unsigned int width = rect->x2 - rect->x1;
96 DRM_DEBUG_KMS("Flushing [FB:%d] " DRM_RECT_FMT "\n", fb->base.id, DRM_RECT_ARG(rect));
101 ret = mipi_dbi_buf_copy(tr, src, fb, rect, swap);
110 x1 = rect->x1;
111 x2 = rect->x2 - 1;
112 y1 = rect->y1;
113 y2 = rect->y2 - 1;
118 x1 = rect->y1;
119 x2 = rect->y2 - 1;
120 y1 = fb->width - rect->x2;
121 y2 = fb->width - rect->x1 - 1;
126 x1 = fb->width - rect->x2;
127 x2 = fb->width - rect->x1 - 1;
128 y1 = fb->height - rect->y2;
129 y2 = fb->height - rect->y1 - 1;
134 x1 = fb->height - rect->y2;
135 x2 = fb->height - rect->y1 - 1;
136 y1 = rect->x1;
137 y2 = rect->x2 - 1;
164 struct drm_rect rect;
173 if (drm_atomic_helper_damage_merged(old_state, state, &rect))
174 ili9225_fb_dirty(&shadow_plane_state->data[0], fb, &rect);
188 struct drm_rect rect = {
284 ili9225_fb_dirty(&shadow_plane_state->data[0], fb, &rect);