Home
last modified time | relevance | path

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

/linux-6.12.1/drivers/gpu/drm/amd/amdgpu/
Damdgpu_aca.c95 const struct aca_smu_funcs *smu_funcs = aca->smu_funcs; in aca_smu_get_valid_aca_count() local
100 if (!smu_funcs || !smu_funcs->get_valid_aca_count) in aca_smu_get_valid_aca_count()
103 return smu_funcs->get_valid_aca_count(adev, type, count); in aca_smu_get_valid_aca_count()
140 const struct aca_smu_funcs *smu_funcs = aca->smu_funcs; in aca_smu_get_valid_aca_banks() local
147 if (!smu_funcs || !smu_funcs->get_valid_aca_bank) in aca_smu_get_valid_aca_banks()
152 max_count = smu_funcs->max_ue_bank_count; in aca_smu_get_valid_aca_banks()
155 max_count = smu_funcs->max_ce_bank_count; in aca_smu_get_valid_aca_banks()
167 ret = smu_funcs->get_valid_aca_bank(adev, type, start + i, &bank); in aca_smu_get_valid_aca_banks()
735 void amdgpu_aca_set_smu_funcs(struct amdgpu_device *adev, const struct aca_smu_funcs *smu_funcs) in amdgpu_aca_set_smu_funcs() argument
739 WARN_ON(aca->smu_funcs); in amdgpu_aca_set_smu_funcs()
[all …]
Damdgpu_aca.h181 const struct aca_smu_funcs *smu_funcs; member
195 void amdgpu_aca_set_smu_funcs(struct amdgpu_device *adev, const struct aca_smu_funcs *smu_funcs);
Damdgpu_ras.c1432 const struct aca_smu_funcs *smu_funcs = adev->aca.smu_funcs; in amdgpu_ras_reset_error_count() local
1446 ((smu_funcs && smu_funcs->set_debug_mode) || in amdgpu_ras_reset_error_count()
4336 const struct aca_smu_funcs *smu_funcs = adev->aca.smu_funcs; in amdgpu_ras_get_aca_debug_mode() local
4342 if ((amdgpu_aca_is_enabled(adev) && smu_funcs && smu_funcs->set_debug_mode) || in amdgpu_ras_get_aca_debug_mode()
4354 const struct aca_smu_funcs *smu_funcs = adev->aca.smu_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()