Home
last modified time | relevance | path

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

12

/openbmc/linux/drivers/remoteproc/
H A 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 …]
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 Dxlnx_r5_remoteproc.c394 * 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()
H A Dimx_dsp_rproc.c687 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()
H A Dremoteproc_elf_loader.c147 * through the physically contiguous "carveout" memory regions which we
152 * Currently we only support remote processors that required carveout
H A Dremoteproc_virtio.c384 /* Try to find dedicated vdev buffer carveout */ in rproc_add_virtio_dev()
405 /* Use dma address as carveout no memmapped yet */ in rproc_add_virtio_dev()
/openbmc/linux/drivers/gpu/drm/tegra/
H A Ddrm.c1016 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 …]
H A Ddrm.h43 } carveout; member
H A Dnvdec.c490 dev_err(dev, "failed to get carveout info: %d\n", err); in nvdec_probe()
/openbmc/linux/Documentation/devicetree/bindings/gpu/host1x/
H A Dnvidia,tegra234-nvdec.yaml67 firmware secure carveout. This carveout is configured by the bootloader and
/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/
H A Dreserved-memory.yaml61 which the mapping or carveout is to be created.
75 defines carveout regions in the IOVA space for the given device. This
/openbmc/linux/drivers/dma/
H A Dapple-admac.c94 u32 carveout; member
186 u32 carveout) in admac_free_sram_carveout()
189 u32 base = FIELD_GET(CHAN_SRAM_CARVEOUT_BASE, carveout); in admac_free_sram_carveout()
562 &adchan->carveout); in admac_alloc_chan_resources()
566 writel_relaxed(adchan->carveout, in admac_alloc_chan_resources()
578 adchan->carveout);
184 admac_free_sram_carveout(struct admac_data * ad,enum dma_transfer_direction dir,u32 carveout) admac_free_sram_carveout() argument
/openbmc/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()
/openbmc/u-boot/arch/arm/mach-tegra/
H A Dboard2.c244 * This carveout exists at the highest possible address that is within a
267 // BASE+SIZE might not == 4GB. If so, we want the carveout to cover in carveout_size()
/openbmc/linux/drivers/gpu/drm/msm/
H A Dmsm_drv.c331 * 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()
H A Dmsm_drv.h200 /* VRAM carveout, used when no IOMMU: */
/openbmc/linux/drivers/memory/tegra/
H A Dmc.c745 [13] = "Secure carveout violation",
746 [16] = "MTS carveout violation",
747 [17] = "Generalized carveout violation",
754 [4] = "Carveout violation",
/openbmc/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.h93 * SMC function IDs to set and get the large ICM carveout size
/openbmc/linux/Documentation/devicetree/bindings/media/
H A Damphion,vpu.yaml84 remoteproc device. The reserved memory nodes should be carveout nodes,
/openbmc/linux/arch/arm64/mm/
H A Dfixmap.c179 * live in the carveout for the swapper_pg_dir. We can simply in fixmap_copy()
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,k3-dsp-rproc.yaml68 reserved memory nodes should be carveout nodes, and should be defined as
H A Dti,k3-r5f-rproc.yaml159 defined. The reserved memory nodes should be carveout nodes, and
/openbmc/linux/include/linux/
H A Ddma-buf.h52 * device-specific carveout areas should check whether the buffer could
/openbmc/linux/drivers/gpu/drm/msm/adreno/
H A Da3xx_gpu.c571 * restrict access to VRAM carveout. But the required in a3xx_gpu_init()
H A Dadreno_device.c20 MODULE_PARM_DESC(allow_vram_carveout, "Allow using VRAM Carveout, in place of IOMMU");

12