Home
last modified time | relevance | path

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

123

/linux-6.12.1/include/linux/
Diosys-map.h114 bool is_iomem; member
124 .is_iomem = false, \
134 .is_iomem = true, \
186 map->is_iomem = false; in iosys_map_set_vaddr()
200 map->is_iomem = true; in iosys_map_set_vaddr_iomem()
217 if (lhs->is_iomem != rhs->is_iomem) in iosys_map_is_equal()
219 else if (lhs->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()
269 map->is_iomem = false; in iosys_map_clear()
[all …]
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-6.12.1/drivers/gpu/drm/xe/
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()
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()
Dxe_map.h52 if (map->is_iomem) in xe_map_read32()
63 if (map->is_iomem) in xe_map_write32()
Dxe_sa_types.h17 bool is_iomem; member
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-6.12.1/drivers/gpu/drm/
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()
Ddrm_gem_ttm_helper.c48 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
/linux-6.12.1/drivers/gpu/drm/xe/compat-i915-headers/gem/
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-6.12.1/drivers/gpu/drm/ttm/
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()
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()
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-6.12.1/drivers/gpu/drm/nouveau/
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()
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-6.12.1/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)
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()
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()
/linux-6.12.1/drivers/gpu/drm/qxl/
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-6.12.1/include/drm/ttm/
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()
Dttm_resource.h229 bool is_iomem; member
/linux-6.12.1/drivers/gpu/drm/loongson/
Dlsdc_ttm.h37 bool is_iomem; member
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-6.12.1/drivers/gpu/drm/vmwgfx/
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()
/linux-6.12.1/drivers/firmware/tegra/
Divc.c632 if (map->is_iomem) in iosys_map_get_address()
640 if (WARN_ON(map->is_iomem)) in iosys_map_get_vaddr()

123