Home
last modified time | relevance | path

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

/Linux-v6.1/drivers/remoteproc/
Dremoteproc_core.c195 struct rproc_mem_entry *carveout; in rproc_da_to_va() local
204 list_for_each_entry(carveout, &rproc->carveouts, node) { in rproc_da_to_va()
205 int offset = da - carveout->da; in rproc_da_to_va()
207 /* Verify that carveout is allocated */ in rproc_da_to_va()
208 if (!carveout->va) in rproc_da_to_va()
211 /* try next carveout if da is too small */ in rproc_da_to_va()
215 /* try next carveout if da is too large */ in rproc_da_to_va()
216 if (offset + len > carveout->len) in rproc_da_to_va()
219 ptr = carveout->va + offset; in rproc_da_to_va()
222 *is_iomem = carveout->is_iomem; in rproc_da_to_va()
[all …]
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()
Dimx_dsp_rproc.c657 struct rproc_mem_entry *carveout; in imx_dsp_rproc_prepare() local
672 list_for_each_entry(carveout, &rproc->carveouts, node) { in imx_dsp_rproc_prepare()
673 if (carveout->va) in imx_dsp_rproc_prepare()
674 memset(carveout->va, 0, carveout->len); in imx_dsp_rproc_prepare()
Dremoteproc_elf_loader.c147 * through the physically contiguous "carveout" memory regions which we
152 * Currently we only support remote processors that required carveout
Dremoteproc_virtio.c381 /* Try to find dedicated vdev buffer carveout */ in rproc_add_virtio_dev()
402 /* Use dma address as carveout no memmapped yet */ in rproc_add_virtio_dev()
/Linux-v6.1/drivers/gpu/drm/tegra/
Ddrm.c1022 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_alloc()
1050 alloc = alloc_iova(&tegra->carveout.domain, in tegra_drm_alloc()
1051 size >> tegra->carveout.shift, in tegra_drm_alloc()
1052 tegra->carveout.limit, true); in tegra_drm_alloc()
1058 *dma = iova_dma_addr(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1067 __free_iova(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1078 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_free()
1084 free_iova(&tegra->carveout.domain, in tegra_drm_free()
1085 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
1221 init_iova_domain(&tegra->carveout.domain, 1UL << order, in host1x_drm_probe()
[all …]
Ddrm.h51 } carveout; member
/Linux-v6.1/drivers/memory/tegra/
Dmc.c719 [13] = "Secure carveout violation",
720 [16] = "MTS carveout violation",
721 [17] = "Generalized carveout violation",
728 [4] = "Carveout violation",
/Linux-v6.1/drivers/gpu/drm/msm/
Dmsm_drv.c343 * access to a VRAM carveout big enough for all gpu in msm_init_vram()
346 * a splash screen. In this case, the VRAM carveout in msm_init_vram()
362 DRM_INFO("using VRAM carveout: %lx@%pa\n", size, &r.start); in msm_init_vram()
364 /* if we have no IOMMU, then we need to use carveout allocator. in msm_init_vram()
369 DRM_INFO("using %s VRAM carveout\n", vram); in msm_init_vram()
Dmsm_drv.h211 /* VRAM carveout, used when no IOMMU: */
Dmsm_gpu.c919 DRM_DEV_INFO(drm->dev, "%s: no IOMMU, fallback to VRAM carveout!\n", name); in msm_gpu_init()
Dmsm_gem.c66 /* allocate pages from VRAM carveout, used when no IOMMU: */
/Linux-v6.1/Documentation/devicetree/bindings/media/
Damphion,vpu.yaml84 remoteproc device. The reserved memory nodes should be carveout nodes,
/Linux-v6.1/Documentation/devicetree/bindings/remoteproc/
Dti,k3-dsp-rproc.yaml66 reserved memory nodes should be carveout nodes, and should be defined as
Dti,k3-r5f-rproc.yaml145 defined. The reserved memory nodes should be carveout nodes, and
/Linux-v6.1/include/linux/
Ddma-buf.h52 * device-specific carveout areas should check whether the buffer could
Dremoteproc.h168 * (optionally) contain a human readable name of this carveout region
/Linux-v6.1/drivers/gpu/drm/msm/adreno/
Da3xx_gpu.c560 * restrict access to VRAM carveout. But the required in a3xx_gpu_init()
Dadreno_device.c20 MODULE_PARM_DESC(allow_vram_carveout, "Allow using VRAM Carveout, in place of IOMMU");
Da4xx_gpu.c688 * restrict access to VRAM carveout. But the required in a4xx_gpu_init()
/Linux-v6.1/arch/arm64/mm/
Dmmu.c736 * live in the carveout for the swapper_pg_dir. We can simply in map_kernel()