Lines Matching refs:curr_prof
622 int acpu_dvfs_target(unsigned int curr_prof, unsigned int target_prof) in acpu_dvfs_target() argument
626 if (curr_prof == target_prof) { in acpu_dvfs_target()
628 __func__, curr_prof); in acpu_dvfs_target()
632 if ((curr_prof >= ACPU_FREQ_MAX_NUM) || in acpu_dvfs_target()
635 __func__, curr_prof, target_prof); in acpu_dvfs_target()
642 if (target_prof < curr_prof) in acpu_dvfs_target()
643 ret = acpu_dvfs_freq_descend(curr_prof, target_prof); in acpu_dvfs_target()
644 else if (target_prof > curr_prof) in acpu_dvfs_target()
645 ret = acpu_dvfs_freq_ascend(curr_prof, target_prof); in acpu_dvfs_target()
663 unsigned int curr_prof; in acpu_dvfs_set_freq() local
682 curr_prof = 0; in acpu_dvfs_set_freq()
686 if (curr_prof == target_prof) in acpu_dvfs_set_freq()
689 if (acpu_dvfs_target(curr_prof, target_prof)) { in acpu_dvfs_set_freq()