Home
last modified time | relevance | path

Searched refs:new_index (Results 1 – 4 of 4) sorted by relevance

/linux-4.19.296/drivers/cpuidle/
Dcpuidle-exynos.c65 int new_index = index; in exynos_enter_lowpower() local
69 new_index = drv->safe_state_index; in exynos_enter_lowpower()
71 if (new_index == 0) in exynos_enter_lowpower()
72 return arm_cpuidle_simple_enter(dev, drv, new_index); in exynos_enter_lowpower()
76 return new_index; in exynos_enter_lowpower()
/linux-4.19.296/drivers/cpufreq/
Dcpufreq_stats.c229 int old_index, new_index; in cpufreq_stats_record_transition() local
237 new_index = freq_table_get_index(stats, new_freq); in cpufreq_stats_record_transition()
240 if (old_index == -1 || new_index == -1 || old_index == new_index) in cpufreq_stats_record_transition()
245 stats->last_index = new_index; in cpufreq_stats_record_transition()
246 stats->trans_table[old_index * stats->max_state + new_index]++; in cpufreq_stats_record_transition()
Dpowernv-cpufreq.c742 unsigned int new_index) in powernv_cpufreq_target_index() argument
748 if (unlikely(rebooting) && new_index != get_nominal_index()) in powernv_cpufreq_target_index()
762 freq_data.pstate_id = idx_to_pstate(new_index); in powernv_cpufreq_target_index()
771 gpstate_idx = new_index; in powernv_cpufreq_target_index()
772 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
776 if (gpstates->last_gpstate_idx < new_index) { in powernv_cpufreq_target_index()
787 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
788 gpstate_idx = new_index; in powernv_cpufreq_target_index()
793 new_index); in powernv_cpufreq_target_index()
797 gpstates->highest_lpstate_idx = new_index; in powernv_cpufreq_target_index()
[all …]
/linux-4.19.296/lib/
Dparman.c187 unsigned long new_index; in parman_lsort_item_add() local
196 new_index = parman_lsort_new_index_find(parman, prio); in parman_lsort_item_add()
202 item->index = new_index; in parman_lsort_item_add()