Searched refs:smu_dpm_ctx (Results 1 – 3 of 3) sorted by relevance
366 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_restore_dpm_user_profile() local386 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in smu_restore_dpm_user_profile()1633 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_enable_umd_pstate() local1635 if (!smu->is_apu && !smu_dpm_ctx->dpm_context) in smu_enable_umd_pstate()1638 if (!(smu_dpm_ctx->dpm_level & profile_mode_mask)) { in smu_enable_umd_pstate()1641 smu_dpm_ctx->saved_dpm_level = smu_dpm_ctx->dpm_level; in smu_enable_umd_pstate()1642 smu_dpm_ctx->enable_umd_pstate = true; in smu_enable_umd_pstate()1658 *level = smu_dpm_ctx->saved_dpm_level; in smu_enable_umd_pstate()1659 smu_dpm_ctx->enable_umd_pstate = false; in smu_enable_umd_pstate()1695 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in smu_adjust_power_state_dynamic() local[all …]
379 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_od_edit_dpm_table() local381 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in renoir_od_edit_dpm_table()491 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_print_clk_levels() local504 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()519 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in renoir_print_clk_levels()613 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in renoir_get_current_power_state() local615 if (!smu_dpm_ctx->dpm_context || in renoir_get_current_power_state()616 !smu_dpm_ctx->dpm_current_power_state) in renoir_get_current_power_state()619 switch (smu_dpm_ctx->dpm_current_power_state->classification.ui_label) { in renoir_get_current_power_state()630 …if (smu_dpm_ctx->dpm_current_power_state->classification.flags & SMU_STATE_CLASSIFICATION_FLAG_BOO… in renoir_get_current_power_state()
581 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_legacy_clk_levels() local596 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()605 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()614 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_legacy_clk_levels()682 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_print_clk_levels() local697 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()706 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()715 if (smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL) { in vangogh_print_clk_levels()1795 struct smu_dpm_context *smu_dpm_ctx = &(smu->smu_dpm); in vangogh_od_edit_dpm_table() local1797 if (!(smu_dpm_ctx->dpm_level == AMD_DPM_FORCED_LEVEL_MANUAL)) { in vangogh_od_edit_dpm_table()