Lines Matching refs:clip
55 static u32 clip_scaled(u32 src, u32 dst, u32 clip) in clip_scaled() argument
57 u64 tmp = mul_u32_u32(src, dst - clip); in clip_scaled()
83 const struct drm_rect *clip) in drm_rect_clip_scaled() argument
87 diff = clip->x1 - dst->x1; in drm_rect_clip_scaled()
93 dst->x1 = clip->x1; in drm_rect_clip_scaled()
95 diff = clip->y1 - dst->y1; in drm_rect_clip_scaled()
101 dst->y1 = clip->y1; in drm_rect_clip_scaled()
103 diff = dst->x2 - clip->x2; in drm_rect_clip_scaled()
109 dst->x2 = clip->x2; in drm_rect_clip_scaled()
111 diff = dst->y2 - clip->y2; in drm_rect_clip_scaled()
117 dst->y2 = clip->y2; in drm_rect_clip_scaled()