Lines Matching refs:clip
375 struct drm_clip_rect *clip, in drm_fb_helper_damage_blit_real() argument
380 size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp; in drm_fb_helper_damage_blit_real()
382 size_t len = (clip->x2 - clip->x1) * cpp; in drm_fb_helper_damage_blit_real()
387 for (y = clip->y1; y < clip->y2; y++) { in drm_fb_helper_damage_blit_real()
395 struct drm_clip_rect *clip) in drm_fb_helper_damage_blit() argument
419 drm_fb_helper_damage_blit_real(fb_helper, clip, &dst); in drm_fb_helper_damage_blit()
434 struct drm_clip_rect *clip = &helper->damage_clip; in drm_fb_helper_damage_work() local
440 clip_copy = *clip; in drm_fb_helper_damage_work()
441 clip->x1 = clip->y1 = ~0; in drm_fb_helper_damage_work()
442 clip->x2 = clip->y2 = 0; in drm_fb_helper_damage_work()
469 clip->x1 = min_t(u32, clip->x1, clip_copy.x1); in drm_fb_helper_damage_work()
470 clip->y1 = min_t(u32, clip->y1, clip_copy.y1); in drm_fb_helper_damage_work()
471 clip->x2 = max_t(u32, clip->x2, clip_copy.x2); in drm_fb_helper_damage_work()
472 clip->y2 = max_t(u32, clip->y2, clip_copy.y2); in drm_fb_helper_damage_work()
667 struct drm_clip_rect *clip = &helper->damage_clip; in drm_fb_helper_damage() local
674 clip->x1 = min_t(u32, clip->x1, x); in drm_fb_helper_damage()
675 clip->y1 = min_t(u32, clip->y1, y); in drm_fb_helper_damage()
676 clip->x2 = max_t(u32, clip->x2, x + width); in drm_fb_helper_damage()
677 clip->y2 = max_t(u32, clip->y2, y + height); in drm_fb_helper_damage()