Searched refs:mca_funcs (Results 1 – 3 of 3) sorted by relevance
218 …amdgpu_mca_smu_init_funcs(struct amdgpu_device *adev, const struct amdgpu_mca_smu_funcs *mca_funcs) in amdgpu_mca_smu_init_funcs() argument222 mca->mca_funcs = mca_funcs; in amdgpu_mca_smu_init_funcs()266 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_mca_smu_set_debug_mode() local268 if (mca_funcs && mca_funcs->mca_set_debug_mode) in amdgpu_mca_smu_set_debug_mode()269 return mca_funcs->mca_set_debug_mode(adev, enable); in amdgpu_mca_smu_set_debug_mode()294 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_mca_smu_get_valid_mca_count() local299 if (mca_funcs && mca_funcs->mca_get_valid_mca_count) in amdgpu_mca_smu_get_valid_mca_count()300 return mca_funcs->mca_get_valid_mca_count(adev, type, count); in amdgpu_mca_smu_get_valid_mca_count()308 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_mca_smu_get_mca_entry() local311 if (!mca_funcs || !mca_funcs->mca_get_mca_entry) in amdgpu_mca_smu_get_mca_entry()[all …]
94 const struct amdgpu_mca_smu_funcs *mca_funcs; member158 …mdgpu_mca_smu_init_funcs(struct amdgpu_device *adev, const struct amdgpu_mca_smu_funcs *mca_funcs);
1431 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_ras_reset_error_count() local1447 (mca_funcs && mca_funcs->mca_set_debug_mode))) in amdgpu_ras_reset_error_count()4337 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_ras_get_aca_debug_mode() local4343 (!amdgpu_aca_is_enabled(adev) && mca_funcs && mca_funcs->mca_set_debug_mode)) in amdgpu_ras_get_aca_debug_mode()4353 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_ras_get_error_query_mode() local4361 if ((smu_funcs && smu_funcs->set_debug_mode) || (mca_funcs && mca_funcs->mca_set_debug_mode)) in amdgpu_ras_get_error_query_mode()