Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/drivers/gpu/drm/ttm/
Dttm_bo_vm.c196 if (bo->mem.bus.is_iomem) in ttm_bo_vm_insert_huge()
206 if (!bo->mem.bus.is_iomem) { in ttm_bo_vm_insert_huge()
334 if (!bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved()
360 if (bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved()
462 bool is_iomem; in ttm_bo_vm_access_kmap() local
468 ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; in ttm_bo_vm_access_kmap()
469 WARN_ON_ONCE(is_iomem); in ttm_bo_vm_access_kmap()
Dttm_bo_util.c101 mem->bus.is_iomem = false; in ttm_mem_io_reserve()
130 if (ret || !mem->bus.is_iomem) in ttm_resource_ioremap()
494 if (!bo->mem.bus.is_iomem) { in ttm_bo_kmap()
/kernel/linux/linux-5.10/drivers/gpu/drm/nouveau/
Dnouveau_bo.h107 bool is_iomem; in nvbo_kmap_obj_iovirtual() local
109 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual()
110 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
Dnouveau_bo.c666 bool is_iomem; in nouveau_bo_wr16() local
667 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16()
671 if (is_iomem) in nouveau_bo_wr16()
680 bool is_iomem; in nouveau_bo_rd32() local
681 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32()
685 if (is_iomem) in nouveau_bo_rd32()
694 bool is_iomem; in nouveau_bo_wr32() local
695 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr32()
699 if (is_iomem) in nouveau_bo_wr32()
1168 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve()
[all …]
/kernel/linux/linux-5.10/drivers/gpu/drm/
Ddrm_gem_vram_helper.c417 bool map, bool *is_iomem) in drm_gem_vram_kmap_locked() argument
434 if (is_iomem) in drm_gem_vram_kmap_locked()
435 *is_iomem = false; in drm_gem_vram_kmap_locked()
439 if (is_iomem) in drm_gem_vram_kmap_locked()
440 return ttm_kmap_obj_virtual(kmap, is_iomem); in drm_gem_vram_kmap_locked()
994 mem->bus.is_iomem = true; in bo_driver_io_mem_reserve()
Ddrm_gem_ttm_helper.c46 if (bo->mem.bus.is_iomem) in drm_gem_ttm_print_info()
/kernel/linux/linux-5.10/include/drm/ttm/
Dttm_bo_api.h505 bool *is_iomem) in ttm_kmap_obj_virtual() argument
507 *is_iomem = !!(map->bo_kmap_type & TTM_BO_MAP_IOMEM_MASK); in ttm_kmap_obj_virtual()
Dttm_resource.h153 bool is_iomem; member
/kernel/linux/linux-5.10/drivers/gpu/drm/qxl/
Dqxl_ttm.c84 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
88 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
Dqxl_object.c157 bool is_iomem; in qxl_bo_kmap() local
169 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in qxl_bo_kmap()
/kernel/linux/linux-5.10/drivers/gpu/drm/vmwgfx/
Dvmwgfx_shader.c969 bool is_iomem; in vmw_compat_shader_add() local
998 memcpy(ttm_kmap_obj_virtual(&map, &is_iomem), bytecode, size); in vmw_compat_shader_add()
999 WARN_ON(is_iomem); in vmw_compat_shader_add()
Dvmwgfx_ttm_buffer.c754 mem->bus.is_iomem = true; in vmw_ttm_io_mem_reserve()
/kernel/linux/linux-5.10/drivers/gpu/drm/radeon/
Dradeon_object.c278 bool is_iomem; in radeon_bo_kmap() local
291 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
Dradeon_ttm.c376 mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve()
386 mem->bus.is_iomem = true; in radeon_ttm_io_mem_reserve()
/kernel/linux/linux-5.10/drivers/gpu/drm/amd/amdgpu/
Damdgpu_object.c820 bool is_iomem; in amdgpu_bo_kptr() local
822 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr()
Damdgpu_ttm.c769 mem->bus.is_iomem = true; in amdgpu_ttm_io_mem_reserve()