Searched refs:carveout (Results 1 - 14 of 14) sorted by relevance

/linux-4.1.27/drivers/staging/android/ion/
H A Dion_dummy_driver.c48 .name = "carveout",
77 /* Allocate a dummy carveout heap */ ion_dummy_init()
85 pr_err("ion_dummy: Could not allocate carveout\n"); ion_dummy_init()
H A Dion_priv.h331 * kernel api to allocate/free from carveout -- used when carveout is
339 * The carveout heap returns physical addresses, since 0 may be a valid
/linux-4.1.27/drivers/remoteproc/
H A Dremoteproc_core.c158 struct rproc_mem_entry *carveout; rproc_da_to_va() local
161 list_for_each_entry(carveout, &rproc->carveouts, node) { rproc_da_to_va()
162 int offset = da - carveout->da; rproc_da_to_va()
164 /* try next carveout if da is too small */ rproc_da_to_va()
168 /* try next carveout if da is too large */ rproc_da_to_va()
169 if (offset + len > carveout->len) rproc_da_to_va()
172 ptr = carveout->va + offset; rproc_da_to_va()
547 struct rproc_mem_entry *carveout, *mapping; rproc_handle_carveout() local
554 dev_err(dev, "carveout rsc is truncated\n"); rproc_handle_carveout()
560 dev_err(dev, "carveout rsc has non zero reserved bytes\n"); rproc_handle_carveout()
564 dev_dbg(dev, "carveout rsc: da %x, pa %x, len %x, flags %x\n", rproc_handle_carveout()
567 carveout = kzalloc(sizeof(*carveout), GFP_KERNEL); rproc_handle_carveout()
568 if (!carveout) { rproc_handle_carveout()
569 dev_err(dev, "kzalloc carveout failed\n"); rproc_handle_carveout()
580 dev_dbg(dev, "carveout va %p, dma %llx, len 0x%x\n", va, rproc_handle_carveout()
626 dev_dbg(dev, "carveout mapped 0x%x to 0x%llx\n", rproc_handle_carveout()
649 carveout->va = va; rproc_handle_carveout()
650 carveout->len = rsc->len; rproc_handle_carveout()
651 carveout->dma = dma; rproc_handle_carveout()
652 carveout->da = rsc->da; rproc_handle_carveout()
654 list_add_tail(&carveout->node, &rproc->carveouts); rproc_handle_carveout()
663 kfree(carveout); rproc_handle_carveout()
769 /* clean up carveout allocations */ rproc_resource_cleanup()
H A Dremoteproc_elf_loader.c134 * through the physically contiguous "carveout" memory regions which we
139 * Currently we only support remote processors that required carveout
/linux-4.1.27/drivers/memory/tegra/
H A Dmc.c102 [13] = "Secure carveout violation",
103 [16] = "MTS carveout violation",
/linux-4.1.27/drivers/memory/
H A Dtegra20-mc.c178 "carveout" : "trustzone") : ""); tegra20_mc_decode()
/linux-4.1.27/drivers/gpu/drm/msm/
H A Dmsm_drv.c202 * access to a VRAM carveout big enough for all gpu msm_init_vram()
205 * a splash screen. In this case, the VRAM carveout msm_init_vram()
221 DRM_INFO("using VRAM carveout: %lx@%pa\n", size, &r.start); msm_init_vram()
225 /* if we have no IOMMU, then we need to use carveout allocator. msm_init_vram()
230 DRM_INFO("using %s VRAM carveout\n", vram); msm_init_vram()
H A Dmsm_drv.h131 /* VRAM carveout, used when no IOMMU: */
H A Dmsm_gpu.c611 dev_info(drm->dev, "%s: no IOMMU, fallback to VRAM carveout!\n", name); msm_gpu_init()
H A Dmsm_gem.c41 /* allocate pages from VRAM carveout, used when no IOMMU: */ get_pages_vram()
/linux-4.1.27/drivers/staging/android/uapi/
H A Dion.h30 * carveout heap, allocations are physically
/linux-4.1.27/drivers/gpu/drm/msm/adreno/
H A Da4xx_gpu.c586 * restrict access to VRAM carveout. But the required a4xx_gpu_init()
H A Da3xx_gpu.c579 * restrict access to VRAM carveout. But the required a3xx_gpu_init()
/linux-4.1.27/include/linux/
H A Dremoteproc.h163 * (optionally) contain a human readable name of this carveout region

Completed in 477 milliseconds