Searched refs:dpm_policy (Results 1 – 2 of 2) sorted by relevance
3561 struct smu_dpm_policy *dpm_policy; in smu_get_pm_policy_info() local3572 dpm_policy = smu_get_pm_policy(smu, p_type); in smu_get_pm_policy_info()3573 if (!dpm_policy || !dpm_policy->level_mask || !dpm_policy->desc) in smu_get_pm_policy_info()3579 smu_print_dpm_policy(dpm_policy, sysbuf, &offset); in smu_get_pm_policy_info()3607 struct smu_dpm_policy *dpm_policy = NULL; in smu_set_pm_policy() local3619 dpm_policy = smu_get_pm_policy(smu, p_type); in smu_set_pm_policy()3621 if (!dpm_policy || !dpm_policy->level_mask || !dpm_policy->set_policy) in smu_set_pm_policy()3624 if (dpm_policy->current_level == level) in smu_set_pm_policy()3627 ret = dpm_policy->set_policy(smu, level); in smu_set_pm_policy()3630 dpm_policy->current_level = level; in smu_set_pm_policy()
370 char *(*get_desc)(struct smu_dpm_policy *dpm_policy, int level);