Lines Matching defs:adev
101 static bool reuse_dmamap(struct amdgpu_device *adev, struct amdgpu_device *bo_adev) in reuse_dmamap()
163 int amdgpu_amdkfd_reserve_mem_limit(struct amdgpu_device *adev, in amdgpu_amdkfd_reserve_mem_limit()
240 void amdgpu_amdkfd_unreserve_mem_limit(struct amdgpu_device *adev, in amdgpu_amdkfd_unreserve_mem_limit()
286 struct amdgpu_device *adev = amdgpu_ttm_adev(bo->tbo.bdev); in amdgpu_amdkfd_release_notify() local
306 create_dmamap_sg_bo(struct amdgpu_device *adev, in create_dmamap_sg_bo()
441 struct amdgpu_device *adev = amdgpu_ttm_adev(pd->tbo.bdev); in vm_validate_pt_pd_bos() local
458 struct amdgpu_device *adev = amdgpu_ttm_adev(pd->tbo.bdev); in vm_update_pds() local
468 static uint64_t get_pte_flags(struct amdgpu_device *adev, struct kgd_mem *mem) in get_pte_flags()
522 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_userptr() local
612 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmamap_sg_bo() local
689 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmaunmap_userptr() local
735 struct amdgpu_device *adev = attachment->adev; in kfd_mem_dmaunmap_sg_bo() local
794 kfd_mem_attach_dmabuf(struct amdgpu_device *adev, struct kgd_mem *mem, in kfd_mem_attach_dmabuf()
827 static int kfd_mem_attach(struct amdgpu_device *adev, struct kgd_mem *mem, in kfd_mem_attach()
1201 struct amdgpu_device *adev = entry->adev; in unmap_bo_from_gpuvm() local
1216 struct amdgpu_device *adev = entry->adev; in update_gpuvm_pte() local
1456 int amdgpu_amdkfd_gpuvm_set_vm_pasid(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_set_vm_pasid()
1477 int amdgpu_amdkfd_gpuvm_acquire_process_vm(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_acquire_process_vm()
1503 void amdgpu_amdkfd_gpuvm_destroy_cb(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_destroy_cb()
1534 void amdgpu_amdkfd_gpuvm_release_process_vm(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_release_process_vm()
1559 struct amdgpu_device *adev = amdgpu_ttm_adev(pd->tbo.bdev); in amdgpu_amdkfd_gpuvm_get_process_page_dir() local
1597 size_t amdgpu_amdkfd_get_available_memory(struct amdgpu_device *adev, in amdgpu_amdkfd_get_available_memory()
1636 struct amdgpu_device *adev, uint64_t va, uint64_t size, in amdgpu_amdkfd_gpuvm_alloc_memory_of_gpu()
1807 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv, in amdgpu_amdkfd_gpuvm_free_memory_of_gpu()
1923 struct amdgpu_device *adev, struct kgd_mem *mem, in amdgpu_amdkfd_gpuvm_map_memory_to_gpu()
2077 struct amdgpu_device *adev, struct kgd_mem *mem, void *drm_priv) in amdgpu_amdkfd_gpuvm_unmap_memory_from_gpu()
2138 struct amdgpu_device *adev, struct kgd_mem *mem, bool intr) in amdgpu_amdkfd_gpuvm_sync_memory()
2162 int amdgpu_amdkfd_map_gtt_bo_to_gart(struct amdgpu_device *adev, struct amdgpu_bo *bo) in amdgpu_amdkfd_map_gtt_bo_to_gart()
2285 int amdgpu_amdkfd_gpuvm_get_vm_fault_info(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_get_vm_fault_info()
2296 int amdgpu_amdkfd_gpuvm_import_dmabuf(struct amdgpu_device *adev, in amdgpu_amdkfd_gpuvm_import_dmabuf()
3014 int amdgpu_amdkfd_get_tile_config(struct amdgpu_device *adev, in amdgpu_amdkfd_get_tile_config()
3033 bool amdgpu_amdkfd_bo_mapped_to_dev(struct amdgpu_device *adev, struct kgd_mem *mem) in amdgpu_amdkfd_bo_mapped_to_dev()