Home
last modified time | relevance | path

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

123

/linux/include/linux/
H A Diosys-map.h114 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 Dremoteproc.h334 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 Dxe_sa.c28 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 Dxe_map.h52 if (map->is_iomem) in xe_map_read32()
63 if (map->is_iomem) in xe_map_write32()
H A Dxe_memirq.c150 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 Dxe_sa_types.h17 bool is_iomem; member
H A Dxe_ttm_stolen_mgr.c287 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 Ddrm_cache.c218 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 Ddrm_gem_ttm_helper.c48 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
/linux/drivers/gpu/drm/xe/compat-i915-headers/gem/
H A Di915_gem_object.h39 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 Dttm_bo_vm.c219 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 Dttm_bo_util.c51 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 Dttm_resource.c298 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 Dnouveau_bo.h96 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 Dnouveau_bo.c722 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 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)
H A 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()
H A Dimx_rproc.c451 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 Dmeson_mx_ao_arc.c124 size_t len, bool *is_iomem) in meson_mx_ao_arc_rproc_da_to_va() argument
/linux/drivers/gpu/drm/qxl/
H A Dqxl_ttm.c81 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 Dttm_bo.h384 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 Dttm_resource.h229 bool is_iomem; member
/linux/drivers/gpu/drm/loongson/
H A Dlsdc_ttm.h37 bool is_iomem; member
H A Dlsdc_ttm.c231 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 Dvmwgfx_shader.c891 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()

123