Home
last modified time | relevance | path

Searched refs:user_size (Results 1 – 9 of 9) sorted by relevance

/drivers/gpu/drm/etnaviv/
Detnaviv_buffer.c37 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 …]
Detnaviv_drv.c177 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()
Detnaviv_gpu.h162 u32 user_size; member
Detnaviv_gem_submit.c400 cmdbuf->user_size = ALIGN(args->stream_size, 8); in etnaviv_ioctl_gem_submit()
/drivers/misc/genwqe/
Dcard_utils.c299 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()
Dcard_base.h358 size_t user_size; /* size of memory area */ member
373 void __user *user_addr, size_t user_size);
/drivers/gpu/drm/i915/
Di915_gem_userptr.c781 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/
Damba-clcd.c864 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/
Dcfi_cmdset_0002.c1395 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()