Home
last modified time | relevance | path

Searched full:carveout (Results 1 – 25 of 25) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/remoteproc/
H A Dremoteproc_core.c196 struct rproc_mem_entry *carveout; in rproc_da_to_va() local
205 list_for_each_entry(carveout, &rproc->carveouts, node) { in rproc_da_to_va()
206 int offset = da - carveout->da; in rproc_da_to_va()
208 /* Verify that carveout is allocated */ in rproc_da_to_va()
209 if (!carveout->va) in rproc_da_to_va()
212 /* try next carveout if da is too small */ in rproc_da_to_va()
216 /* try next carveout if da is too large */ in rproc_da_to_va()
217 if (offset + len > carveout->len) in rproc_da_to_va()
220 ptr = carveout->va + offset; in rproc_da_to_va()
223 *is_iomem = carveout->is_iomem; in rproc_da_to_va()
[all …]
H A Dremoteproc_debugfs.c277 static const char * const types[] = {"carveout", "devmem", "trace", "vdev"}; in rproc_rsc_table_show()
361 /* Expose carveout content via debugfs */
365 struct rproc_mem_entry *carveout; in rproc_carveouts_show() local
367 list_for_each_entry(carveout, &rproc->carveouts, node) { in rproc_carveouts_show()
368 seq_puts(seq, "Carveout memory entry:\n"); in rproc_carveouts_show()
369 seq_printf(seq, "\tName: %s\n", carveout->name); in rproc_carveouts_show()
370 seq_printf(seq, "\tVirtual address: %pK\n", carveout->va); in rproc_carveouts_show()
371 seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma); in rproc_carveouts_show()
372 seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da); in rproc_carveouts_show()
373 seq_printf(seq, "\tLength: 0x%zx Bytes\n\n", carveout->len); in rproc_carveouts_show()
H A Dremoteproc_virtio.c344 /* Try to find dedicated vdev buffer carveout */ in rproc_add_virtio_dev()
365 /* Use dma address as carveout no memmapped yet */ in rproc_add_virtio_dev()
H A Dremoteproc_elf_loader.c145 * through the physically contiguous "carveout" memory regions which we
150 * Currently we only support remote processors that required carveout
/OK3568_Linux_fs/kernel/drivers/gpu/drm/tegra/
H A Ddrm.c971 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_alloc()
999 alloc = alloc_iova(&tegra->carveout.domain, in tegra_drm_alloc()
1000 size >> tegra->carveout.shift, in tegra_drm_alloc()
1001 tegra->carveout.limit, true); in tegra_drm_alloc()
1007 *dma = iova_dma_addr(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1016 __free_iova(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1027 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_free()
1033 free_iova(&tegra->carveout.domain, in tegra_drm_free()
1034 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
1164 init_iova_domain(&tegra->carveout.domain, 1UL << order, in host1x_drm_probe()
[all …]
H A Ddrm.h48 } carveout; member
/OK3568_Linux_fs/u-boot/arch/arm/cpu/armv7/
H A Dvirt-dt.c37 /* carveout must be at the beginning or the end of the bank */ in armv7_apply_memory_carveout()
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/
H A Dmsm_drv.c336 * access to a VRAM carveout big enough for all gpu in msm_init_vram()
339 * a splash screen. In this case, the VRAM carveout in msm_init_vram()
355 DRM_INFO("using VRAM carveout: %lx@%pa\n", size, &r.start); in msm_init_vram()
357 /* if we have no IOMMU, then we need to use carveout allocator. in msm_init_vram()
362 DRM_INFO("using %s VRAM carveout\n", vram); in msm_init_vram()
H A Dmsm_drv.h207 /* VRAM carveout, used when no IOMMU: */
H A Dmsm_gpu.c933 DRM_DEV_INFO(drm->dev, "%s: no IOMMU, fallback to VRAM carveout!\n", name); in msm_gpu_init()
H A Dmsm_gem.c66 /* allocate pages from VRAM carveout, used when no IOMMU: */
/OK3568_Linux_fs/kernel/drivers/memory/tegra/
H A Dmc.c413 [13] = "Secure carveout violation",
414 [16] = "MTS carveout violation",
420 [4] = "Carveout violation",
/OK3568_Linux_fs/kernel/tools/testing/selftests/android/ion/
H A Dion.h26 * carveout heap, allocations are physically
/OK3568_Linux_fs/external/security/rk_tee_user/v2/host/xtest/include/uapi/linux/
H A Dion.h29 * carveout heap, allocations are physically
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/rockchip/
H A Drockchip_ion.c45 .name = "carveout-heap",
/OK3568_Linux_fs/kernel/Documentation/devicetree/bindings/remoteproc/
H A Dti,k3-dsp-rproc.yaml64 reserved memory nodes should be carveout nodes, and should be defined as
H A Dti,k3-r5f-rproc.yaml135 defined. The reserved memory nodes should be carveout nodes, and
/OK3568_Linux_fs/u-boot/arch/arm/mach-tegra/
H A Dboard2.c231 * This carveout exists at the highest possible address that is within a
/OK3568_Linux_fs/kernel/drivers/staging/android/ion/
H A Dion.c283 /* For carveout, dma & custom heaps, we first let the heaps choose their in ion_assign_heap_id()
/OK3568_Linux_fs/external/mpp/osal/allocator/
H A Dion.h30 * carveout heap, allocations are physically
/OK3568_Linux_fs/kernel/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.c558 * restrict access to VRAM carveout. But the required in a3xx_gpu_init()
H A Da4xx_gpu.c686 * restrict access to VRAM carveout. But the required in a4xx_gpu_init()
/OK3568_Linux_fs/kernel/include/linux/
H A Ddma-buf.h52 * device-specific carveout areas should check whether the buffer could
H A Dremoteproc.h168 * (optionally) contain a human readable name of this carveout region
/OK3568_Linux_fs/kernel/arch/arm64/mm/
H A Dmmu.c723 * live in the carveout for the swapper_pg_dir. We can simply in map_kernel()