Searched refs:user_size (Results 1 – 9 of 9) sorted by relevance
/drivers/gpu/drm/etnaviv/ |
D | etnaviv_buffer.c | 37 BUG_ON(buffer->user_size >= buffer->size); in OUT() 39 vaddr[buffer->user_size / 4] = data; in OUT() 40 buffer->user_size += 4; in OUT() 48 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LOAD_STATE() 59 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_END() 66 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_WAIT() 74 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_LINK() 84 buffer->user_size = ALIGN(buffer->user_size, 8); in CMD_STALL() 158 if (buffer->user_size + cmd_dwords * sizeof(u64) > buffer->size) in etnaviv_buffer_reserve() 159 buffer->user_size = 0; in etnaviv_buffer_reserve() [all …]
|
D | etnaviv_drv.c | 177 buf->vaddr, (u64)buf->paddr, size - buf->user_size); in etnaviv_buffer_dump() 402 if (offset_in_page(args->user_ptr | args->user_size) || in etnaviv_ioctl_gem_userptr() 404 (u32)args->user_size != args->user_size || in etnaviv_ioctl_gem_userptr() 414 args->user_size)) in etnaviv_ioctl_gem_userptr() 418 args->user_size, args->flags, in etnaviv_ioctl_gem_userptr()
|
D | etnaviv_gpu.h | 162 u32 user_size; member
|
D | etnaviv_gem_submit.c | 400 cmdbuf->user_size = ALIGN(args->stream_size, 8); in etnaviv_ioctl_gem_submit()
|
/drivers/misc/genwqe/ |
D | card_utils.c | 299 void __user *user_addr, size_t user_size) in genwqe_alloc_sync_sgl() argument 305 sgl->fpage_size = min_t(size_t, PAGE_SIZE-sgl->fpage_offs, user_size); in genwqe_alloc_sync_sgl() 306 sgl->nr_pages = DIV_ROUND_UP(sgl->fpage_offs + user_size, PAGE_SIZE); in genwqe_alloc_sync_sgl() 307 sgl->lpage_size = (user_size - sgl->fpage_size) % PAGE_SIZE; in genwqe_alloc_sync_sgl() 310 __func__, user_addr, user_size, sgl->nr_pages, in genwqe_alloc_sync_sgl() 314 sgl->user_size = user_size; in genwqe_alloc_sync_sgl() 352 if (copy_from_user(sgl->lpage, user_addr + user_size - in genwqe_alloc_sync_sgl() 386 size_t size = sgl->user_size; in genwqe_setup_sgl() 494 if (copy_to_user(sgl->user_addr + sgl->user_size - in genwqe_free_sync_sgl()
|
D | card_base.h | 358 size_t user_size; /* size of memory area */ member 373 void __user *user_addr, size_t user_size);
|
/drivers/gpu/drm/i915/ |
D | i915_gem_userptr.c | 781 if (offset_in_page(args->user_ptr | args->user_size)) in i915_gem_userptr_ioctl() 785 (char __user *)(unsigned long)args->user_ptr, args->user_size)) in i915_gem_userptr_ioctl() 799 drm_gem_private_object_init(dev, &obj->base, args->user_size); in i915_gem_userptr_ioctl()
|
/drivers/video/fbdev/ |
D | amba-clcd.c | 864 unsigned long off, user_size, kernel_size; in clcdfb_of_vram_mmap() local 868 user_size = vma->vm_end - vma->vm_start; in clcdfb_of_vram_mmap() 871 if (off >= kernel_size || user_size > (kernel_size - off)) in clcdfb_of_vram_mmap() 876 user_size, in clcdfb_of_vram_mmap()
|
/drivers/mtd/chips/ |
D | cfi_cmdset_0002.c | 1395 size_t user_size, factory_size, otpsize; in cfi_amdstd_otp_walk() local 1404 user_size = 0; in cfi_amdstd_otp_walk() 1431 user_size = 0x100; in cfi_amdstd_otp_walk() 1462 otpsize = user_regs ? user_size : factory_size; in cfi_amdstd_otp_walk()
|