Home
last modified time | relevance | path

Searched refs:is_iomem (Results 1 – 25 of 37) sorted by relevance

12

/drivers/gpu/drm/
Ddrm_cache.c221 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()
Ddrm_gem_ttm_helper.c46 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
Ddrm_gem_shmem_helper.c276 if (WARN_ON(map->is_iomem)) { in drm_gem_shmem_vmap_locked()
/drivers/gpu/drm/ttm/
Dttm_bo_vm.c230 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()
Dttm_resource.c42 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()
Dttm_bo_util.c56 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/
Dremoteproc_elf_loader.c181 bool is_iomem = false; local
212 ptr = rproc_da_to_va(rproc, da, memsz, &is_iomem);
222 if (is_iomem)
236 if (is_iomem)
Dimx_rproc.c345 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()
Dremoteproc_coredump.c156 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()
Dwkup_m3_rproc.c92 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
Dingenic_rproc.c124 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
Dremoteproc_core.c196 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()
Dst_slim_rproc.c177 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
Dkeystone_remoteproc.c249 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
Dqcom_q6v5_adsp.c284 static void *adsp_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in adsp_da_to_va() argument
Dqcom_wcnss.c311 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/
Dnouveau_bo.h103 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()
Dnouveau_bo.c661 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/
Dqxl_ttm.c83 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
88 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
Dqxl_object.c177 if (bo->map.is_iomem) in qxl_bo_vmap_locked()
/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c962 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()
Dvmwgfx_ttm_buffer.c626 mem->bus.is_iomem = true; in vmw_ttm_io_mem_reserve()
/drivers/gpu/drm/radeon/
Dradeon_object.c242 bool is_iomem; in radeon_bo_kmap() local
255 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
Dradeon_ttm.c286 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/
Damdgpu_object.c828 bool is_iomem; in amdgpu_bo_kptr() local
830 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr()

12