Home
last modified time | relevance | path

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

12

/linux/include/linux/
A Ddma-buf-map.h120 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 Dremoteproc.h334 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 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()
A Ddrm_gem_ttm_helper.c46 if (bo->resource->bus.is_iomem) in drm_gem_ttm_print_info()
/linux/drivers/gpu/drm/ttm/
A Dttm_bo_vm.c232 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 Dttm_bo_util.c56 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 Dttm_resource.c42 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 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)
A Dimx_rproc.c319 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 Dremoteproc_coredump.c155 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 Dremoteproc_internal.h87 void *rproc_da_to_va(struct rproc *rproc, u64 da, size_t len, bool *is_iomem);
A Dmeson_mx_ao_arc.c124 size_t len, bool *is_iomem) in meson_mx_ao_arc_rproc_da_to_va() argument
A 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
A 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
A Dremoteproc_core.c194 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 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
A 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
/linux/drivers/gpu/drm/nouveau/
A 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()
A Dnouveau_bo.c659 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 Dttm_bo_api.h447 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 Dttm_resource.h151 bool is_iomem; member
/linux/drivers/gpu/drm/qxl/
A 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()
/linux/drivers/gpu/drm/vmwgfx/
A 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()
/linux/drivers/gpu/drm/radeon/
A 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()
A 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()

Completed in 43 milliseconds

12