Searched refs:reset_cntl (Results 1 – 4 of 4) sorted by relevance
77 if (adev->reset_cntl && adev->reset_cntl->get_reset_handler) in amdgpu_reset_prepare_hwcontext()78 reset_handler = adev->reset_cntl->get_reset_handler( in amdgpu_reset_prepare_hwcontext()79 adev->reset_cntl, reset_context); in amdgpu_reset_prepare_hwcontext()83 return reset_handler->prepare_hwcontext(adev->reset_cntl, in amdgpu_reset_prepare_hwcontext()93 if (adev->reset_cntl) in amdgpu_reset_perform_reset()94 reset_handler = adev->reset_cntl->get_reset_handler( in amdgpu_reset_perform_reset()95 adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()99 ret = reset_handler->perform_reset(adev->reset_cntl, reset_context); in amdgpu_reset_perform_reset()103 return reset_handler->restore_hwcontext(adev->reset_cntl, in amdgpu_reset_perform_reset()
167 mutex_lock(&tmp_adev->reset_cntl->reset_lock); in aldebaran_mode2_perform_reset()168 tmp_adev->reset_cntl->active_reset = AMD_RESET_METHOD_MODE2; in aldebaran_mode2_perform_reset()178 &tmp_adev->reset_cntl->reset_work)) in aldebaran_mode2_perform_reset()194 flush_work(&tmp_adev->reset_cntl->reset_work); in aldebaran_mode2_perform_reset()203 mutex_unlock(&tmp_adev->reset_cntl->reset_lock); in aldebaran_mode2_perform_reset()204 tmp_adev->reset_cntl->active_reset = AMD_RESET_METHOD_NONE; in aldebaran_mode2_perform_reset()416 adev->reset_cntl = reset_ctl; in aldebaran_reset_init()423 kfree(adev->reset_cntl); in aldebaran_reset_fini()424 adev->reset_cntl = NULL; in aldebaran_reset_fini()
302 adev->reset_cntl = reset_ctl; in sienna_cichlid_reset_init()309 kfree(adev->reset_cntl); in sienna_cichlid_reset_fini()310 adev->reset_cntl = NULL; in sienna_cichlid_reset_fini()
1038 struct amdgpu_reset_control *reset_cntl; member