Searched refs:smu_funcs (Results 1 – 3 of 3) sorted by relevance
95 const struct aca_smu_funcs *smu_funcs = aca->smu_funcs; in aca_smu_get_valid_aca_count() local100 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() local147 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() argument739 WARN_ON(aca->smu_funcs); in amdgpu_aca_set_smu_funcs()[all …]
181 const struct aca_smu_funcs *smu_funcs; member195 void amdgpu_aca_set_smu_funcs(struct amdgpu_device *adev, const struct aca_smu_funcs *smu_funcs);
1432 const struct aca_smu_funcs *smu_funcs = adev->aca.smu_funcs; in amdgpu_ras_reset_error_count() local1446 ((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() local4342 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() local4361 if ((smu_funcs && smu_funcs->set_debug_mode) || (mca_funcs && mca_funcs->mca_set_debug_mode)) in amdgpu_ras_get_error_query_mode()