Home
last modified time | relevance | path

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

/linux/tools/testing/selftests/mm/
H A Dmerge.c21 char *carveout; in FIXTURE() local
29 self->carveout = mmap(NULL, 30 * self->page_size, PROT_NONE, in FIXTURE_SETUP()
31 ASSERT_NE(self->carveout, MAP_FAILED); in FIXTURE_SETUP()
38 ASSERT_EQ(munmap(self->carveout, 30 * self->page_size), 0); in FIXTURE_TEARDOWN()
50 char *carveout = self->carveout; in TEST_F() local
62 ptr = mmap(&carveout[page_size], 10 * page_size, PROT_READ | PROT_WRITE, in TEST_F()
104 char *carveout = self->carveout; in TEST_F() local
113 ptr = mmap(&carveout[page_size], 10 * page_size, PROT_READ | PROT_WRITE, in TEST_F()
154 char *carveout = self->carveout; in TEST_F() local
163 ptr = mmap(&carveout[2 * page_size], 9 * page_size, PROT_READ | PROT_WRITE, in TEST_F()
[all …]
/linux/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 Dxlnx_r5_remoteproc.c449 * Callback to map va for memory-region's carveout.
472 * Unmap memory-region carveout
536 dev_dbg(&rproc->dev, "reserved mem carveout %s addr=%llx, size=0x%llx", in add_mem_regions_carveout()
576 dev_dbg(&rproc->dev, "sram carveout %s addr=%llx, da=0x%x, size=0x%lx", in add_sram_carveouts()
605 * remoteproc carveout. It also takes care of va to da address translation
631 * allocate and add remoteproc carveout for TCM memory
671 dev_dbg(dev, "TCM carveout %s addr=%llx, da=0x%x, size=0x%lx", in add_tcm_banks()
760 dev_err(&rproc->dev, "failed to get sram carveout %d\n", ret); in zynqmp_r5_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()
/linux/drivers/gpu/drm/tegra/
H A Ddrm.c1019 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_alloc()
1047 alloc = alloc_iova(&tegra->carveout.domain, in tegra_drm_alloc()
1048 size >> tegra->carveout.shift, in tegra_drm_alloc()
1049 tegra->carveout.limit, true); in tegra_drm_alloc()
1055 *dma = iova_dma_addr(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1064 __free_iova(&tegra->carveout.domain, alloc); in tegra_drm_alloc()
1075 size = iova_align(&tegra->carveout.domain, size); in tegra_drm_free()
1081 free_iova(&tegra->carveout.domain, in tegra_drm_free()
1082 iova_pfn(&tegra->carveout.domain, dma)); in tegra_drm_free()
1215 init_iova_domain(&tegra->carveout.domain, 1UL << order, in host1x_drm_probe()
[all …]
H A Ddrm.h46 } carveout; member
/linux/Documentation/devicetree/bindings/gpu/host1x/
H A Dnvidia,tegra234-nvdec.yaml67 firmware secure carveout. This carveout is configured by the bootloader and
/linux/drivers/dma/
H A Dapple-admac.c94 u32 carveout; member
186 u32 carveout) in admac_free_sram_carveout() argument
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); in admac_free_chan_resources()
/linux/drivers/platform/mellanox/
H A Dmlxbf-bootctl.h93 * SMC function IDs to set and get the large ICM carveout size
/linux/Documentation/devicetree/bindings/media/
H A Damphion,vpu.yaml83 remoteproc device. The reserved memory nodes should be carveout nodes,
/linux/Documentation/devicetree/bindings/remoteproc/
H A Dti,k3-dsp-rproc.yaml65 reserved memory nodes should be carveout nodes, and should be defined as
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/gsp/rm/r535/nvrm/
H A Dgsp.h740 // Total size of FB carveout (image and reserved space).
/linux/include/linux/
H A Dremoteproc.h168 * (optionally) contain a human readable name of this carveout region
/linux/include/uapi/drm/
H A Dasahi_drm.h582 * fix a 4GiB VA carveout for USC memory and pass its base address here.
/linux/drivers/gpu/drm/amd/amdgpu/
H A Dgmc_v9_0.c1602 * - carveout mode in gmc_v9_0_early_init()