| /kernel/linux/linux-5.10/drivers/remoteproc/ |
| D | remoteproc_core.c | 194 struct rproc_mem_entry *carveout; in rproc_da_to_va() local 203 list_for_each_entry(carveout, &rproc->carveouts, node) { in rproc_da_to_va() 204 int offset = da - carveout->da; in rproc_da_to_va() 206 /* Verify that carveout is allocated */ in rproc_da_to_va() 207 if (!carveout->va) in rproc_da_to_va() 210 /* try next carveout if da is too small */ in rproc_da_to_va() 214 /* try next carveout if da is too large */ in rproc_da_to_va() 215 if (offset + len > carveout->len) in rproc_da_to_va() 218 ptr = carveout->va + offset; in rproc_da_to_va() 229 * rproc_find_carveout_by_name() - lookup the carveout region by a name [all …]
|
| D | remoteproc_debugfs.c | 277 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()
|
| D | remoteproc_elf_loader.c | 145 * through the physically contiguous "carveout" memory regions which we 150 * Currently we only support remote processors that required carveout
|
| D | remoteproc_virtio.c | 344 /* 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()
|
| /kernel/linux/linux-6.6/drivers/remoteproc/ |
| D | remoteproc_core.c | 195 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 …]
|
| D | remoteproc_debugfs.c | 277 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()
|
| D | xlnx_r5_remoteproc.c | 394 * Callback to map va for memory-region's carveout. 417 * Unmap memory-region carveout 480 dev_dbg(&rproc->dev, "reserved mem carveout %s addr=%llx, size=0x%llx", in add_mem_regions_carveout() 510 * remoteproc carveout. It also takes care of va to da address translation 560 * allocate and add remoteproc carveout for TCM memory in split mode 598 dev_dbg(dev, "TCM carveout split mode %s addr=%llx, size=0x%lx", in add_tcm_carveout_split_mode() 629 * allocate and add remoteproc carveout for TCM memory in lockstep mode 673 dev_dbg(dev, "TCM add carveout lockstep mode %s addr=0x%llx, size=0x%lx", in add_tcm_carveout_lockstep_mode()
|
| D | imx_dsp_rproc.c | 687 struct rproc_mem_entry *carveout; in imx_dsp_rproc_prepare() local 702 list_for_each_entry(carveout, &rproc->carveouts, node) { in imx_dsp_rproc_prepare() 703 if (carveout->va) in imx_dsp_rproc_prepare() 704 memset(carveout->va, 0, carveout->len); in imx_dsp_rproc_prepare()
|
| D | remoteproc_elf_loader.c | 147 * through the physically contiguous "carveout" memory regions which we 152 * Currently we only support remote processors that required carveout
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/tegra/ |
| D | drm.c | 971 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 …]
|
| D | drm.h | 48 } carveout; member
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/tegra/ |
| D | drm.c | 1016 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_alloc() 1044 alloc = alloc_iova(&tegra->carveout.domain, in tegra_drm_alloc() 1045 size >> tegra->carveout.shift, in tegra_drm_alloc() 1046 tegra->carveout.limit, true); in tegra_drm_alloc() 1052 *dma = iova_dma_addr(&tegra->carveout.domain, alloc); in tegra_drm_alloc() 1061 __free_iova(&tegra->carveout.domain, alloc); in tegra_drm_alloc() 1072 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_free() 1078 free_iova(&tegra->carveout.domain, in tegra_drm_free() 1079 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free() 1211 init_iova_domain(&tegra->carveout.domain, 1UL << order, in host1x_drm_probe() [all …]
|
| D | drm.h | 43 } carveout; member
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/gpu/host1x/ |
| D | nvidia,tegra234-nvdec.yaml | 67 firmware secure carveout. This carveout is configured by the bootloader and
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/reserved-memory/ |
| D | reserved-memory.yaml | 61 which the mapping or carveout is to be created. 75 defines carveout regions in the IOVA space for the given device. This
|
| /kernel/linux/linux-6.6/drivers/dma/ |
| D | apple-admac.c | 94 u32 carveout; member 184 u32 carveout) in admac_free_sram_carveout() argument 187 u32 base = FIELD_GET(CHAN_SRAM_CARVEOUT_BASE, carveout); in admac_free_sram_carveout() 560 &adchan->carveout); in admac_alloc_chan_resources() 564 writel_relaxed(adchan->carveout, in admac_alloc_chan_resources() 576 adchan->carveout); in admac_free_chan_resources()
|
| /kernel/linux/linux-5.10/drivers/staging/android/uapi/ |
| D | ion.h | 19 * carveout heap, allocations are physically
|
| /kernel/linux/linux-5.10/tools/testing/selftests/android/ion/ |
| D | ion.h | 26 * carveout heap, allocations are physically
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/msm/ |
| D | msm_drv.c | 331 * access to a VRAM carveout big enough for all gpu in msm_init_vram() 334 * a splash screen. In this case, the VRAM carveout in msm_init_vram() 350 DRM_INFO("using VRAM carveout: %lx@%pa\n", size, &r.start); in msm_init_vram() 352 /* if we have no IOMMU, then we need to use carveout allocator. in msm_init_vram() 357 DRM_INFO("using %s VRAM carveout\n", vram); in msm_init_vram()
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/msm/ |
| D | msm_drv.c | 336 * 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()
|
| /kernel/linux/linux-6.6/drivers/memory/tegra/ |
| D | mc.c | 745 [13] = "Secure carveout violation", 746 [16] = "MTS carveout violation", 747 [17] = "Generalized carveout violation", 754 [4] = "Carveout violation",
|
| /kernel/linux/linux-5.10/drivers/memory/tegra/ |
| D | mc.c | 413 [13] = "Secure carveout violation", 414 [16] = "MTS carveout violation", 420 [4] = "Carveout violation",
|
| /kernel/linux/linux-6.6/drivers/platform/mellanox/ |
| D | mlxbf-bootctl.h | 93 * SMC function IDs to set and get the large ICM carveout size
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/media/ |
| D | amphion,vpu.yaml | 84 remoteproc device. The reserved memory nodes should be carveout nodes,
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/remoteproc/ |
| D | ti,k3-dsp-rproc.yaml | 64 reserved memory nodes should be carveout nodes, and should be defined as
|