Home
last modified time | relevance | path

Searched refs:mca_funcs (Results 1 – 3 of 3) sorted by relevance

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_mca.c218 …amdgpu_mca_smu_init_funcs(struct amdgpu_device *adev, const struct amdgpu_mca_smu_funcs *mca_funcs) in amdgpu_mca_smu_init_funcs() argument
222 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() local
268 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() local
299 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() local
311 if (!mca_funcs || !mca_funcs->mca_get_mca_entry) in amdgpu_mca_smu_get_mca_entry()
[all …]
Damdgpu_mca.h94 const struct amdgpu_mca_smu_funcs *mca_funcs; member
158 …mdgpu_mca_smu_init_funcs(struct amdgpu_device *adev, const struct amdgpu_mca_smu_funcs *mca_funcs);
Damdgpu_ras.c1431 const struct amdgpu_mca_smu_funcs *mca_funcs = adev->mca.mca_funcs; in amdgpu_ras_reset_error_count() local
1447 (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() local
4343 (!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() local
4361 if ((smu_funcs && smu_funcs->set_debug_mode) || (mca_funcs && mca_funcs->mca_set_debug_mode)) in amdgpu_ras_get_error_query_mode()