Lines Matching defs:clip
247 static int udl_aligned_damage_clip(struct drm_rect *clip, int x, int y,
261 clip->x1 = x1;
262 clip->y1 = y;
263 clip->x2 = x2;
264 clip->y2 = y + height;
277 struct drm_rect clip;
286 ret = udl_aligned_damage_clip(&clip, x, y, width, height);
289 else if ((clip.x2 > fb->width) || (clip.y2 > fb->height))
312 for (i = clip.y1; i < clip.y2; i++) {
314 const int byte_offset = line_offset + (clip.x1 << log_bpp);
315 const int dev_byte_offset = (fb->width * i + clip.x1) << log_bpp;
316 const int byte_width = (clip.x2 - clip.x1) << log_bpp;