/linux-4.4.14/drivers/media/pci/bt8xx/ |
D | btcx-risc.c | 89 struct v4l2_clip *clips, unsigned int n) in btcx_screen_clips() argument 93 clips[n].c.left = 0; in btcx_screen_clips() 94 clips[n].c.top = 0; in btcx_screen_clips() 95 clips[n].c.width = -win->left; in btcx_screen_clips() 96 clips[n].c.height = win->height; in btcx_screen_clips() 101 clips[n].c.left = swidth - win->left; in btcx_screen_clips() 102 clips[n].c.top = 0; in btcx_screen_clips() 103 clips[n].c.width = win->width - clips[n].c.left; in btcx_screen_clips() 104 clips[n].c.height = win->height; in btcx_screen_clips() 109 clips[n].c.left = 0; in btcx_screen_clips() [all …]
|
D | btcx-risc.h | 20 struct v4l2_clip *clips, unsigned int n); 21 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, 23 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); 26 const struct v4l2_clip *clips, unsigned int nclips);
|
D | bttv-driver.c | 2171 struct v4l2_clip *clips = NULL; in setup_window_lock() local 2187 size = sizeof(*clips)*(n+4); in setup_window_lock() 2188 clips = kmalloc(size,GFP_KERNEL); in setup_window_lock() 2189 if (NULL == clips) in setup_window_lock() 2192 if (copy_from_user(clips,win->clips,sizeof(struct v4l2_clip)*n)) { in setup_window_lock() 2193 kfree(clips); in setup_window_lock() 2201 &win->w, clips, n); in setup_window_lock() 2202 btcx_sort_clips(clips,n); in setup_window_lock() 2208 btcx_align(&win->w, clips, n, 3); in setup_window_lock() 2211 btcx_align(&win->w, clips, n, 1); in setup_window_lock() [all …]
|
D | bttvp.h | 184 struct v4l2_clip *clips; member
|
D | bttv-risc.c | 294 skips, &nskips, ov->clips, ov->nclips); in bttv_risc_overlay()
|
/linux-4.4.14/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_ioctl.c | 256 struct drm_vmw_rect *clips = NULL; in vmw_present_ioctl() local 275 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_ioctl() 276 if (clips == NULL) { in vmw_present_ioctl() 282 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_ioctl() 313 clips, num_clips); in vmw_present_ioctl() 325 kfree(clips); in vmw_present_ioctl() 340 struct drm_vmw_rect *clips = NULL; in vmw_present_readback_ioctl() local 358 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in vmw_present_readback_ioctl() 359 if (clips == NULL) { in vmw_present_readback_ioctl() 365 ret = copy_from_user(clips, clips_ptr, num_clips * sizeof(*clips)); in vmw_present_readback_ioctl() [all …]
|
D | vmwgfx_kms.h | 214 const struct drm_clip_rect *clips, 266 struct drm_clip_rect *clips, 269 const struct drm_clip_rect *clips, 280 struct drm_clip_rect *clips, 289 struct drm_clip_rect *clips, 307 struct drm_clip_rect *clips, 318 struct drm_clip_rect *clips,
|
D | vmwgfx_kms.c | 422 struct drm_clip_rect *clips, in vmw_framebuffer_surface_dirty() argument 445 clips = &norect; in vmw_framebuffer_surface_dirty() 456 clips, NULL, NULL, 0, 0, in vmw_framebuffer_surface_dirty() 460 clips, NULL, NULL, 0, 0, in vmw_framebuffer_surface_dirty() 630 struct drm_clip_rect *clips, in vmw_framebuffer_dmabuf_dirty() argument 649 clips = &norect; in vmw_framebuffer_dmabuf_dirty() 661 clips, NULL, num_clips, increment, in vmw_framebuffer_dmabuf_dirty() 666 clips, num_clips, increment, in vmw_framebuffer_dmabuf_dirty() 672 clips, num_clips, increment); in vmw_framebuffer_dmabuf_dirty() 1067 struct drm_vmw_rect *clips, in vmw_kms_generic_present() argument [all …]
|
D | vmwgfx_ldu.c | 459 struct drm_clip_rect *clips, in vmw_kms_ldu_do_dmabuf_dirty() argument 478 for (i = 0; i < num_clips; i++, clips += increment) { in vmw_kms_ldu_do_dmabuf_dirty() 480 cmd[i].body.x = clips->x1; in vmw_kms_ldu_do_dmabuf_dirty() 481 cmd[i].body.y = clips->y1; in vmw_kms_ldu_do_dmabuf_dirty() 482 cmd[i].body.width = clips->x2 - clips->x1; in vmw_kms_ldu_do_dmabuf_dirty() 483 cmd[i].body.height = clips->y2 - clips->y1; in vmw_kms_ldu_do_dmabuf_dirty()
|
D | vmwgfx_scrn.c | 473 struct drm_clip_rect clips; in vmw_sou_crtc_page_flip() local 486 clips.x1 = clips.y1 = 0; in vmw_sou_crtc_page_flip() 487 clips.x2 = fb->width; in vmw_sou_crtc_page_flip() 488 clips.y2 = fb->height; in vmw_sou_crtc_page_flip() 492 &clips, 1, 1, in vmw_sou_crtc_page_flip() 496 &clips, NULL, NULL, in vmw_sou_crtc_page_flip() 833 struct drm_clip_rect *clips, in vmw_kms_sou_do_surface_dirty() argument 865 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_sou_do_surface_dirty() 928 struct drm_clip_rect *clips, in vmw_kms_sou_do_dmabuf_dirty() argument 952 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, NULL, in vmw_kms_sou_do_dmabuf_dirty()
|
D | vmwgfx_stdu.c | 847 struct drm_clip_rect *clips, in vmw_kms_stdu_dma() argument 878 ret = vmw_kms_helper_dirty(dev_priv, vfb, clips, vclips, in vmw_kms_stdu_dma() 995 struct drm_clip_rect *clips, in vmw_kms_stdu_surface_dirty() argument 1016 ret = vmw_kms_update_proxy(srf, clips, num_clips, inc); in vmw_kms_stdu_surface_dirty() 1030 ret = vmw_kms_helper_dirty(dev_priv, framebuffer, clips, vclips, in vmw_kms_stdu_surface_dirty()
|
D | vmwgfx_drv.h | 924 struct drm_vmw_rect *clips,
|
/linux-4.4.14/drivers/media/common/ |
D | btcx-risc.h | 22 struct v4l2_clip *clips, unsigned int n); 23 int btcx_align(struct v4l2_rect *win, struct v4l2_clip *clips, 25 void btcx_sort_clips(struct v4l2_clip *clips, unsigned int nclips); 28 const struct v4l2_clip *clips, unsigned int nclips);
|
/linux-4.4.14/drivers/gpu/drm/virtio/ |
D | virtgpu_fb.c | 121 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 | 201 struct drm_clip_rect *clips, in virtio_gpu_framebuffer_surface_dirty() argument 207 return virtio_gpu_surface_dirty(virtio_gpu_fb, clips, num_clips); in virtio_gpu_framebuffer_surface_dirty()
|
D | virtgpu_drv.h | 251 struct drm_clip_rect *clips,
|
/linux-4.4.14/drivers/gpu/drm/qxl/ |
D | qxl_draw.c | 270 struct drm_clip_rect *clips, in qxl_draw_dirty_fb() argument 299 left = clips->x1; in qxl_draw_dirty_fb() 300 right = clips->x2; in qxl_draw_dirty_fb() 301 top = clips->y1; in qxl_draw_dirty_fb() 302 bottom = clips->y2; in qxl_draw_dirty_fb() 305 for (i = 1, clips_ptr = clips + inc; in qxl_draw_dirty_fb() 377 clips_ptr = clips; in qxl_draw_dirty_fb()
|
D | qxl_display.c | 481 struct drm_clip_rect *clips, in qxl_framebuffer_surface_dirty() argument 502 clips = &norect; in qxl_framebuffer_surface_dirty() 512 clips, num_clips, inc); in qxl_framebuffer_surface_dirty()
|
D | qxl_drv.h | 514 struct drm_clip_rect *clips,
|
/linux-4.4.14/drivers/gpu/drm/udl/ |
D | udl_fb.c | 399 struct drm_clip_rect *clips, in udl_user_framebuffer_dirty() argument 420 ret = udl_handle_damage(ufb, clips[i].x1, clips[i].y1, in udl_user_framebuffer_dirty() 421 clips[i].x2 - clips[i].x1, in udl_user_framebuffer_dirty() 422 clips[i].y2 - clips[i].y1); in udl_user_framebuffer_dirty()
|
/linux-4.4.14/drivers/media/pci/saa7134/ |
D | saa7134-video.c | 652 static int setup_clipping(struct saa7134_dev *dev, struct v4l2_clip *clips, in setup_clipping() argument 662 col[cols].position = clip_range(clips[i].c.left); in setup_clipping() 665 col[cols].position = clip_range(clips[i].c.left+clips[i].c.width); in setup_clipping() 668 row[rows].position = clip_range(clips[i].c.top / div); in setup_clipping() 671 row[rows].position = clip_range((clips[i].c.top + clips[i].c.height) in setup_clipping() 744 setup_clipping(dev, dev->clips, dev->nclips, in start_preview() 1237 struct v4l2_clip __user *clips = f->fmt.win.clips; in saa7134_g_fmt_vid_overlay() local 1247 f->fmt.win.clips = clips; in saa7134_g_fmt_vid_overlay() 1248 if (clips == NULL) in saa7134_g_fmt_vid_overlay() 1255 if (copy_to_user(&f->fmt.win.clips[i].c, &dev->clips[i].c, in saa7134_g_fmt_vid_overlay() [all …]
|
D | saa7134.h | 589 struct v4l2_clip clips[8]; member
|
/linux-4.4.14/drivers/gpu/drm/exynos/ |
D | exynos_drm_fb.c | 104 unsigned color, struct drm_clip_rect *clips, in exynos_drm_fb_dirty() argument
|
/linux-4.4.14/drivers/media/platform/vivid/ |
D | vivid-vid-out.c | 853 if (clipcount && win->clips) { in vidioc_g_fmt_vid_out_overlay() 854 if (copy_to_user(win->clips, dev->clips_out, in vidioc_g_fmt_vid_out_overlay() 882 if (win->clipcount && !win->clips) in vidioc_try_fmt_vid_out_overlay() 887 if (copy_from_user(dev->try_clips_out, win->clips, in vidioc_try_fmt_vid_out_overlay() 912 if (copy_to_user(win->clips, dev->try_clips_out, in vidioc_try_fmt_vid_out_overlay()
|
D | vivid-vid-cap.c | 1076 if (clipcount && win->clips) { in vidioc_g_fmt_vid_overlay() 1077 if (copy_to_user(win->clips, dev->clips_cap, in vidioc_g_fmt_vid_overlay() 1105 if (win->clipcount && !win->clips) in vidioc_try_fmt_vid_overlay() 1110 if (copy_from_user(dev->try_clips_cap, win->clips, in vidioc_try_fmt_vid_overlay() 1135 if (copy_to_user(win->clips, dev->try_clips_cap, in vidioc_try_fmt_vid_overlay()
|
/linux-4.4.14/include/media/ |
D | saa7146_vv.h | 82 struct v4l2_clip clips[16]; member
|
/linux-4.4.14/drivers/media/common/saa7146/ |
D | saa7146_hlp.c | 365 x[i] = vv->ov.clips[i].c.left; in calculate_clipping_registers_rect() 366 y[i] = vv->ov.clips[i].c.top; in calculate_clipping_registers_rect() 367 w[i] = vv->ov.clips[i].c.width; in calculate_clipping_registers_rect() 368 h[i] = vv->ov.clips[i].c.height; in calculate_clipping_registers_rect()
|
D | saa7146_video.c | 791 if (copy_from_user(vv->ov.clips, f->fmt.win.clips, in vidioc_s_fmt_vid_overlay()
|
/linux-4.4.14/drivers/media/v4l2-core/ |
D | v4l2-compat-ioctl32.c | 43 compat_caddr_t clips; /* actually struct v4l2_clip32 * */ member 64 if (get_user(p, &up->clips)) in get_v4l2_window32() 68 kp->clips = kclips; in get_v4l2_window32() 78 kp->clips = NULL; in get_v4l2_window32()
|
D | v4l2-ioctl.c | 302 win->chromakey, win->clipcount, win->clips, in v4l_print_format() 1364 struct v4l2_clip __user *clips = p->fmt.win.clips; in v4l_g_fmt() local 1369 p->fmt.win.clips = clips; in v4l_g_fmt()
|
/linux-4.4.14/drivers/gpu/drm/msm/ |
D | msm_fb.c | 61 struct drm_clip_rect *clips, unsigned num_clips) in msm_framebuffer_dirty() argument
|
/linux-4.4.14/drivers/gpu/drm/ |
D | drm_crtc.c | 3484 struct drm_clip_rect *clips = NULL; in drm_mode_dirtyfb_ioctl() local 3519 clips = kcalloc(num_clips, sizeof(*clips), GFP_KERNEL); in drm_mode_dirtyfb_ioctl() 3520 if (!clips) { in drm_mode_dirtyfb_ioctl() 3525 ret = copy_from_user(clips, clips_ptr, in drm_mode_dirtyfb_ioctl() 3526 num_clips * sizeof(*clips)); in drm_mode_dirtyfb_ioctl() 3535 clips, num_clips); in drm_mode_dirtyfb_ioctl() 3541 kfree(clips); in drm_mode_dirtyfb_ioctl()
|
/linux-4.4.14/drivers/gpu/drm/omapdrm/ |
D | omap_fb.c | 125 struct drm_clip_rect *clips, unsigned num_clips) in omap_framebuffer_dirty() argument
|
/linux-4.4.14/drivers/media/pci/ngene/ |
D | ngene.h | 602 struct v4l2_clip *clips; member
|
/linux-4.4.14/drivers/media/pci/zoran/ |
D | zoran_driver.c | 1126 struct v4l2_clip __user *clips, in setup_window() argument 1233 (vcp, clips, sizeof(struct v4l2_clip) * clipcount)) { in setup_window() 1752 (struct v4l2_clip __user *)fmt->fmt.win.clips, in zoran_s_fmt_vid_overlay()
|
/linux-4.4.14/include/drm/ |
D | drm_crtc.h | 181 unsigned color, struct drm_clip_rect *clips,
|
/linux-4.4.14/include/uapi/linux/ |
D | videodev2.h | 982 struct v4l2_clip __user *clips; member
|
/linux-4.4.14/drivers/media/platform/ |
D | fsl-viu.c | 166 struct v4l2_clip clips[1]; member
|
/linux-4.4.14/drivers/media/pci/ivtv/ |
D | ivtv-ioctl.c | 461 winfmt->clips = NULL; in ivtv_g_fmt_vid_out_overlay()
|
/linux-4.4.14/drivers/gpu/drm/i915/ |
D | intel_display.c | 14268 struct drm_clip_rect *clips, in intel_user_framebuffer_dirty() argument
|