Home
last modified time | relevance | path

Searched refs:clips (Results 1 – 25 of 35) sorted by relevance

12

/netbsd-src/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_ioctl.c262 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local
281 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl()
282 if (clips == NULL) { in vmw_present_ioctl()
288 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl()
319 clips, num_clips); in vmw_present_ioctl()
331 kfree(clips); in vmw_present_ioctl()
346 struct drm_vmw_rect *clips = NULL; in vmw_present_readback_ioctl() local
364 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl()
365 if (clips == NULL) { in vmw_present_readback_ioctl()
371 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl()
[all …]
H A Dvmwgfx_kms.h419 const struct drm_clip_rect *clips,
502 struct drm_clip_rect *clips,
505 const struct drm_clip_rect *clips,
515 struct drm_clip_rect *clips,
525 struct drm_clip_rect *clips,
545 struct drm_clip_rect *clips,
557 struct drm_clip_rect *clips,
H A Dvmwgfx_ldu.c552 struct drm_clip_rect *clips, in vmw_kms_ldu_do_bo_dirty() argument
569 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_bo_dirty()
571 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_bo_dirty()
572 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_bo_dirty()
573 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_bo_dirty()
574 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_bo_dirty()
H A Dvmwgfx_kms.c1001 struct drm_clip_rect *clips, in vmw_framebuffer_bo_dirty() argument
1020 clips = &norect; in vmw_framebuffer_bo_dirty()
1032 clips, num_clips, increment); in vmw_framebuffer_bo_dirty()
1051 struct drm_clip_rect *clips, in vmw_framebuffer_bo_dirty_ext() argument
1058 color, clips, num_clips); in vmw_framebuffer_bo_dirty_ext()
1061 clips, num_clips); in vmw_framebuffer_bo_dirty_ext()
1742 struct drm_vmw_rect *clips, in vmw_kms_generic_present() argument
1745 return vmw_kms_sou_do_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_generic_present()
1757 struct drm_vmw_rect *clips, in vmw_kms_present() argument
1764 ret = vmw_kms_stdu_surface_dirty(dev_priv, vfb, NULL, clips, in vmw_kms_present()
[all …]
H A Dvmwgfx_scrn.c1132 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument
1172 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty()
1248 struct drm_clip_rect *clips, in vmw_kms_sou_do_bo_dirty() argument
1279 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_bo_dirty()
H A Dvmwgfx_stdu.c680 struct drm_clip_rect *clips, in vmw_kms_stdu_dma() argument
732 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma()
855 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument
883 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty()
898 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
H A Dvmwgfx_drv.h1160 struct drm_vmw_rect *clips,
/netbsd-src/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_draw.c130 struct drm_clip_rect *clips, in qxl_draw_dirty_fb() argument
160 clips->x1 += dumb_shadow_offset; in qxl_draw_dirty_fb()
161 clips->x2 += dumb_shadow_offset; in qxl_draw_dirty_fb()
163 left = clips->x1; in qxl_draw_dirty_fb()
164 right = clips->x2; in qxl_draw_dirty_fb()
165 top = clips->y1; in qxl_draw_dirty_fb()
166 bottom = clips->y2; in qxl_draw_dirty_fb()
169 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb()
241 clips_ptr = clips; in qxl_draw_dirty_fb()
H A Dqxl_display.c417 struct drm_clip_rect *clips, in qxl_framebuffer_surface_dirty() argument
439 clips = &norect; in qxl_framebuffer_surface_dirty()
449 clips, num_clips, inc, 0); in qxl_framebuffer_surface_dirty()
H A Dqxl_drv.h431 struct drm_clip_rect *clips,
/netbsd-src/sys/external/bsd/drm2/dist/drm/
H A Ddrm_damage_helper.c167 unsigned int color, struct drm_clip_rect *clips, in drm_atomic_helper_dirtyfb() argument
191 if (clips) { in drm_atomic_helper_dirtyfb()
205 convert_clip_rect_to_rect(clips, rects, num_clips, inc); in drm_atomic_helper_dirtyfb()
290 iter->clips = drm_helper_get_plane_damage_clips(state); in drm_atomic_helper_damage_iter_init()
299 if (!iter->clips || !drm_rect_equals(&state->src, &old_state->src)) { in drm_atomic_helper_damage_iter_init()
300 iter->clips = NULL; in drm_atomic_helper_damage_iter_init()
336 *rect = iter->clips[iter->curr_clip]; in drm_atomic_helper_damage_iter_next()
H A Ddrm_atomic.c556 struct drm_mode_rect *clips; in drm_atomic_plane_check() local
631 clips = drm_plane_get_damage_clips(new_plane_state); in drm_atomic_plane_check()
636 if (clips->x1 >= clips->x2 || in drm_atomic_plane_check()
637 clips->y1 >= clips->y2 || in drm_atomic_plane_check()
638 clips->x1 < 0 || in drm_atomic_plane_check()
639 clips->y1 < 0 || in drm_atomic_plane_check()
640 clips->x2 > fb_width || in drm_atomic_plane_check()
641 clips->y2 > fb_height) { in drm_atomic_plane_check()
643 plane->base.id, plane->name, clips->x1, in drm_atomic_plane_check()
644 clips->y1, clips->x2, clips->y2); in drm_atomic_plane_check()
[all …]
H A Ddrm_framebuffer.c584 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local
619 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl()
620 if (!clips) { in drm_mode_dirtyfb_ioctl()
625 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl()
626 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl()
635 clips, num_clips); in drm_mode_dirtyfb_ioctl()
641 kfree(clips); in drm_mode_dirtyfb_ioctl()
/netbsd-src/external/gpl3/gdb/dist/sim/testsuite/sh/
H A Dclip.s1 # sh testcase for clips, clipu
12 clips.b r1
50 clips.w r1
/netbsd-src/sys/external/bsd/drm2/dist/include/drm/
H A Ddrm_damage_helper.h60 const struct drm_rect *clips; member
74 unsigned int color, struct drm_clip_rect *clips,
H A Ddrm_framebuffer.h101 unsigned color, struct drm_clip_rect *clips,
/netbsd-src/sys/external/bsd/drm2/dist/drm/vboxvideo/
H A Dvbox_mode.c293 struct drm_mode_rect *clips; in vbox_primary_atomic_update() local
302 clips = drm_plane_get_damage_clips(plane->state); in vbox_primary_atomic_update()
310 for (i = 0; i < num_clips; ++i, ++clips) { in vbox_primary_atomic_update()
314 cmd_hdr.x = (s16)clips->x1; in vbox_primary_atomic_update()
315 cmd_hdr.y = (s16)clips->y1; in vbox_primary_atomic_update()
316 cmd_hdr.w = (u16)clips->x2 - clips->x1; in vbox_primary_atomic_update()
317 cmd_hdr.h = (u16)clips->y2 - clips->y1; in vbox_primary_atomic_update()
/netbsd-src/external/gpl3/gcc/dist/gcc/config/sh/
H A Dpredicates.md93 ;; clips.b or clips.w insn.
100 ;; clips.b or clips.w insn.
H A Dsh.md8778 ;; The SH2A clips.b and clips.w insns do a signed min-max function. If smin
8782 ;; The clips.b and clips.w set the SR.CS bit if the value in the register is
8803 (define_insn_and_split "*clips"
8814 (define_insn "*clips"
8822 return "clips.b %0";
8824 return "clips.w %0";
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/sh/
H A Dpredicates.md93 ;; clips.b or clips.w insn.
100 ;; clips.b or clips.w insn.
H A Dsh.md8779 ;; The SH2A clips.b and clips.w insns do a signed min-max function. If smin
8783 ;; The clips.b and clips.w set the SR.CS bit if the value in the register is
8804 (define_insn_and_split "*clips"
8815 (define_insn "*clips"
8823 return "clips.b %0";
8825 return "clips.w %0";
/netbsd-src/external/mit/libcbor/dist/docs/stylesheets/
H A Dnormalize.css363 * Safari (but not Chrome) clips the cancel button when the search input has
/netbsd-src/sys/sys/
H A Dvideoio.h2058 struct v4l2_clip __user *clips; member
/netbsd-src/external/gpl3/gcc/dist/gcc/config/nds32/
H A Dnds32-intrinsic.md894 "clips\t%0, %1, %2"
/netbsd-src/external/gpl3/gcc.old/dist/gcc/config/nds32/
H A Dnds32-intrinsic.md894 "clips\t%0, %1, %2"

12