/drivers/gpu/drm/ |
D | drm_cache.c | 221 if (!dst->is_iomem && !src->is_iomem) { in memcpy_fallback() 223 } else if (!src->is_iomem) { in memcpy_fallback() 225 } else if (!dst->is_iomem) { in memcpy_fallback() 318 __drm_memcpy_from_wc(dst->is_iomem ? in drm_memcpy_from_wc() 321 src->is_iomem ? in drm_memcpy_from_wc()
|
D | drm_gem_ttm_helper.c | 46 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
|
D | drm_gem_shmem_helper.c | 276 if (WARN_ON(map->is_iomem)) { in drm_gem_shmem_vmap_locked()
|
/drivers/gpu/drm/ttm/ |
D | ttm_bo_vm.c | 230 if (!bo->resource->bus.is_iomem) { in ttm_bo_vm_fault_reserved() 250 if (bo->resource->bus.is_iomem) { in ttm_bo_vm_fault_reserved() 391 bool is_iomem; in ttm_bo_vm_access_kmap() local 397 ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; in ttm_bo_vm_access_kmap() 398 WARN_ON_ONCE(is_iomem); in ttm_bo_vm_access_kmap()
|
D | ttm_resource.c | 42 res->bus.is_iomem = false; in ttm_resource_init() 282 if (!mem->bus.is_iomem) { in ttm_kmap_iter_linear_io_init() 342 if (iter_io->dmap.is_iomem) in ttm_kmap_iter_linear_io_fini()
|
D | ttm_bo_util.c | 56 mem->bus.is_iomem = false; in ttm_mem_io_reserve() 111 if (dst_map.is_iomem) in ttm_move_memcpy() 354 if (!bo->resource->bus.is_iomem) { in ttm_bo_kmap() 398 if (mem->bus.is_iomem) { in ttm_bo_vmap() 455 if (!map->is_iomem) in ttm_bo_vunmap()
|
/drivers/remoteproc/ |
D | remoteproc_elf_loader.c | 181 bool is_iomem = false; local 212 ptr = rproc_da_to_va(rproc, da, memsz, &is_iomem); 222 if (is_iomem) 236 if (is_iomem)
|
D | imx_rproc.c | 345 size_t len, u64 *sys, bool *is_iomem) in imx_rproc_da_to_sys() argument 358 if (is_iomem) in imx_rproc_da_to_sys() 359 *is_iomem = att->flags & ATT_IOMEM; in imx_rproc_da_to_sys() 369 static void *imx_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in imx_rproc_da_to_va() argument 383 if (imx_rproc_da_to_sys(priv, da, len, &sys, is_iomem)) in imx_rproc_da_to_va()
|
D | remoteproc_coredump.c | 156 bool is_iomem = false; in rproc_copy_segment() local 162 ptr = rproc_da_to_va(rproc, segment->da + offset, size, &is_iomem); in rproc_copy_segment() 169 if (is_iomem) in rproc_copy_segment()
|
D | wkup_m3_rproc.c | 92 static void *wkup_m3_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in wkup_m3_rproc_da_to_va() argument
|
D | ingenic_rproc.c | 124 static void *ingenic_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in ingenic_rproc_da_to_va() argument
|
D | remoteproc_core.c | 196 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() argument 202 ptr = rproc->ops->da_to_va(rproc, da, len, is_iomem); in rproc_da_to_va() 224 if (is_iomem) in rproc_da_to_va() 225 *is_iomem = carveout->is_iomem; in rproc_da_to_va()
|
D | st_slim_rproc.c | 177 static void *slim_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in slim_rproc_da_to_va() argument
|
D | keystone_remoteproc.c | 249 static void *keystone_rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in keystone_rproc_da_to_va() argument
|
D | qcom_q6v5_adsp.c | 284 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va() argument
|
D | qcom_wcnss.c | 311 static void *wcnss_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in wcnss_da_to_va() argument
|
/drivers/gpu/drm/nouveau/ |
D | nouveau_bo.h | 103 bool is_iomem; in nvbo_kmap_obj_iovirtual() local 105 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual() 106 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
|
D | nouveau_bo.c | 661 bool is_iomem; in nouveau_bo_wr16() local 662 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16() 666 if (is_iomem) in nouveau_bo_wr16() 675 bool is_iomem; in nouveau_bo_rd32() local 676 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32() 680 if (is_iomem) in nouveau_bo_rd32() 689 bool is_iomem; in nouveau_bo_wr32() local 690 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr32() 694 if (is_iomem) in nouveau_bo_wr32() 1110 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() [all …]
|
/drivers/gpu/drm/qxl/ |
D | qxl_ttm.c | 83 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve() 88 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
|
D | qxl_object.c | 177 if (bo->map.is_iomem) in qxl_bo_vmap_locked()
|
/drivers/gpu/drm/vmwgfx/ |
D | vmwgfx_shader.c | 962 bool is_iomem; in vmw_compat_shader_add() local 990 memcpy(ttm_kmap_obj_virtual(&map, &is_iomem), bytecode, size); in vmw_compat_shader_add() 991 WARN_ON(is_iomem); in vmw_compat_shader_add()
|
D | vmwgfx_ttm_buffer.c | 626 mem->bus.is_iomem = true; in vmw_ttm_io_mem_reserve()
|
/drivers/gpu/drm/radeon/ |
D | radeon_object.c | 242 bool is_iomem; in radeon_bo_kmap() local 255 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
|
D | radeon_ttm.c | 286 mem->bus.is_iomem = !rdev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve() 297 mem->bus.is_iomem = true; in radeon_ttm_io_mem_reserve()
|
/drivers/gpu/drm/amd/amdgpu/ |
D | amdgpu_object.c | 828 bool is_iomem; in amdgpu_bo_kptr() local 830 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr()
|