/device/soc/hisilicon/hi3861v100/sdk_liteos/platform/os/Huawei_LiteOS/components/lib/libc/musl/include/sys/ |
H A D | mman.h | 142 void *mmap (void *, size_t, int, int, int, off_t); 171 #define mmap64 mmap
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | hi_osal_user.h | 41 #define OSAL_MMAP mmap
|
H A D | hi_osal.h | 411 int (*mmap)(osal_vm_t *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *private_data); member
|
/device/soc/rockchip/rk3399/hardware/mpp/include/ |
H A D | mpp_allocator.h | 38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data); member
|
/device/soc/rockchip/rk3568/hardware/mpp/include/ |
H A D | mpp_allocator.h | 38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data); member
|
/device/soc/rockchip/rk3588/hardware/mpp/include/ |
H A D | mpp_allocator.h | 39 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data); member
|
/device/soc/rockchip/common/hardware/mpp/include/ |
H A D | mpp_allocator.h | 38 MPP_RET (*mmap)(MppAllocator allocator, MppBufferInfo *data); member
|
/device/soc/hisilicon/hi3751v350/sdk_linux/include/ |
H A D | hi_osal_user.h | 59 #define OSAL_MMAP mmap
|
/device/soc/hisilicon/common/hal/display/source/display_gralloc/src/ |
H A D | framebuffer_allocator.cpp | 151 virAddr = mmap(nullptr, frameBufferSize_, PROT_READ | PROT_WRITE, MAP_SHARED, handle.fd, 0); in Mmap() 153 virAddr = mmap(nullptr, frameBufferSize_, PROT_READ | PROT_WRITE, MAP_SHARED, deviceFd_, 0); in Mmap() 156 DISPLAY_LOGE("failed to mmap errno %{public}d", errno); in Mmap()
|
H A D | allocator.cpp | 263 virAddr = mmap(nullptr, handle.size, PROT_READ | PROT_WRITE, MAP_SHARED, handle.fd, 0); in Mmap() 265 DISPLAY_LOGE("mmap failed errno %{public}d, fd : %{public}d", errno, handle.fd); in Mmap()
|
/device/soc/rockchip/common/sdk_linux/drivers/gpu/drm/ |
H A D | drm_prime.c | 544 * drm_gem_dmabuf_vunmap(). Userspace mmap support is provided by 699 * drm_gem_prime_mmap - PRIME mmap function for GEM drivers 705 * The fake GEM offset is added to vma->vm_pgoff and &drm_driver->fops->mmap is 719 if (obj->funcs && obj->funcs->mmap) { in drm_gem_prime_mmap() 720 ret = obj->funcs->mmap(obj, vma); in drm_gem_prime_mmap() 745 ret = obj->dev->driver->fops->mmap(fil, vma); in drm_gem_prime_mmap() 757 * drm_gem_dmabuf_mmap - dma_buf mmap implementation for GEM 762 * &dma_buf_ops.mmap callback. It just forwards to &drm_driver.gem_prime_mmap, 766 * else but drm_gem_prime_mmap can roll their own &dma_buf_ops.mmap callback. 813 .mmap [all...] |
H A D | drm_gem.c | 64 * the DRI2 implementation wants to have at least allocate/mmap be generic. 300 * drm_gem_dumb_map_offset - return the fake mmap offset for a gem object 304 * @offset: return location for the fake mmap offset 455 * drm_gem_free_mmap_offset - release a fake mmap offset for an object 461 * don't have to take care of releasing the mmap offset themselves when freeing 474 * drm_gem_create_mmap_offset_size - create a fake mmap offset for an object 478 * GEM memory mapping works by handing back to userspace a fake mmap offset 479 * it can use in a subsequent mmap(2) call. The DRM core code then looks 487 * This function is idempotent and handles an already allocated mmap offset 501 * drm_gem_create_mmap_offset - create a fake mmap offse [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/osal/ |
H A D | osal_device.c | 392 if (fops->mmap != NULL) { in osal_mmap() 393 ret = fops->mmap(&osal_vm, vm->vm_start, vm->vm_end, vm->vm_pgoff, (void *)&(fileops_node->private_data)); in osal_mmap() 408 .mmap = osal_mmap,
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/ |
H A D | dma-buf.c | 187 int ret = dmabuf->ops->mmap(dmabuf, vma); in dma_buf_do_mmap() 195 /* override open() and close() to provide buffer mmap count */ in dma_buf_do_mmap() 206 return dmabuf->ops->mmap(dmabuf, vma); in dma_buf_do_mmap() 220 /* check if buffer supports mmap */ in dma_buf_mmap_internal() 221 if (!dmabuf->ops->mmap) { in dma_buf_mmap_internal() 528 .mmap = dma_buf_mmap_internal, 1141 * interfaces, which might already support mmap'ing buffers. This is needed in 1145 * replace ION buffers mmap support was needed. 1147 * There is no special interfaces, userspace simply calls mmap on the dma-buf 1160 * - mmap dm [all...] |
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | dma-buf.h | 284 * @mmap 297 * coherency for mmap support, it needs to be able to zap all the ptes 306 * the dma_buf mmap callback. In the specific case of a gem driver the 318 int (*mmap)(struct dma_buf *, struct vm_area_struct *vma); member
|
/device/soc/rockchip/common/vendor/drivers/media/platform/rockchip/isp/ |
H A D | videobuf2-rdma-sg.c | 460 .mmap = vb2_dma_sg_dmabuf_ops_mmap,
608 .mmap = vb2_dma_sg_mmap,
|
/device/soc/rockchip/rk3588/kernel/drivers/media/platform/rockchip/isp/ |
H A D | videobuf2-rdma-sg.c | 455 .mmap = vb2_dma_sg_dmabuf_ops_mmap, 599 .mmap = vb2_dma_sg_mmap,
|
/device/qemu/hardware/display/ |
H A D | display_layer.c | 104 priv->fbAddr = (void *)mmap(NULL, priv->fbSize, PROT_READ | PROT_WRITE, MAP_SHARED, priv->fd, 0); in CreateLayer() 106 HDF_LOGE("%s: mmap fb address failure, errno: %d", __func__, errno); in CreateLayer()
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/ |
H A D | osal_device.c | 498 if (pdata->dev->fops->mmap != NULL) { in osal_mmap() 499 return pdata->dev->fops->mmap(&osal_vm, vm->vm_start, vm->vm_end, vm->vm_pgoff, (void *)&(pdata->data)); in osal_mmap() 513 .mmap = osal_mmap,
|
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/ump/linux/ |
H A D | ump_kernel_linux.c | 99 .mmap = ump_file_mmap 403 MSG_ERR(("mmap() called without any session data available\n")); in ump_file_mmap() 407 /* Re-pack the arguments that mmap() packed for us */ in ump_file_mmap() 419 /* Call the common mmap handler */ in ump_file_mmap()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_mmz_userdev.c | 449 /* The following 3 structures are needed in mmap function. */ in ioctl_mmb_user_remap_get_virt_addr() 584 * we register struct vm_operations_struct when mmap called in ioctl_mmb_user_reference_decrease() 664 /* do not call mmap yourself or unmap is called when process is killed */ in ioctl_mmb_user_unmap() 665 hi_mmz_warn("do not call mmap() yourself!\n"); in ioctl_mmb_user_unmap() 994 hi_mmz_error("do not call mmap() yourself!\n"); in mmz_userdev_mmap() 1020 if (!map_file->f_op->mmap) { in mmz_userdev_mmap() 1033 ret = map_file->f_op->mmap(map_file, vma); in mmz_userdev_mmap() 1062 hi_mmz_error("do not call mmap() yourself!\n"); in mmz_userdev_mmap() 1315 .mmap = mmz_userdev_mmap,
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/mpp/component/hifb/src/init/linux/ |
H A D | hifb_init.c | 485 .mmap = hifb_memblock_mmap,
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | hi_osal.h | 414 int (*mmap)(osal_vm_t *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *private_data); member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/sample/platform/common/ |
H A D | sample_comm_sys.c | 75 /* The mmap address should align with page */ in SAMPLE_SYS_IOMmap() 79 /* The mmap size should be multiples of 1024 */ in SAMPLE_SYS_IOMmap() 82 pPageAddr = mmap((void *)0, u32PageSize, PROT_READ | PROT_WRITE, MAP_SHARED, s_s32SampleMemDev, u64PagePhy); in SAMPLE_SYS_IOMmap() 84 perror("mmap error"); in SAMPLE_SYS_IOMmap()
|
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | hi_osal.h | 397 int (*mmap)(osal_vm *vm, unsigned long start, unsigned long end, unsigned long vm_pgoff, void *private_data); member
|