/linux/include/linux/ |
A D | dma-buf-map.h | 120 bool is_iomem; member 130 .is_iomem = false, \ 143 map->is_iomem = false; in dma_buf_map_set_vaddr() 157 map->is_iomem = true; in dma_buf_map_set_vaddr_iomem() 174 if (lhs->is_iomem != rhs->is_iomem) in dma_buf_map_is_equal() 176 else if (lhs->is_iomem) in dma_buf_map_is_equal() 194 if (map->is_iomem) in dma_buf_map_is_null() 224 if (map->is_iomem) { in dma_buf_map_clear() 226 map->is_iomem = false; in dma_buf_map_clear() 244 if (dst->is_iomem) in dma_buf_map_memcpy_to() [all …]
|
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);
|
/linux/drivers/gpu/drm/ |
A 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()
|
A D | drm_gem_ttm_helper.c | 46 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
|
/linux/drivers/gpu/drm/ttm/ |
A D | ttm_bo_vm.c | 232 if (!bo->resource->bus.is_iomem) { in ttm_bo_vm_fault_reserved() 252 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()
|
A D | ttm_bo_util.c | 56 mem->bus.is_iomem = false; in ttm_mem_io_reserve() 107 if (dst_map.is_iomem) in ttm_move_memcpy() 353 if (!bo->resource->bus.is_iomem) { in ttm_bo_kmap() 397 if (mem->bus.is_iomem) { in ttm_bo_vmap() 454 if (!map->is_iomem) in ttm_bo_vunmap()
|
A D | ttm_resource.c | 42 res->bus.is_iomem = false; in ttm_resource_init() 331 if (!mem->bus.is_iomem) { in ttm_kmap_iter_linear_io_init() 391 if (iter_io->dmap.is_iomem) in ttm_kmap_iter_linear_io_fini()
|
/linux/drivers/remoteproc/ |
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)
|
A D | imx_rproc.c | 319 size_t len, u64 *sys, bool *is_iomem) in imx_rproc_da_to_sys() argument 332 if (is_iomem) in imx_rproc_da_to_sys() 333 *is_iomem = att->flags & ATT_IOMEM; in imx_rproc_da_to_sys() 343 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 357 if (imx_rproc_da_to_sys(priv, da, len, &sys, is_iomem)) in imx_rproc_da_to_va()
|
A D | remoteproc_coredump.c | 155 bool is_iomem = false; in rproc_copy_segment() local 161 ptr = rproc_da_to_va(rproc, segment->da + offset, size, &is_iomem); in rproc_copy_segment() 168 if (is_iomem) in rproc_copy_segment()
|
A D | remoteproc_internal.h | 87 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem);
|
A D | meson_mx_ao_arc.c | 124 size_t len, bool *is_iomem) in meson_mx_ao_arc_rproc_da_to_va() argument
|
A 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
|
A 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
|
A D | remoteproc_core.c | 194 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem) in rproc_da_to_va() argument 200 ptr = rproc->ops->da_to_va(rproc, da, len, is_iomem); in rproc_da_to_va() 222 if (is_iomem) in rproc_da_to_va() 223 *is_iomem = carveout->is_iomem; in rproc_da_to_va()
|
A 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
|
A 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
|
/linux/drivers/gpu/drm/nouveau/ |
A 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()
|
A D | nouveau_bo.c | 659 bool is_iomem; in nouveau_bo_wr16() local 660 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16() 664 if (is_iomem) in nouveau_bo_wr16() 673 bool is_iomem; in nouveau_bo_rd32() local 674 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32() 678 if (is_iomem) in nouveau_bo_rd32() 687 bool is_iomem; in nouveau_bo_wr32() local 688 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr32() 692 if (is_iomem) in nouveau_bo_wr32() 1099 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve() [all …]
|
/linux/include/drm/ttm/ |
A D | ttm_bo_api.h | 447 bool *is_iomem) in ttm_kmap_obj_virtual() argument 449 *is_iomem = !!(map->bo_kmap_type & TTM_BO_MAP_IOMEM_MASK); in ttm_kmap_obj_virtual()
|
A D | ttm_resource.h | 151 bool is_iomem; member
|
/linux/drivers/gpu/drm/qxl/ |
A 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()
|
/linux/drivers/gpu/drm/vmwgfx/ |
A 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()
|
/linux/drivers/gpu/drm/radeon/ |
A 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()
|
A 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()
|