Home
last modified time | relevance | path

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

/netbsd/sys/external/bsd/drm2/dist/drm/nouveau/
H A Dnouveau_bo.h112 bool is_iomem; in nvbo_kmap_obj_iovirtual() local
114 &nvbo->kmap, &is_iomem); in nvbo_kmap_obj_iovirtual()
115 WARN_ON_ONCE(ioptr && !is_iomem); in nvbo_kmap_obj_iovirtual()
H A Dnouveau_dma.c46 bool is_iomem; in OUT_RINGp() local
47 u32 *mem = ttm_kmap_obj_virtual(&chan->push.buffer->kmap, &is_iomem); in OUT_RINGp()
49 if (is_iomem) in OUT_RINGp()
H A Dnouveau_bo.c674 bool is_iomem; in nouveau_bo_wr16() local
675 u16 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_wr16()
679 if (is_iomem) in nouveau_bo_wr16()
688 bool is_iomem; in nouveau_bo_rd32() local
689 u32 *mem = ttm_kmap_obj_virtual(&nvbo->kmap, &is_iomem); in nouveau_bo_rd32()
693 if (is_iomem) in nouveau_bo_rd32()
702 bool is_iomem; in nouveau_bo_wr32() local
707 if (is_iomem) in nouveau_bo_wr32()
1541 reg->bus.is_iomem = false; in nouveau_ttm_io_mem_reserve()
1553 reg->bus.is_iomem = !drm->agp.cma; in nouveau_ttm_io_mem_reserve()
[all …]
/netbsd/sys/external/bsd/drm2/dist/drm/ttm/
H A Dttm_bo_vm.c258 if (!bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved()
281 if (bo->mem.bus.is_iomem) { in ttm_bo_vm_fault_reserved()
387 bool is_iomem; in ttm_bo_vm_access_kmap() local
393 ptr = (uint8_t *)ttm_kmap_obj_virtual(&map, &is_iomem) + offset; in ttm_bo_vm_access_kmap()
394 WARN_ON_ONCE(is_iomem); in ttm_bo_vm_access_kmap()
H A Dttm_bo_util.c222 if (ret || !mem->bus.is_iomem) in ttm_mem_reg_ioremap()
751 if (!bo->mem.bus.is_iomem) { in ttm_bo_kmap()
H A Dttm_bo.c1197 mem.bus.is_iomem = false; in ttm_bo_move_buffer()
1838 if (bo->mem.bus.is_iomem) { in ttm_bo_unmap_virtual_locked()
/netbsd/sys/external/bsd/drm2/dist/include/drm/ttm/
H A Dttm_bo_api.h87 bool is_iomem; member
652 bool *is_iomem) in ttm_kmap_obj_virtual() argument
654 *is_iomem = !!(map->bo_kmap_type & TTM_BO_MAP_IOMEM_MASK); in ttm_kmap_obj_virtual()
/netbsd/sys/external/bsd/drm2/dist/drm/qxl/
H A Dqxl_ttm.c128 mem->bus.is_iomem = false; in qxl_ttm_io_mem_reserve()
136 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
141 mem->bus.is_iomem = true; in qxl_ttm_io_mem_reserve()
H A Dqxl_object.c153 bool is_iomem; in qxl_bo_kmap() local
165 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in qxl_bo_kmap()
/netbsd/sys/external/bsd/drm2/ttm/
H A Dttm_bo_vm.c155 if (bo->mem.bus.is_iomem) { in ttm_bo_uvm_fault()
185 (uintmax_t)vaddr, npages, bo, (int)bo->mem.bus.is_iomem, size, in ttm_bo_uvm_fault()
195 if (!bo->mem.bus.is_iomem) { in ttm_bo_uvm_fault()
/netbsd/sys/external/bsd/drm2/amdgpu/
H A Damdgpufb.c174 KASSERT(rbo->tbo.mem.bus.is_iomem); in amdgpufb_drmfb_mmapfb()
/netbsd/sys/external/bsd/drm2/radeon/
H A Dradeondrmkmsfb.c177 KASSERT(rbo->tbo.mem.bus.is_iomem); in radeonfb_drmfb_mmapfb()
/netbsd/sys/external/bsd/drm2/vmwgfx/
H A Dvmwgfxfb.c172 KASSERT(vbo->base.mem.bus.is_iomem); in vmwgfxfb_drmfb_mmapfb()
/netbsd/sys/external/bsd/drm2/dist/drm/vmwgfx/
H A Dvmwgfx_shader.c974 bool is_iomem; in vmw_compat_shader_add() local
1003 memcpy(ttm_kmap_obj_virtual(&map, &is_iomem), bytecode, size); in vmw_compat_shader_add()
1004 WARN_ON(is_iomem); in vmw_compat_shader_add()
H A Dvmwgfx_ttm_buffer.c808 mem->bus.is_iomem = false; in vmw_ttm_io_mem_reserve()
822 mem->bus.is_iomem = true; in vmw_ttm_io_mem_reserve()
/netbsd/sys/external/bsd/drm2/dist/drm/radeon/
H A Dradeon_object.c285 bool is_iomem; in radeon_bo_kmap() local
298 bo->kptr = ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in radeon_bo_kmap()
H A Dradeon_ttm.c428 mem->bus.is_iomem = false; in radeon_ttm_io_mem_reserve()
441 mem->bus.is_iomem = !rdev->ddev->agp->cant_use_aperture; in radeon_ttm_io_mem_reserve()
455 mem->bus.is_iomem = true; in radeon_ttm_io_mem_reserve()
/netbsd/sys/external/bsd/drm2/dist/drm/amd/amdgpu/
H A Damdgpu_object.c817 bool is_iomem; in amdgpu_bo_kptr() local
819 return ttm_kmap_obj_virtual(&bo->kmap, &is_iomem); in amdgpu_bo_kptr()
H A Damdgpu_ttm.c724 mem->bus.is_iomem = false; in amdgpu_ttm_io_mem_reserve()
748 mem->bus.is_iomem = true; in amdgpu_ttm_io_mem_reserve()