Searched refs:target_prof (Results 1 – 1 of 1) sorted by relevance
622 int acpu_dvfs_target(unsigned int curr_prof, unsigned int target_prof) in acpu_dvfs_target() argument626 if (curr_prof == target_prof) { in acpu_dvfs_target()633 (target_prof >= ACPU_FREQ_MAX_NUM)) { in acpu_dvfs_target()635 __func__, curr_prof, target_prof); in acpu_dvfs_target()639 if (target_prof > acpu_dvfs_sram_buf->support_freq_num) in acpu_dvfs_target()640 target_prof = acpu_dvfs_sram_buf->support_freq_num; 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()[all …]