Home
last modified time | relevance | path

Searched refs:carveout (Results 1 – 4 of 4) sorted by relevance

/kernel/linux/linux-5.10/drivers/remoteproc/
Dremoteproc_debugfs.c365 struct rproc_mem_entry *carveout; in rproc_carveouts_show() local
367 list_for_each_entry(carveout, &rproc->carveouts, node) { 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()
Dremoteproc_core.c194 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()
207 if (!carveout->va) 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()
252 struct rproc_mem_entry *carveout, *mem = NULL; in rproc_find_carveout_by_name() local
261 list_for_each_entry(carveout, &rproc->carveouts, node) { in rproc_find_carveout_by_name()
263 if (!strcmp(carveout->name, _name)) { in rproc_find_carveout_by_name()
264 mem = carveout; in rproc_find_carveout_by_name()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/tegra/
Ddrm.c971 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 …]
Ddrm.h48 } carveout; member