/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/ |
H A D | mmz_userdev.c | 105 __flush_dcache_area(pmi->mapped, (size_t)pmi->size); in mmz_flush_dcache_mmb() 108 __cpuc_flush_dcache_area(pmi->mapped, (size_t)pmi->size); in mmz_flush_dcache_mmb() 347 if (p->mapped && (p->map_ref > 0)) { in ioctl_mmb_user_remap() 349 error_mmz("mmb<%s> already mapped as %s, cannot remap as %s.\n", in ioctl_mmb_user_remap() 366 pmi->mapped = p->mapped + (pmi->phys_addr - p->phys_addr); in ioctl_mmb_user_remap() 401 p->mapped = (void *)(uintptr_t)addr; in ioctl_mmb_user_remap() 414 pmi->mapped = p->mapped + (pmi->phys_addr - p->phys_addr); in ioctl_mmb_user_remap() 431 if (p->mapped [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/ |
H A D | drv_mmz_compat.c | 53 mmi->mapped = compat_ptr(compat_mmb->mapped); in get_meminfo_from_user() 70 compat_mmb->mapped = ptr_to_compat(mmi->mapped); in put_meminfo_to_user()
|
H A D | drv_mmz_userdev.c | 103 hi_mmz_warn("mmb smmu:0x%x have not mapped yet!\n", (unsigned int)phyaddr); in mmz_flush_dcache_mmb() 105 hi_mmz_warn("mmb phy:0x%x have not mapped yet!\n", (unsigned int)phyaddr); in mmz_flush_dcache_mmb() 399 mi->mapped = (void *)((uintptr_t)p->uvirt + offset_tmp); in ioctl_mmb_user_map_cace_attr() 404 hi_mmz_warn("mmb<%s> already mapped one cache attr, can not be remap to other attr\n", mmb->name); in ioctl_mmb_user_map_cace_attr() 543 mi->mapped = (void *)((uintptr_t)udata->uvirt + offset); in ioctl_mmb_user_remap() 554 hi_mmz_warn("[%s] addr(0x%08X) haven't been user-mapped yet!\n", in ioctl_mmb_user_get_udata() 649 hi_mmz_warn("[%s] addr(0x%08X) haven't been mapped yet!\n", in ioctl_mmb_user_unmap() 651 mi->mapped = NULL; in ioctl_mmb_user_unmap() 658 mi->mapped = NULL; in ioctl_mmb_user_unmap() 689 mi->mapped in ioctl_mmb_user_unmap() [all...] |
H A D | drv_mmz_compat.h | 33 HI_U32 mapped; /* userspace mapped ptr */ member
|
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/ |
H A D | system_heap.c | 47 bool mapped; member 112 a->mapped = false; in system_heap_attach() 154 a->mapped = true; in system_heap_map_dma_buf() 167 a->mapped = false; in system_heap_unmap_dma_buf() 185 if (!a->mapped) { in system_heap_dma_buf_begin_cpu_access() 210 if (!a->mapped) { in system_heap_dma_buf_end_cpu_access()
|
H A D | cma_heap.c | 46 bool mapped; member 69 a->mapped = false; in cma_heap_attach() 103 a->mapped = true; in cma_heap_map_dma_buf() 112 a->mapped = false; in cma_heap_unmap_dma_buf() 128 if (!a->mapped) { in cma_heap_dma_buf_begin_cpu_access() 150 if (!a->mapped) { in cma_heap_dma_buf_end_cpu_access() 248 WARN(1, "%s: buffer still mapped in the kernel\n", __func__); in cma_heap_dma_buf_release()
|
/device/soc/rockchip/common/sdk_linux/drivers/iommu/ |
H A D | iommu.c | 2449 int prot, gfp_t gfp, size_t *mapped)
in iommu_map_pages_ext() 2460 ret = ops->map_pages(domain, iova, paddr, pgsize, count, prot, gfp, mapped);
in iommu_map_pages_ext() 2463 *mapped = ret ? 0 : pgsize;
in iommu_map_pages_ext() 2502 size_t mapped = 0;
in iommu_map_ext() local 2504 ret = iommu_map_pages_ext(domain, iova, paddr, size, prot, gfp, &mapped);
in iommu_map_ext() 2506 * Some pages may have been mapped, even if an error occurred,
in iommu_map_ext() 2509 size -= mapped;
in iommu_map_ext() 2515 iova += mapped;
in iommu_map_ext() 2516 paddr += mapped;
in iommu_map_ext() 2598 * or we hit an area that isn't mapped in iommu_unmap_ext() 2448 iommu_map_pages_ext(struct iommu_domain *domain, unsigned long iova, phys_addr_t paddr, size_t size, int prot, gfp_t gfp, size_t *mapped) iommu_map_pages_ext() argument 2640 size_t len = 0, mapped = 0; iommu_map_sg_ext() local [all...] |
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/ |
H A D | drv_mmz_ioctl.h | 30 HI_U8 *mapped; /* userspace mapped ptr */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/ |
H A D | osal_mmz.h | 161 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/ |
H A D | osal_mmz.h | 158 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
|
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/ |
H A D | osal_mmz.h | 159 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
|
/device/soc/rockchip/common/sdk_linux/include/linux/ |
H A D | iommu.h | 72 dma_addr_t aperture_start; /* First address that can be mapped */ 73 dma_addr_t aperture_end; /* Last address that can be mapped */ 82 #define IOMMU_DOMAIN_PT (1U << 2) /* Domain is identity mapped */ 123 * -the actual size of the mapped region of a window must be power 145 /* Memory regions which must be mapped 1:1 at all times */ 268 int prot, gfp_t gfp, size_t *mapped); 270 gfp_t gfp, size_t *mapped); 524 * If the new page is disjoint from the current range or is mapped at in iommu_iotlb_gather_add_page()
|
/device/soc/rockchip/common/sdk_linux/drivers/hid/ |
H A D | hid-input.c | 564 goto mapped;
in hidinput_configure_usage() 1624 mapped:
in hidinput_configure_usage() 1645 * to be mapped to ABS_Y
in hidinput_configure_usage() 2478 hid_dbg(hid, "Some usages could not be mapped, please use HID_QUIRK_INCREMENT_USAGE_ON_DUPLICATE if this is "
in hidinput_connect()
|