carveout 157 drivers/gpu/drm/tegra/drm.c init_iova_domain(&tegra->carveout.domain, 1UL << order, carveout 160 drivers/gpu/drm/tegra/drm.c tegra->carveout.shift = iova_shift(&tegra->carveout.domain); carveout 161 drivers/gpu/drm/tegra/drm.c tegra->carveout.limit = carveout_end >> tegra->carveout.shift; carveout 207 drivers/gpu/drm/tegra/drm.c put_iova_domain(&tegra->carveout.domain); carveout 243 drivers/gpu/drm/tegra/drm.c put_iova_domain(&tegra->carveout.domain); carveout 1133 drivers/gpu/drm/tegra/drm.c size = iova_align(&tegra->carveout.domain, size); carveout 1161 drivers/gpu/drm/tegra/drm.c alloc = alloc_iova(&tegra->carveout.domain, carveout 1162 drivers/gpu/drm/tegra/drm.c size >> tegra->carveout.shift, carveout 1163 drivers/gpu/drm/tegra/drm.c tegra->carveout.limit, true); carveout 1169 drivers/gpu/drm/tegra/drm.c *dma = iova_dma_addr(&tegra->carveout.domain, alloc); carveout 1178 drivers/gpu/drm/tegra/drm.c __free_iova(&tegra->carveout.domain, alloc); carveout 1189 drivers/gpu/drm/tegra/drm.c size = iova_align(&tegra->carveout.domain, size); carveout 1195 drivers/gpu/drm/tegra/drm.c free_iova(&tegra->carveout.domain, carveout 1196 drivers/gpu/drm/tegra/drm.c iova_pfn(&tegra->carveout.domain, dma)); carveout 47 drivers/gpu/drm/tegra/drm.h } carveout; carveout 192 drivers/remoteproc/remoteproc_core.c struct rproc_mem_entry *carveout; carveout 201 drivers/remoteproc/remoteproc_core.c list_for_each_entry(carveout, &rproc->carveouts, node) { carveout 202 drivers/remoteproc/remoteproc_core.c int offset = da - carveout->da; carveout 205 drivers/remoteproc/remoteproc_core.c if (!carveout->va) carveout 213 drivers/remoteproc/remoteproc_core.c if (offset + len > carveout->len) carveout 216 drivers/remoteproc/remoteproc_core.c ptr = carveout->va + offset; carveout 248 drivers/remoteproc/remoteproc_core.c struct rproc_mem_entry *carveout, *mem = NULL; carveout 257 drivers/remoteproc/remoteproc_core.c list_for_each_entry(carveout, &rproc->carveouts, node) { carveout 259 drivers/remoteproc/remoteproc_core.c if (!strcmp(carveout->name, _name)) { carveout 260 drivers/remoteproc/remoteproc_core.c mem = carveout; carveout 875 drivers/remoteproc/remoteproc_core.c struct rproc_mem_entry *carveout; carveout 896 drivers/remoteproc/remoteproc_core.c carveout = rproc_find_carveout_by_name(rproc, rsc->name); carveout 898 drivers/remoteproc/remoteproc_core.c if (carveout) { carveout 899 drivers/remoteproc/remoteproc_core.c if (carveout->rsc_offset != FW_RSC_ADDR_ANY) { carveout 905 drivers/remoteproc/remoteproc_core.c if (rproc_check_carveout_da(rproc, carveout, rsc->da, rsc->len)) carveout 909 drivers/remoteproc/remoteproc_core.c carveout->rsc_offset = offset; carveout 910 drivers/remoteproc/remoteproc_core.c carveout->flags = rsc->flags; carveout 916 drivers/remoteproc/remoteproc_core.c carveout = rproc_mem_entry_init(dev, 0, 0, rsc->len, rsc->da, carveout 919 drivers/remoteproc/remoteproc_core.c if (!carveout) { carveout 924 drivers/remoteproc/remoteproc_core.c carveout->flags = rsc->flags; carveout 925 drivers/remoteproc/remoteproc_core.c carveout->rsc_offset = offset; carveout 926 drivers/remoteproc/remoteproc_core.c rproc_add_carveout(rproc, carveout); carveout 288 drivers/remoteproc/remoteproc_debugfs.c struct rproc_mem_entry *carveout; carveout 290 drivers/remoteproc/remoteproc_debugfs.c list_for_each_entry(carveout, &rproc->carveouts, node) { carveout 292 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, "\tName: %s\n", carveout->name); carveout 293 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, "\tVirtual address: %pK\n", carveout->va); carveout 294 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, "\tDMA address: %pad\n", &carveout->dma); carveout 295 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, "\tDevice address: 0x%x\n", carveout->da); carveout 296 drivers/remoteproc/remoteproc_debugfs.c seq_printf(seq, "\tLength: 0x%x Bytes\n\n", carveout->len);