Lines Matching defs:target_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",
633 (target_prof >= ACPU_FREQ_MAX_NUM)) {
635 __func__, curr_prof, target_prof);
639 if (target_prof > acpu_dvfs_sram_buf->support_freq_num)
640 target_prof = acpu_dvfs_sram_buf->support_freq_num;
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);
653 acpu_dvfs_sram_buf->start_prof = target_prof;
664 unsigned int target_prof;
672 target_prof = i;
683 target_prof = i;
686 if (curr_prof == target_prof)
689 if (acpu_dvfs_target(curr_prof, target_prof)) {