Lines Matching defs:tar_prof
188 static int acpu_dvfs_freq_ascend(unsigned int cur_prof, unsigned int tar_prof)
234 if (acpu_dvfs_profile[tar_prof].freq > 800000) {
283 acpu_dvfs_profile[tar_prof].acpu_pll_freq);
285 acpu_dvfs_profile[tar_prof].acpu_pll_frac);
312 acpu_dvfs_profile[tar_prof].acpu_vol_profile,
336 acpu_dvfs_clk_div_cfg(tar_prof, &cpuext_cfg_val, &acpu_ddr_cfg_val);
387 if (acpu_dvfs_profile[tar_prof].freq > 800000)
398 static int acpu_dvfs_freq_descend(unsigned int cur_prof, unsigned int tar_prof)
408 ret = acpu_dvfs_syspll_cfg(tar_prof);
435 mmio_write_32(PMCTRL_ACPUPLLFREQ, acpu_dvfs_profile[tar_prof].acpu_pll_freq);
436 mmio_write_32(PMCTRL_ACPUPLLFRAC, acpu_dvfs_profile[tar_prof].acpu_pll_frac);
452 if (acpu_dvfs_profile[tar_prof].freq > 800000) {
534 if (acpu_dvfs_profile[tar_prof].freq > 800000)
561 acpu_dvfs_clk_div_cfg(tar_prof, &cpuext_cfg_val, &acpu_ddr_cfg_val);
597 acpu_dvfs_profile[tar_prof].acpu_vol_profile,