Lines Matching defs:curr_prof
622 int acpu_dvfs_target(unsigned int curr_prof, unsigned int target_prof)
626 if (curr_prof == target_prof) {
627 INFO("%s: target_prof is equal curr_prof: is %d!\n",
628 __func__, curr_prof);
632 if ((curr_prof >= ACPU_FREQ_MAX_NUM) ||
635 __func__, curr_prof, target_prof);
642 if (target_prof < curr_prof)
643 ret = acpu_dvfs_freq_descend(curr_prof, target_prof);
644 else if (target_prof > curr_prof)
645 ret = acpu_dvfs_freq_ascend(curr_prof, target_prof);
663 unsigned int curr_prof;
682 curr_prof = 0;
686 if (curr_prof == target_prof)
689 if (acpu_dvfs_target(curr_prof, target_prof)) {