/drivers/gpu/drm/i915/ |
H A D | i915_gem_userptr.c | 72 obj->userptr.work = NULL; 91 end = obj->userptr.ptr + obj->base.size; 236 if (!obj->userptr.workers) 283 mo = obj->userptr.mmu_object; 290 obj->userptr.mmu_object = NULL; 326 if (WARN_ON(obj->userptr.mm == NULL)) 329 mn = i915_mmu_notifier_find(obj->userptr.mm); 338 mo->it.start = obj->userptr.ptr; 348 obj->userptr.mmu_object = mo; 444 obj->userptr [all...] |
H A D | i915_gpu_error.c | 208 err_puts(m, err->userptr ? " userptr" : ""); 683 err->userptr = obj->userptr.mm != NULL;
|
H A D | i915_drv.h | 419 u32 userptr:1; member in struct:drm_i915_error_state::drm_i915_error_buffer 1880 } userptr; member in union:drm_i915_gem_object::__anon699
|
/drivers/gpu/drm/msm/ |
H A D | msm_gem_submit.c | 70 void __user *userptr = local 73 ret = copy_from_user(&submit_bo, userptr, sizeof(submit_bo)); 259 void __user *userptr = local 264 ret = copy_from_user(&submit_reloc, userptr, sizeof(submit_reloc)); 360 void __user *userptr = local 365 ret = copy_from_user(&submit_cmd, userptr, sizeof(submit_cmd));
|
/drivers/gpu/drm/exynos/ |
H A D | exynos_drm_gem.h | 26 * *userptr: user space address. 34 * @pfnmap: indicate whether memory region from userptr is mmaped with 39 unsigned long userptr; member in struct:exynos_drm_gem_buf
|
H A D | exynos_drm_g2d.c | 121 /* maximum buffer pool size of userptr is 64MB as default */ 191 unsigned long userptr; member in struct:g2d_cmdlist_userptr 402 unsigned long userptr, 419 DRM_ERROR("invalid userptr size.\n"); 425 /* check if userptr already exists in userptr_list. */ 427 if (g2d_userptr->userptr == userptr) { 443 * referred again and also except it the userptr 460 start = userptr & PAGE_MASK; 461 offset = userptr 401 g2d_userptr_get_dma_addr(struct drm_device *drm_dev, unsigned long userptr, unsigned long size, struct drm_file *filp, unsigned long *obj) argument [all...] |
/drivers/gpu/drm/radeon/ |
H A D | radeon_ttm.c | 499 uint64_t userptr; member in struct:radeon_ttm_tt 522 unsigned long end = gtt->userptr + ttm->num_pages * PAGE_SIZE; 524 vma = find_vma(gtt->usermm, gtt->userptr); 531 uint64_t userptr = gtt->userptr + pinned * PAGE_SIZE; local 534 r = get_user_pages(current, current->mm, userptr, num_pages, 602 if (gtt->userptr) { 630 if (gtt->userptr) 696 if (gtt && gtt->userptr) { 755 if (gtt && gtt->userptr) { [all...] |
/drivers/media/v4l2-core/ |
H A D | v4l2-compat-ioctl32.c | 301 compat_long_t userptr; member in union:v4l2_plane32::__anon2497 322 compat_long_t userptr; member in union:v4l2_buffer32::__anon2498 343 if (get_user(p, &up32->m.userptr)) 346 if (put_user((unsigned long)up_pln, &up->m.userptr)) 451 get_user(tmp, &up->m.userptr)) 454 kp->m.userptr = (unsigned long)compat_ptr(tmp); 522 put_user(kp->m.userptr, &up->m.userptr))
|
H A D | videobuf2-core.c | 679 b->m.userptr = vb->v4l2_planes[0].m.userptr; 1251 v4l2_planes[plane].m.userptr = 1252 b->m.planes[plane].m.userptr; 1298 v4l2_planes[0].m.userptr = b->m.userptr; 1370 if (vb->v4l2_planes[plane].m.userptr && 1371 vb->v4l2_planes[plane].m.userptr == planes[plane].m.userptr 1402 planes[plane].m.userptr, [all...] |
H A D | videobuf-core.c | 332 b->m.userptr = vb->baddr; 589 buf->baddr != b->m.userptr) 591 buf->baddr = b->m.userptr;
|
H A D | v4l2-ioctl.c | 161 [V4L2_MEMORY_USERPTR] = "userptr", 455 "offset/userptr=0x%lx, length=%d\n", 457 plane->m.userptr, plane->length); 460 pr_cont(", bytesused=%d, offset/userptr=0x%lx, length=%d\n", 461 p->bytesused, p->m.userptr, p->length);
|
/drivers/cdrom/ |
H A D | cdrom.c | 3259 void __user *userptr = (void __user *)arg; local 3269 return mmc_ioctl_cdrom_read_data(cdi, userptr, &cgc, cmd); 3271 return mmc_ioctl_cdrom_read_audio(cdi, userptr); 3273 return mmc_ioctl_cdrom_subchannel(cdi, userptr); 3275 return mmc_ioctl_cdrom_play_msf(cdi, userptr, &cgc); 3277 return mmc_ioctl_cdrom_play_blk(cdi, userptr, &cgc); 3280 return mmc_ioctl_cdrom_volume(cdi, userptr, &cgc, cmd); 3288 return mmc_ioctl_dvd_read_struct(cdi, userptr, &cgc); 3290 return mmc_ioctl_dvd_auth(cdi, userptr); 3292 return mmc_ioctl_cdrom_next_writable(cdi, userptr); [all...] |
/drivers/gpu/drm/nouveau/ |
H A D | nouveau_gem.c | 540 void __user *userptr = (void __force __user *)(uintptr_t)user; local 550 if (copy_from_user(mem, userptr, size)) {
|
/drivers/media/usb/gspca/ |
H A D | gspca.c | 1729 if (copy_to_user((__u8 __user *) frame->v4l2_buf.m.userptr, 1791 frame->v4l2_buf.m.userptr = v4l2_buf->m.userptr;
|
/drivers/media/platform/omap/ |
H A D | omap_vout.c | 769 * converts user space virtual address into physical address if userptr memory 1490 /* if memory is not mmp or userptr 1568 (0 == buffer->m.userptr)) {
|