/linux/include/linux/ |
H A D | iosys-map.h | 114 bool is_iomem; member 124 .is_iomem = false, \ 134 .is_iomem = true, \ 200 map->is_iomem = true; in iosys_map_set_vaddr_iomem() 217 if (lhs->is_iomem != rhs->is_iomem) in iosys_map_is_equal() 237 if (map->is_iomem) in iosys_map_is_null() 267 if (map->is_iomem) { in iosys_map_clear() 289 if (dst->is_iomem) in iosys_map_memcpy_to() 309 if (src->is_iomem) in iosys_map_memcpy_from() 325 if (map->is_iomem) in iosys_map_incr() [all …]
|
H A D | remoteproc.h | 334 bool is_iomem; member 393 void * (*da_to_va)(struct rproc *rproc, u64 da, size_t len, bool *is_iomem); 692 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem);
|
/linux/drivers/gpu/drm/xe/ |
H A D | xe_sa.c | 28 if (sa_manager->is_iomem) in xe_sa_bo_manager_fini() 59 sa_manager->is_iomem = bo->vmap.is_iomem; in xe_sa_bo_manager_init() 64 if (bo->vmap.is_iomem) { in xe_sa_bo_manager_init() 101 if (!sa_manager->bo->vmap.is_iomem) in xe_sa_bo_flush_write()
|
H A D | xe_map.h | 52 if (map->is_iomem) in xe_map_read32() 63 if (map->is_iomem) in xe_map_write32()
|
H A D | xe_memirq.c | 150 memirq_assert(memirq, !memirq->source.is_iomem); in memirq_alloc_pages() 151 memirq_assert(memirq, !memirq->status.is_iomem); in memirq_alloc_pages() 152 memirq_assert(memirq, !memirq->mask.is_iomem); in memirq_alloc_pages() 400 memirq_assert(memirq, !memirq->source.is_iomem); in xe_memirq_handler()
|
H A D | xe_sa_types.h | 17 bool is_iomem; member
|
H A D | xe_ttm_stolen_mgr.c | 287 mem->bus.is_iomem = true; in __xe_ttm_stolen_io_mem_reserve_bar2() 309 mem->bus.is_iomem = true; in __xe_ttm_stolen_io_mem_reserve_stolen()
|
/linux/drivers/gpu/drm/ |
H A D | drm_cache.c | 218 if (!dst->is_iomem && !src->is_iomem) { in memcpy_fallback() 220 } else if (!src->is_iomem) { in memcpy_fallback() 222 } else if (!dst->is_iomem) { in memcpy_fallback() 315 __drm_memcpy_from_wc(dst->is_iomem ? in drm_memcpy_from_wc() 318 src->is_iomem ? in drm_memcpy_from_wc()
|
H A D | drm_gem_ttm_helper.c | 48 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
|
/linux/drivers/gpu/drm/xe/compat-i915-headers/gem/ |
H A D | i915_gem_object.h | 39 bool is_iomem; in i915_gem_object_read_from_page() local 51 src = ttm_kmap_obj_virtual(&map, &is_iomem); in i915_gem_object_read_from_page() 53 if (is_iomem) in i915_gem_object_read_from_page()
|
/linux/drivers/gpu/drm/ttm/ |
H A D | ttm_bo_vm.c | 219 if (!bo->resource->bus.is_iomem) { in ttm_bo_vm_fault_reserved() 246 if (bo->resource->bus.is_iomem) { in ttm_bo_vm_fault_reserved() 385 bool is_iomem; in ttm_bo_vm_access_kmap() local 391 ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; in ttm_bo_vm_access_kmap() 392 WARN_ON_ONCE(is_iomem); in ttm_bo_vm_access_kmap()
|
H A D | ttm_bo_util.c | 51 mem->bus.is_iomem = false; in ttm_mem_io_reserve() 102 if (dst_map.is_iomem) in ttm_move_memcpy() 413 if (!bo->resource->bus.is_iomem) { in ttm_bo_kmap() 480 if (mem->bus.is_iomem) { in ttm_bo_vmap() 547 if (!map->is_iomem) in ttm_bo_vunmap()
|
H A D | ttm_resource.c | 298 res->bus.is_iomem = false; in ttm_resource_init() 779 if (!mem->bus.is_iomem) { in ttm_kmap_iter_linear_io_init() 837 if (iter_io->dmap.is_iomem) in ttm_kmap_iter_linear_io_fini()
|
/linux/drivers/gpu/drm/nouveau/ |
H A D | nouveau_bo.h | 96 bool is_iomem; in nvbo_kmap_obj_iovirtual() local 98 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual() 99 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
|
H A D | nouveau_bo.c | 722 bool is_iomem; in nouveau_bo_wr16() local 723 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16() 727 if (is_iomem) in nouveau_bo_wr16() 736 bool is_iomem; in nouveau_bo_rd32() local 737 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32() 741 if (is_iomem) in nouveau_bo_rd32() 750 bool is_iomem; in nouveau_bo_wr32() local 751 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr32() 755 if (is_iomem) in nouveau_bo_wr32() 1191 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() [all …]
|
/linux/drivers/remoteproc/ |
H A 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)
|
H A 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()
|
H A D | imx_rproc.c | 451 size_t len, u64 *sys, bool *is_iomem) in imx_rproc_da_to_sys() argument 475 if (is_iomem) in imx_rproc_da_to_sys() 476 *is_iomem = att->flags & ATT_IOMEM; in imx_rproc_da_to_sys() 486 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 500 if (imx_rproc_da_to_sys(priv, da, len, &sys, is_iomem)) in imx_rproc_da_to_va()
|
H A D | meson_mx_ao_arc.c | 124 size_t len, bool *is_iomem) in meson_mx_ao_arc_rproc_da_to_va() argument
|
/linux/drivers/gpu/drm/qxl/ |
H A D | qxl_ttm.c | 81 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve() 86 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
|
/linux/include/drm/ttm/ |
H A D | ttm_bo.h | 384 bool *is_iomem) in ttm_kmap_obj_virtual() argument 386 *is_iomem = !!(map->bo_kmap_type & TTM_BO_MAP_IOMEM_MASK); in ttm_kmap_obj_virtual()
|
H A D | ttm_resource.h | 229 bool is_iomem; member
|
/linux/drivers/gpu/drm/loongson/ |
H A D | lsdc_ttm.h | 37 bool is_iomem; member
|
H A D | lsdc_ttm.c | 231 mem->bus.is_iomem = true; in lsdc_bo_reserve_io_mem() 376 lbo->kptr = ttm_kmap_obj_virtual(&lbo->kmap, &lbo->is_iomem); in lsdc_bo_kmap() 394 if (lbo->is_iomem) in lsdc_bo_clear()
|
/linux/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_shader.c | 891 bool is_iomem; in vmw_compat_shader_add() local 920 memcpy(ttm_kmap_obj_virtual(&map, &is_iomem), bytecode, size); in vmw_compat_shader_add() 921 WARN_ON(is_iomem); in vmw_compat_shader_add()
|