/Linux-v4.19/drivers/media/pci/bt8xx/ |
D | btcx-risc.c | 97 struct v4l2_clip *clips, unsigned int n) in btcx_screen_clips() argument 101 clips[n].c.left = 0; in btcx_screen_clips() 102 clips[n].c.top = 0; in btcx_screen_clips() 103 clips[n].c.width = -win->left; in btcx_screen_clips() 104 clips[n].c.height = win->height; in btcx_screen_clips() 109 clips[n].c.left = swidth - win->left; in btcx_screen_clips() 110 clips[n].c.top = 0; in btcx_screen_clips() 111 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips() 112 clips[n].c.height = win->height; in btcx_screen_clips() 117 clips[n].c.left = 0; in btcx_screen_clips() [all …]
|
D | btcx-risc.h | 21 struct v4l2_clip *clips, unsigned int n); 22 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, 24 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); 27 const struct v4l2_clip *clips, unsigned int nclips);
|
D | bttv-driver.c | 2157 struct v4l2_clip *clips = NULL; in setup_window_lock() local 2173 size = sizeof(*clips)*(n+4); in setup_window_lock() 2174 clips = kmalloc(size,GFP_KERNEL); in setup_window_lock() 2175 if (NULL == clips) in setup_window_lock() 2178 if (copy_from_user(clips,win->clips,sizeof(struct v4l2_clip)*n)) { in setup_window_lock() 2179 kfree(clips); in setup_window_lock() 2187 &win->w, clips, n); in setup_window_lock() 2188 btcx_sort_clips(clips,n); in setup_window_lock() 2194 btcx_align(&win->w, clips, n, 3); in setup_window_lock() 2197 btcx_align(&win->w, clips, n, 1); in setup_window_lock() [all …]
|
/Linux-v4.19/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 257 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local 276 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl() 277 if (clips == NULL) { in vmw_present_ioctl() 283 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 314 clips, num_clips); in vmw_present_ioctl() 326 kfree(clips); in vmw_present_ioctl() 341 struct drm_vmw_rect *clips = NULL; in vmw_present_readback_ioctl() local 359 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl() 360 if (clips == NULL) { in vmw_present_readback_ioctl() 366 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl() [all …]
|
D | vmwgfx_kms.h | 304 const struct drm_clip_rect *clips, 408 struct drm_clip_rect *clips, 411 const struct drm_clip_rect *clips, 421 struct drm_clip_rect *clips, 431 struct drm_clip_rect *clips, 451 struct drm_clip_rect *clips, 463 struct drm_clip_rect *clips,
|
D | vmwgfx_ldu.c | 553 struct drm_clip_rect *clips, in vmw_kms_ldu_do_bo_dirty() argument 572 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_bo_dirty() 574 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_bo_dirty() 575 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_bo_dirty() 576 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_bo_dirty() 577 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_bo_dirty()
|
D | vmwgfx_kms.c | 854 struct drm_clip_rect *clips, in vmw_framebuffer_surface_dirty() argument 877 clips = &norect; in vmw_framebuffer_surface_dirty() 888 clips, NULL, NULL, 0, 0, in vmw_framebuffer_surface_dirty() 892 clips, NULL, NULL, 0, 0, in vmw_framebuffer_surface_dirty() 1060 struct drm_clip_rect *clips, in vmw_framebuffer_bo_dirty() argument 1079 clips = &norect; in vmw_framebuffer_bo_dirty() 1091 clips, NULL, num_clips, increment, in vmw_framebuffer_bo_dirty() 1096 clips, NULL, num_clips, in vmw_framebuffer_bo_dirty() 1101 clips, num_clips, increment); in vmw_framebuffer_bo_dirty() 1717 struct drm_vmw_rect *clips, in vmw_kms_generic_present() argument [all …]
|
D | vmwgfx_stdu.c | 749 struct drm_clip_rect *clips, in vmw_kms_stdu_dma() argument 797 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma() 915 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument 938 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty() 953 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
|
D | vmwgfx_scrn.c | 937 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument 972 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty() 1043 struct drm_clip_rect *clips, in vmw_kms_sou_do_bo_dirty() argument 1070 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_bo_dirty()
|
/Linux-v4.19/drivers/media/common/ |
D | btcx-risc.h | 23 struct v4l2_clip *clips, unsigned int n); 24 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, 26 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); 29 const struct v4l2_clip *clips, unsigned int nclips);
|
/Linux-v4.19/drivers/gpu/drm/qxl/ |
D | qxl_fb.c | 173 struct drm_clip_rect *clips, in qxlfb_framebuffer_dirty() argument 188 image->dx = clips->x1; in qxlfb_framebuffer_dirty() 189 image->dy = clips->y1; in qxlfb_framebuffer_dirty() 190 image->width = clips->x2 - clips->x1; in qxlfb_framebuffer_dirty() 191 image->height = clips->y2 - clips->y1; in qxlfb_framebuffer_dirty() 202 image->data = qfbdev->shadow + (clips->x1 * 4) + (stride * clips->y1); in qxlfb_framebuffer_dirty()
|
D | qxl_draw.c | 268 struct drm_clip_rect *clips, in qxl_draw_dirty_fb() argument 297 left = clips->x1; in qxl_draw_dirty_fb() 298 right = clips->x2; in qxl_draw_dirty_fb() 299 top = clips->y1; in qxl_draw_dirty_fb() 300 bottom = clips->y2; in qxl_draw_dirty_fb() 303 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 375 clips_ptr = clips; in qxl_draw_dirty_fb()
|
/Linux-v4.19/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 120 struct drm_clip_rect *clips, in virtio_gpu_surface_dirty() argument 133 clips = &norect; in virtio_gpu_surface_dirty() 138 left = clips->x1; in virtio_gpu_surface_dirty() 139 right = clips->x2; in virtio_gpu_surface_dirty() 140 top = clips->y1; in virtio_gpu_surface_dirty() 141 bottom = clips->y2; in virtio_gpu_surface_dirty() 144 for (i = 1, clips_ptr = clips + inc; in virtio_gpu_surface_dirty()
|
D | virtgpu_display.c | 56 struct drm_clip_rect *clips, in virtio_gpu_framebuffer_surface_dirty() argument 62 return virtio_gpu_surface_dirty(virtio_gpu_fb, clips, num_clips); in virtio_gpu_framebuffer_surface_dirty()
|
/Linux-v4.19/drivers/gpu/drm/udl/ |
D | udl_fb.c | 284 struct drm_clip_rect *clips, in udl_user_framebuffer_dirty() argument 304 ret = udl_handle_damage(ufb, clips[i].x1, clips[i].y1, in udl_user_framebuffer_dirty() 305 clips[i].x2 - clips[i].x1, in udl_user_framebuffer_dirty() 306 clips[i].y2 - clips[i].y1); in udl_user_framebuffer_dirty()
|
/Linux-v4.19/drivers/gpu/drm/ |
D | drm_framebuffer.c | 536 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local 571 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl() 572 if (!clips) { in drm_mode_dirtyfb_ioctl() 577 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl() 578 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl() 587 clips, num_clips); in drm_mode_dirtyfb_ioctl() 593 kfree(clips); in drm_mode_dirtyfb_ioctl()
|
/Linux-v4.19/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 648 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips, in setup_clipping() argument 658 col[cols].position = clip_range(clips[i].c.left); in setup_clipping() 661 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping() 664 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping() 667 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping() 740 setup_clipping(dev, dev->clips, dev->nclips, in start_preview() 1292 struct v4l2_clip __user *clips = f->fmt.win.clips; in saa7134_g_fmt_vid_overlay() local 1302 f->fmt.win.clips = clips; in saa7134_g_fmt_vid_overlay() 1303 if (clips == NULL) in saa7134_g_fmt_vid_overlay() 1310 if (copy_to_user(&f->fmt.win.clips[i].c, &dev->clips[i].c, in saa7134_g_fmt_vid_overlay() [all …]
|
/Linux-v4.19/include/drm/tinydrm/ |
D | tinydrm-helpers.h | 42 struct drm_clip_rect *clips,
|
D | tinydrm.h | 46 unsigned color, struct drm_clip_rect *clips,
|
/Linux-v4.19/drivers/staging/vc04_services/bcm2835-camera/ |
D | bcm2835-camera.h | 140 (win_fmt)->clips, (win_fmt)->clipcount, \
|
/Linux-v4.19/include/drm/ |
D | drm_framebuffer.h | 91 unsigned color, struct drm_clip_rect *clips,
|
/Linux-v4.19/drivers/gpu/drm/tinydrm/ |
D | st7586.c | 114 unsigned int color, struct drm_clip_rect *clips, in st7586_fb_dirty() argument 126 tinydrm_merge_clips(&clip, clips, num_clips, flags, fb->width, in st7586_fb_dirty()
|
D | ili9225.c | 77 unsigned int color, struct drm_clip_rect *clips, in ili9225_fb_dirty() argument 94 full = tinydrm_merge_clips(&clip, clips, num_clips, flags, in ili9225_fb_dirty()
|
/Linux-v4.19/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 146 compat_caddr_t clips; /* actually struct v4l2_clip32 * */ member 172 return put_user(NULL, &p64->clips); in get_v4l2_window32() 174 if (get_user(p, &p32->clips)) in get_v4l2_window32() 180 if (put_user(kclips, &p64->clips)) in get_v4l2_window32() 212 if (get_user(kclips, &p64->clips)) in put_v4l2_window32() 214 if (get_user(p, &p32->clips)) in put_v4l2_window32()
|
/Linux-v4.19/drivers/gpu/drm/tinydrm/core/ |
D | tinydrm-helpers.c | 84 struct drm_clip_rect *clips, in tinydrm_fb_dirty() argument 97 color, clips, num_clips); in tinydrm_fb_dirty()
|