Searched refs:smu_dpm_ctx (Results 1 – 3 of 3) sorted by relevance
349 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_restore_dpm_user_profile() local369 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in smu_restore_dpm_user_profile()1714 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_enable_umd_pstate() local1716 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()1719 if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { in smu_enable_umd_pstate()1722 smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; in smu_enable_umd_pstate()1732 *level = smu_dpm_ctx->saved_dpm_level; in smu_enable_umd_pstate()1762 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic() local1786 if (smu_dpm_ctx->dpm_level != level) { in smu_adjust_power_state_dynamic()1794 smu_dpm_ctx->dpm_level = level; in smu_adjust_power_state_dynamic()[all …]
388 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_od_edit_dpm_table() local390 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in renoir_od_edit_dpm_table()500 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_print_clk_levels() local513 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()528 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()622 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_get_current_power_state() local624 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()625 !smu_dpm_ctx->dpm_current_power_state) in renoir_get_current_power_state()628 switch (smu_dpm_ctx->dpm_current_power_state->classification.ui_label) { in renoir_get_current_power_state()639 …if (smu_dpm_ctx->dpm_current_power_state->classification.flags & SMU_STATE_CLASSIFICATION_FLAG_BOO… in renoir_get_current_power_state()
582 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_legacy_clk_levels() local597 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()606 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()615 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()683 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_clk_levels() local699 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()708 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()717 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()1933 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_od_edit_dpm_table() local1935 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in vangogh_od_edit_dpm_table()