Home
last modified time | relevance | path

Searched refs:mapped (Results 1 – 25 of 33) sorted by relevance

12

/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/linux/mmz/
Dmmz_userdev.c105 __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()
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 == NULL) {
437 pmi->mapped = NULL;
455 addr = (unsigned long)(uintptr_t)p->mapped;
491 p->mapped = NULL;
[all …]
/device/soc/rockchip/common/sdk_linux/drivers/dma-buf/heaps/
Dcma_heap.c46 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()
Dsystem_heap.c47 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()
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/mmz/
Ddrv_mmz_compat.c53 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()
Ddrv_mmz_userdev.c399 mi->mapped = (void *)((uintptr_t)p->uvirt + offset_tmp); in ioctl_mmb_user_map_cace_attr()
543 mi->mapped = (void *)((uintptr_t)udata->uvirt + offset); in ioctl_mmb_user_remap()
651 mi->mapped = NULL; in ioctl_mmb_user_unmap()
658 mi->mapped = NULL; in ioctl_mmb_user_unmap()
689 mi->mapped = NULL; in ioctl_mmb_user_unmap()
754 p = get_mmbinfo_byusraddr((uintptr_t)mi->mapped, &udata); in ioctl_mmb_user_getphyaddr()
759 mi->smmu_addr = p->iommu_addr + ((uintptr_t)mi->mapped - (uintptr_t)udata.uvirt); in ioctl_mmb_user_getphyaddr()
763 mi->phys_addr = p->phys_addr + ((uintptr_t)mi->mapped - (uintptr_t)udata.uvirt); in ioctl_mmb_user_getphyaddr()
766 mi->size = p->length - ((uintptr_t)mi->mapped - (uintptr_t)udata.uvirt); in ioctl_mmb_user_getphyaddr()
Ddrv_mmz_compat.h33 HI_U32 mapped; /* userspace mapped ptr */ member
/device/soc/esp/esp32/components/bootloader_support/src/
Dbootloader_flash.c154 static bool mapped; variable
170 if (mapped) { in bootloader_mmap()
226 mapped = true; in bootloader_mmap()
233 if (mapped) { in bootloader_munmap()
254 mapped = false; in bootloader_munmap()
/device/soc/rockchip/common/sdk_linux/drivers/iommu/
Diommu.c2449 int prot, gfp_t gfp, size_t *mapped) in iommu_map_pages_ext() argument
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()
2509 size -= mapped; in iommu_map_ext()
2515 iova += mapped; in iommu_map_ext()
2516 paddr += mapped; in iommu_map_ext()
2640 size_t len = 0, mapped = 0; in iommu_map_sg_ext() local
2646 ret = ops->map_sg(domain, iova, sg, nents, prot, gfp, &mapped); in iommu_map_sg_ext()
[all …]
/device/board/unionman/unionpi_tiger/kernel/drivers/media/drivers/include/linux/amlogic/media/vdetect/
Dvdetect.h89 bool mapped; member
/device/soc/hisilicon/hi3751v350/sdk_linux/source/common/drv/include/
Ddrv_mmz_ioctl.h30 HI_U8 *mapped; /* userspace mapped ptr */ member
/device/soc/esp/esp32/components/libs/
Desp32_out.ld31 /* Even though the segment name is iram, it is actually mapped to flash
52 /* Flash mapped constant data */
/device/soc/esp/esp32/components/esp32/ld/
Desp32.ld53 /* Even though the segment name is iram, it is actually mapped to flash
80 /* Flash mapped constant data */
/device/soc/allwinner/t507/patches/kernel/linux-5.10/
Dkernel.patch490 + bool mapped;
515 + a->mapped = false;
554 + a->mapped = true;
565 + a->mapped = false;
580 + if (!a->mapped)
600 + if (!a->mapped)
693 + WARN(1, "%s: buffer still mapped in the kernel\n", __func__);
1419 + bool mapped;
1503 + a->mapped = false;
1547 + a->mapped = true;
[all …]
/device/soc/hisilicon/hi3516dv300/sdk_liteos/include/
Dosal_mmz.h159 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/drv/osal/include/
Dosal_mmz.h161 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
/device/soc/hisilicon/hi3516dv300/sdk_linux/include/
Dosal_mmz.h158 void *__phys_addr_align__ mapped; /* userspace mapped ptr */ member
/device/soc/rockchip/common/vendor/drivers/gpu/arm/mali400/mali/
DKconfig65 attach. If this is not set the dma-buf attachments will be mapped for
/device/soc/rockchip/common/kernel/drivers/gpu/arm/mali400/mali/
DKconfig65 attach. If this is not set the dma-buf attachments will be mapped for
/device/soc/rockchip/common/sdk_linux/include/linux/
Diommu.h268 int prot, gfp_t gfp, size_t *mapped);
270 gfp_t gfp, size_t *mapped);
/device/soc/rockchip/common/sdk_linux/drivers/gpio/
DKconfig111 menu "Memory mapped GPIO drivers"
285 tristate "Generic memory-mapped GPIO controller support (MMIO platform device)"
288 Say yes here to support basic platform_device memory-mapped GPIO controllers.
386 bool "Lantiq Memory mapped GPIOs"
389 This enables support for memory mapped GPIOs on the External Bus Unit
715 bool "LSI ZEVIO SoC memory mapped GPIOs"
752 menu "Port-mapped I/O GPIO drivers"
/device/soc/rockchip/common/vendor/drivers/gpu/arm/bifrost/
DMconfig231 behavior, then the dma-buf is mapped on import, by adding cache
DKconfig228 behavior, then the dma-buf is mapped on import, by adding cache
/device/soc/rockchip/common/sdk_linux/drivers/pinctrl/
DKconfig105 driver for memory mapped GPIO functionality on AMD platforms
/device/soc/rockchip/common/kernel/drivers/gpu/arm/bifrost/
DMconfig137 behavior, then the dma-buf is mapped on import, by adding cache
/device/soc/rockchip/common/sdk_linux/drivers/hid/
Dhid-input.c564 goto mapped; in hidinput_configure_usage()
1624 mapped: in hidinput_configure_usage()

12