clip 553 drivers/gpu/drm/amd/display/dc/core/dc_resource.c struct rect clip, dest; clip 572 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.x = stream->src.x > plane_state->clip_rect.x ? clip 575 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.width = stream->src.x + stream->src.width < clip 577 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->src.x + stream->src.width - clip.x : clip 578 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->clip_rect.x + plane_state->clip_rect.width - clip.x ; clip 580 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.y = stream->src.y > plane_state->clip_rect.y ? clip 583 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.height = stream->src.y + stream->src.height < clip 585 drivers/gpu/drm/amd/display/dc/core/dc_resource.c stream->src.y + stream->src.height - clip.y : clip 586 drivers/gpu/drm/amd/display/dc/core/dc_resource.c plane_state->clip_rect.y + plane_state->clip_rect.height - clip.y ; clip 600 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(clip.x, clip.y); clip 601 drivers/gpu/drm/amd/display/dc/core/dc_resource.c swap(clip.width, clip.height); clip 606 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.x = dest.x + dest.width - clip.x - clip.width; clip 610 drivers/gpu/drm/amd/display/dc/core/dc_resource.c clip.y = dest.y + dest.height - clip.y - clip.height; clip 617 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.x = surf_src.x + (clip.x - dest.x) * surf_src.width / dest.width; clip 618 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.width = clip.width * surf_src.width / dest.width; clip 620 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.y = surf_src.y + (clip.y - dest.y) * surf_src.height / dest.height; clip 621 drivers/gpu/drm/amd/display/dc/core/dc_resource.c data->viewport.height = clip.height * surf_src.height / dest.height; clip 902 drivers/gpu/drm/amd/display/modules/color/color_gamma.c struct fixed31_32 clip = dc_fixpt_one; clip 949 drivers/gpu/drm/amd/display/modules/color/color_gamma.c if (dc_fixpt_lt(scaledX, clip)) { clip 960 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = clip; clip 961 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = clip; clip 962 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = clip; clip 965 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->r = clip; clip 966 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->g = clip; clip 967 drivers/gpu/drm/amd/display/modules/color/color_gamma.c rgb->b = clip; clip 778 drivers/gpu/drm/drm_atomic_helper.c struct drm_rect clip = {}; clip 815 drivers/gpu/drm/drm_atomic_helper.c drm_mode_get_hv_timing(&crtc_state->mode, &clip.x2, &clip.y2); clip 817 drivers/gpu/drm/drm_atomic_helper.c plane_state->visible = drm_rect_clip_scaled(src, dst, &clip); clip 831 drivers/gpu/drm/drm_atomic_helper.c if (!can_position && !drm_rect_equals(dst, &clip)) { clip 834 drivers/gpu/drm/drm_atomic_helper.c drm_rect_debug_print("clip: ", &clip, false); clip 364 drivers/gpu/drm/drm_damage_helper.c struct drm_rect clip; clip 373 drivers/gpu/drm/drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) { clip 374 drivers/gpu/drm/drm_damage_helper.c rect->x1 = min(rect->x1, clip.x1); clip 375 drivers/gpu/drm/drm_damage_helper.c rect->y1 = min(rect->y1, clip.y1); clip 376 drivers/gpu/drm/drm_damage_helper.c rect->x2 = max(rect->x2, clip.x2); clip 377 drivers/gpu/drm/drm_damage_helper.c rect->y2 = max(rect->y2, clip.y2); clip 382 drivers/gpu/drm/drm_fb_helper.c struct drm_clip_rect *clip) clip 386 drivers/gpu/drm/drm_fb_helper.c size_t offset = clip->y1 * fb->pitches[0] + clip->x1 * cpp; clip 389 drivers/gpu/drm/drm_fb_helper.c size_t len = (clip->x2 - clip->x1) * cpp; clip 392 drivers/gpu/drm/drm_fb_helper.c for (y = clip->y1; y < clip->y2; y++) { clip 403 drivers/gpu/drm/drm_fb_helper.c struct drm_clip_rect *clip = &helper->dirty_clip; clip 409 drivers/gpu/drm/drm_fb_helper.c clip_copy = *clip; clip 410 drivers/gpu/drm/drm_fb_helper.c clip->x1 = clip->y1 = ~0; clip 411 drivers/gpu/drm/drm_fb_helper.c clip->x2 = clip->y2 = 0; clip 632 drivers/gpu/drm/drm_fb_helper.c struct drm_clip_rect *clip = &helper->dirty_clip; clip 639 drivers/gpu/drm/drm_fb_helper.c clip->x1 = min_t(u32, clip->x1, x); clip 640 drivers/gpu/drm/drm_fb_helper.c clip->y1 = min_t(u32, clip->y1, y); clip 641 drivers/gpu/drm/drm_fb_helper.c clip->x2 = max_t(u32, clip->x2, x + width); clip 642 drivers/gpu/drm/drm_fb_helper.c clip->y2 = max_t(u32, clip->y2, y + height); clip 20 drivers/gpu/drm/drm_format_helper.c static unsigned int clip_offset(struct drm_rect *clip, clip 23 drivers/gpu/drm/drm_format_helper.c return clip->y1 * pitch + clip->x1 * cpp; clip 37 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip) clip 40 drivers/gpu/drm/drm_format_helper.c size_t len = (clip->x2 - clip->x1) * cpp; clip 41 drivers/gpu/drm/drm_format_helper.c unsigned int y, lines = clip->y2 - clip->y1; clip 43 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], cpp); clip 64 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip) clip 67 drivers/gpu/drm/drm_format_helper.c unsigned int offset = clip_offset(clip, fb->pitches[0], cpp); clip 68 drivers/gpu/drm/drm_format_helper.c size_t len = (clip->x2 - clip->x1) * cpp; clip 69 drivers/gpu/drm/drm_format_helper.c unsigned int y, lines = clip->y2 - clip->y1; clip 89 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip) clip 91 drivers/gpu/drm/drm_format_helper.c size_t len = (clip->x2 - clip->x1) * sizeof(u16); clip 103 drivers/gpu/drm/drm_format_helper.c for (y = clip->y1; y < clip->y2; y++) { clip 105 drivers/gpu/drm/drm_format_helper.c src += clip->x1; clip 108 drivers/gpu/drm/drm_format_helper.c for (x = clip->x1; x < clip->x2; x++) clip 150 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip, bool swab) clip 152 drivers/gpu/drm/drm_format_helper.c size_t linepixels = clip->x2 - clip->x1; clip 155 drivers/gpu/drm/drm_format_helper.c unsigned y, lines = clip->y2 - clip->y1; clip 166 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); clip 195 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip, bool swab) clip 197 drivers/gpu/drm/drm_format_helper.c size_t linepixels = clip->x2 - clip->x1; clip 199 drivers/gpu/drm/drm_format_helper.c unsigned y, lines = clip->y2 - clip->y1; clip 206 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); clip 207 drivers/gpu/drm/drm_format_helper.c dst += clip_offset(clip, dst_pitch, sizeof(u16)); clip 247 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip) clip 249 drivers/gpu/drm/drm_format_helper.c size_t linepixels = clip->x2 - clip->x1; clip 251 drivers/gpu/drm/drm_format_helper.c unsigned y, lines = clip->y2 - clip->y1; clip 258 drivers/gpu/drm/drm_format_helper.c vaddr += clip_offset(clip, fb->pitches[0], sizeof(u32)); clip 259 drivers/gpu/drm/drm_format_helper.c dst += clip_offset(clip, dst_pitch, sizeof(u16)); clip 288 drivers/gpu/drm/drm_format_helper.c struct drm_rect *clip) clip 290 drivers/gpu/drm/drm_format_helper.c unsigned int len = (clip->x2 - clip->x1) * sizeof(u32); clip 305 drivers/gpu/drm/drm_format_helper.c for (y = clip->y1; y < clip->y2; y++) { clip 307 drivers/gpu/drm/drm_format_helper.c src += clip->x1; clip 310 drivers/gpu/drm/drm_format_helper.c for (x = clip->x1; x < clip->x2; x++) { clip 201 drivers/gpu/drm/drm_mipi_dbi.c struct drm_rect *clip, bool swap) clip 220 drivers/gpu/drm/drm_mipi_dbi.c drm_fb_swab16(dst, src, fb, clip); clip 222 drivers/gpu/drm/drm_mipi_dbi.c drm_fb_memcpy(dst, src, fb, clip); clip 225 drivers/gpu/drm/drm_mipi_dbi.c drm_fb_xrgb8888_to_rgb565(dst, src, fb, clip, swap); clip 55 drivers/gpu/drm/drm_rect.c static u32 clip_scaled(u32 src, u32 dst, u32 clip) clip 62 drivers/gpu/drm/drm_rect.c tmp = mul_u32_u32(src, dst - clip); clip 88 drivers/gpu/drm/drm_rect.c const struct drm_rect *clip) clip 92 drivers/gpu/drm/drm_rect.c diff = clip->x1 - dst->x1; clip 98 drivers/gpu/drm/drm_rect.c dst->x1 = clip->x1; clip 100 drivers/gpu/drm/drm_rect.c diff = clip->y1 - dst->y1; clip 106 drivers/gpu/drm/drm_rect.c dst->y1 = clip->y1; clip 108 drivers/gpu/drm/drm_rect.c diff = dst->x2 - clip->x2; clip 114 drivers/gpu/drm/drm_rect.c dst->x2 = clip->x2; clip 116 drivers/gpu/drm/drm_rect.c diff = dst->y2 - clip->y2; clip 122 drivers/gpu/drm/drm_rect.c dst->y2 = clip->y2; clip 864 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c struct drm_rect dst, clip = crtc_rect; clip 894 drivers/gpu/drm/msm/disp/dpu1/dpu_crtc.c if (!drm_rect_intersect(&clip, &dst)) { clip 173 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.c ((de_cfg->clip & 0x7) << 16); clip 53 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h uint16_t clip; clip 202 drivers/gpu/drm/msm/disp/dpu1/dpu_hw_util.h uint16_t clip; clip 262 drivers/gpu/drm/nouveau/nouveau_fbcon.c nvif_object_fini(&fbcon->clip); clip 38 drivers/gpu/drm/nouveau/nouveau_fbcon.h struct nvif_object clip; clip 178 drivers/gpu/drm/nouveau/nv04_fbcon.c &nfbdev->clip); clip 241 drivers/gpu/drm/nouveau/nv04_fbcon.c OUT_RING(chan, nfbdev->clip.handle); clip 686 drivers/gpu/drm/qxl/qxl_dev.h struct qxl_clip clip; clip 713 drivers/gpu/drm/qxl/qxl_dev.h struct qxl_clip clip; clip 95 drivers/gpu/drm/qxl/qxl_draw.c drawable->clip.type = SPICE_CLIP_TYPE_NONE; clip 218 drivers/gpu/drm/qxl/qxl_draw.c drawable->clip.type = SPICE_CLIP_TYPE_RECTS; clip 219 drivers/gpu/drm/qxl/qxl_draw.c drawable->clip.data = qxl_bo_physical_address(qdev, clip 77 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 95 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 99 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 0, 0, 2048, 2048)); clip 108 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 128 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 132 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 3, 3, 1028, 772)); clip 141 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 160 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 164 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 10, 10, 1034, 778)); clip 173 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 193 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 197 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 4, 4, 1029, 773)); clip 206 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 223 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 235 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 251 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 263 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 274 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 288 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 309 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 313 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 0, 0, 1024, 768)); clip 324 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 344 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 348 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 256, 192, 768, 576)); clip 359 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 380 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 384 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 256, 192, 1024, 768)); clip 395 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 416 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 430 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 453 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 457 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 10, 10, 256, 330)); clip 468 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 492 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 496 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 10, 4, 1029, 330)); clip 507 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 531 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 545 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 567 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 571 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 10, 10, 1034, 778)); clip 582 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 606 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 610 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 4, 4, 1029, 773)); clip 621 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 643 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) { clip 645 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 20, 30, 200, 180)); clip 647 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 240, 200, 280, 250)); clip 662 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 686 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) { clip 688 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 20, 30, 200, 180)); clip 690 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 4, 4, 1029, 773)); clip 705 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 727 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 731 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 240, 200, 280, 250)); clip 742 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 766 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 770 drivers/gpu/drm/selftests/test-drm_damage_helper.c FAIL_ON(!check_damage_clip(&state, &clip, 3, 3, 1028, 772)); clip 781 drivers/gpu/drm/selftests/test-drm_damage_helper.c struct drm_rect clip; clip 805 drivers/gpu/drm/selftests/test-drm_damage_helper.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 536 drivers/gpu/drm/tiny/repaper.c struct drm_rect clip; clip 547 drivers/gpu/drm/tiny/repaper.c clip.x1 = 0; clip 548 drivers/gpu/drm/tiny/repaper.c clip.x2 = fb->width; clip 549 drivers/gpu/drm/tiny/repaper.c clip.y1 = 0; clip 550 drivers/gpu/drm/tiny/repaper.c clip.y2 = fb->height; clip 570 drivers/gpu/drm/tiny/repaper.c drm_fb_xrgb8888_to_gray8(buf, cma_obj->vaddr, fb, &clip); clip 66 drivers/gpu/drm/tiny/st7586.c struct drm_rect *clip) clip 68 drivers/gpu/drm/tiny/st7586.c size_t len = (clip->x2 - clip->x1) * (clip->y2 - clip->y1); clip 76 drivers/gpu/drm/tiny/st7586.c drm_fb_xrgb8888_to_gray8(buf, vaddr, fb, clip); clip 79 drivers/gpu/drm/tiny/st7586.c for (y = clip->y1; y < clip->y2; y++) { clip 80 drivers/gpu/drm/tiny/st7586.c for (x = clip->x1; x < clip->x2; x += 3) { clip 92 drivers/gpu/drm/tiny/st7586.c struct drm_rect *clip) clip 106 drivers/gpu/drm/tiny/st7586.c st7586_xrgb8888_to_gray332(dst, src, fb, clip); clip 184 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c struct drm_clip_rect clip; clip 249 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c clip.x1 = dst_x1; clip 250 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c clip.x2 = dst_x2; clip 251 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c clip.y1 = dst_y1; clip 252 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c clip.y2 = dst_y2; clip 260 drivers/gpu/drm/vmwgfx/vmwgfx_fb.c &clip, 1)); clip 2535 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c dirty->clip(dirty); clip 2799 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c struct drm_rect clip; clip 2815 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_atomic_for_each_plane_damage(&iter, &clip) clip 2870 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c drm_atomic_for_each_plane_damage(&iter, &clip) { clip 2871 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c uint32_t fb_x = clip.x1; clip 2872 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c uint32_t fb_y = clip.y1; clip 2874 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c vmw_du_translate_to_crtc(state, &clip); clip 2875 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c if (update->clip) { clip 2876 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c curr_size = update->clip(update, cmd_next, &clip, fb_x, clip 2881 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.x1 = min_t(int, bb.x1, clip.x1); clip 2882 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.y1 = min_t(int, bb.y1, clip.y1); clip 2883 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.x2 = max_t(int, bb.x2, clip.x2); clip 2884 drivers/gpu/drm/vmwgfx/vmwgfx_kms.c bb.y2 = max_t(int, bb.y2, clip.y2); clip 107 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h uint32_t (*clip)(struct vmw_du_update_plane *update, void *cmd, clip 108 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h struct drm_rect *clip, uint32_t src_x, uint32_t src_y); clip 186 drivers/gpu/drm/vmwgfx/vmwgfx_kms.h void (*clip)(struct vmw_kms_dirty *); clip 502 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c void *cmd, struct drm_rect *clip, clip 511 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.left = clip->x1; clip 512 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.top = clip->y1; clip 513 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.right = clip->x2; clip 514 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c blit->body.destRect.bottom = clip->y2; clip 558 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c bo_update.base.clip = vmw_sou_bo_populate_clip; clip 618 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c void *cmd, struct drm_rect *clip, clip 627 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->left = clip->x1; clip 628 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->top = clip->y1; clip 629 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->right = clip->x2; clip 630 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c rect->bottom = clip->y2; clip 720 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c srf_update.base.clip = vmw_sou_surface_clip_rect; clip 1155 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c sdirty.base.clip = vmw_sou_surface_clip; clip 1271 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c dirty.clip = vmw_sou_bo_clip; clip 1377 drivers/gpu/drm/vmwgfx/vmwgfx_scrn.c dirty.clip = vmw_sou_readback_clip; clip 711 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty.base.clip = vmw_stdu_bo_clip; clip 721 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c ddirty.base.clip = vmw_stdu_bo_cpu_clip; clip 884 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c sdirty.base.clip = vmw_kms_stdu_surface_clip; clip 1224 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c void *cmd, struct drm_rect *clip, clip 1232 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->x = clip->x1; clip 1233 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->y = clip->y1; clip 1235 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(clip); clip 1236 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->h = drm_rect_height(clip); clip 1274 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c void *cmd, struct drm_rect *clip, clip 1388 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c bo_update.base.clip = vmw_stdu_bo_clip_cpu; clip 1393 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c bo_update.base.clip = vmw_stdu_bo_populate_clip; clip 1442 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_rect clip; clip 1452 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c drm_atomic_for_each_plane_damage(&iter, &clip) { clip 1461 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->x = clip.x1; clip 1462 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->y = clip.y1; clip 1464 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(&clip); clip 1465 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->h = drm_rect_height(&clip); clip 1497 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c struct drm_rect *clip, uint32_t fb_x, clip 1505 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->x = clip->x1; clip 1506 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->y = clip->y1; clip 1508 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->w = drm_rect_width(clip); clip 1509 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c box->h = drm_rect_height(clip); clip 1567 drivers/gpu/drm/vmwgfx/vmwgfx_stdu.c srf_update.clip = vmw_stdu_surface_populate_clip; clip 178 drivers/media/pci/bt8xx/btcx-risc.c unsigned int clip,skip; clip 183 drivers/media/pci/bt8xx/btcx-risc.c for (clip = 0; clip < nclips; clip++) { clip 186 drivers/media/pci/bt8xx/btcx-risc.c if (clips[clip].c.left + clips[clip].c.width <= 0) clip 188 drivers/media/pci/bt8xx/btcx-risc.c if (clips[clip].c.left > (signed)width) clip 192 drivers/media/pci/bt8xx/btcx-risc.c if (line > clips[clip].c.top+clips[clip].c.height-1) clip 194 drivers/media/pci/bt8xx/btcx-risc.c if (line < clips[clip].c.top) { clip 195 drivers/media/pci/bt8xx/btcx-risc.c if (maxline > clips[clip].c.top-1) clip 196 drivers/media/pci/bt8xx/btcx-risc.c maxline = clips[clip].c.top-1; clip 199 drivers/media/pci/bt8xx/btcx-risc.c if (maxline > clips[clip].c.top+clips[clip].c.height-1) clip 200 drivers/media/pci/bt8xx/btcx-risc.c maxline = clips[clip].c.top+clips[clip].c.height-1; clip 203 drivers/media/pci/bt8xx/btcx-risc.c if (0 == skip || clips[clip].c.left > skips[skip-1].end) { clip 205 drivers/media/pci/bt8xx/btcx-risc.c skips[skip].start = clips[clip].c.left; clip 208 drivers/media/pci/bt8xx/btcx-risc.c skips[skip].end = clips[clip].c.left + clips[clip].c.width; clip 214 drivers/media/pci/bt8xx/btcx-risc.c end = clips[clip].c.left + clips[clip].c.width; clip 550 drivers/net/wireless/broadcom/b43/phy_n.c static const u16 clip[] = { 0xFFFF, 0xFFFF }; clip 556 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_write_clip_detection(dev, clip); clip 6034 drivers/net/wireless/broadcom/b43/phy_n.c u16 clip[2]; clip 6156 drivers/net/wireless/broadcom/b43/phy_n.c b43_nphy_read_clip_detection(dev, clip); clip 2147 drivers/staging/media/ipu3/include/intel-ipu3.h struct ipu3_uapi_yuvp1_y_ee_nr_clip_config clip; clip 9453 drivers/staging/media/ipu3/ipu3-tables.c .clip = { 8, X, 0, X, 8, X, 0, X }, clip 193 drivers/video/fbdev/cg6.c u32 clip; clip 334 drivers/video/fbdev/cg6.c sbus_writel(0, &fbc->clip); clip 372 drivers/video/fbdev/cg6.c sbus_writel(0, &fbc->clip); clip 418 drivers/video/fbdev/cg6.c sbus_writel(0, &fbc->clip); clip 713 drivers/video/fbdev/cg6.c sbus_writel(0, &fbc->clip); clip 13 include/drm/drm_format_helper.h struct drm_rect *clip); clip 16 include/drm/drm_format_helper.h struct drm_rect *clip); clip 18 include/drm/drm_format_helper.h struct drm_rect *clip); clip 21 include/drm/drm_format_helper.h struct drm_rect *clip, bool swab); clip 24 include/drm/drm_format_helper.h struct drm_rect *clip, bool swab); clip 27 include/drm/drm_format_helper.h struct drm_rect *clip); clip 29 include/drm/drm_format_helper.h struct drm_rect *clip); clip 163 include/drm/drm_mipi_dbi.h struct drm_rect *clip, bool swap); clip 176 include/drm/drm_rect.h bool drm_rect_intersect(struct drm_rect *r, const struct drm_rect *clip); clip 178 include/drm/drm_rect.h const struct drm_rect *clip);