Searched refs:hive_lock (Results 1 – 3 of 3) sorted by relevance
199 mutex_destroy(&hive->hive_lock); in amdgpu_xgmi_hive_release()370 mutex_init(&hive->hive_lock); in amdgpu_get_xgmi_hive()412 mutex_lock(&hive->hive_lock); in amdgpu_xgmi_set_pstate()447 mutex_unlock(&hive->hive_lock); in amdgpu_xgmi_set_pstate()534 mutex_lock(&hive->hive_lock); in amdgpu_xgmi_add_device()579 mutex_unlock(&hive->hive_lock); in amdgpu_xgmi_add_device()605 mutex_lock(&hive->hive_lock); in amdgpu_xgmi_remove_device()611 mutex_unlock(&hive->hive_lock); in amdgpu_xgmi_remove_device()
35 struct mutex hive_lock; member
4411 down_write_nest_lock(&adev->reset_sem, &hive->hive_lock); in amdgpu_device_lock_adev()4560 mutex_lock(&hive->hive_lock); in amdgpu_device_gpu_recover()4722 mutex_unlock(&hive->hive_lock); in amdgpu_device_gpu_recover()