/openbmc/linux/drivers/remoteproc/ |
H A 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 …]
|
H A 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()
|
H A 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()
|
H A 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()
|
H A 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
|
H A D | remoteproc_virtio.c | 384 /* 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 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 …]
|
H A D | drm.h | 43 } carveout; member
|
H A D | nvdec.c | 490 dev_err(dev, "failed to get carveout info: %d\n", err); in nvdec_probe()
|
/openbmc/linux/Documentation/devicetree/bindings/gpu/host1x/ |
H A D | nvidia,tegra234-nvdec.yaml | 67 firmware secure carveout. This carveout is configured by the bootloader and
|
/openbmc/linux/Documentation/devicetree/bindings/reserved-memory/ |
H A 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
|
/openbmc/linux/drivers/dma/ |
H A D | apple-admac.c | 94 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 D | virt-dt.c | 37 /* 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 D | board2.c | 244 * 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 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()
|
H A D | msm_drv.h | 200 /* VRAM carveout, used when no IOMMU: */
|
/openbmc/linux/drivers/memory/tegra/ |
H A D | mc.c | 745 [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 D | mlxbf-bootctl.h | 93 * SMC function IDs to set and get the large ICM carveout size
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | amphion,vpu.yaml | 84 remoteproc device. The reserved memory nodes should be carveout nodes,
|
/openbmc/linux/arch/arm64/mm/ |
H A D | fixmap.c | 179 * live in the carveout for the swapper_pg_dir. We can simply in fixmap_copy()
|
/openbmc/linux/Documentation/devicetree/bindings/remoteproc/ |
H A D | ti,k3-dsp-rproc.yaml | 68 reserved memory nodes should be carveout nodes, and should be defined as
|
H A D | ti,k3-r5f-rproc.yaml | 159 defined. The reserved memory nodes should be carveout nodes, and
|
/openbmc/linux/include/linux/ |
H A D | dma-buf.h | 52 * device-specific carveout areas should check whether the buffer could
|
/openbmc/linux/drivers/gpu/drm/msm/adreno/ |
H A D | a3xx_gpu.c | 571 * restrict access to VRAM carveout. But the required in a3xx_gpu_init()
|
H A D | adreno_device.c | 20 MODULE_PARM_DESC(allow_vram_carveout, "Allow using VRAM Carveout, in place of IOMMU");
|