Home
last modified time | relevance | path

Searched refs:nr_perf_states (Results 1 – 5 of 5) sorted by relevance

/linux-6.6.21/include/linux/
Denergy_model.h57 int nr_perf_states; member
194 for (i = 0; i < pd->nr_perf_states; i++) { in em_pd_get_efficient_state()
244 ps = &pd->table[pd->nr_perf_states - 1]; in em_cpu_energy()
310 return pd->nr_perf_states; in em_pd_nr_perf_states()
/linux-6.6.21/drivers/powercap/
Ddtpm_cpu.c53 for (i = 0; i < pd->nr_perf_states; i++) { in set_pd_power_limit()
101 for (i = 0; i < pd->nr_perf_states; i++) { in get_pd_power_uw()
125 dtpm->power_max = em->table[em->nr_perf_states - 1].power; in update_pd_power_uw()
221 pd->table[pd->nr_perf_states - 1].frequency); in __dtpm_cpu_setup()
Ddtpm_devfreq.c43 dtpm->power_max = pd->table[pd->nr_perf_states - 1].power; in update_pd_power_uw()
57 for (i = 0; i < pd->nr_perf_states; i++) { in set_pd_power_limit()
103 for (i = 0; i < pd->nr_perf_states; i++) { in get_pd_power_uw()
/linux-6.6.21/kernel/power/
Denergy_model.c83 for (i = 0; i < dev->em_pd->nr_perf_states; i++) in em_debug_create_pd()
186 pd->nr_perf_states = nr_states; in em_create_perf_table()
259 for (i = 0; i < pd->nr_perf_states; i++) { in em_cpufreq_update_efficiencies()
/linux-6.6.21/drivers/thermal/
Ddevfreq_cooling.c128 for (i = 0; i < em_pd->nr_perf_states; i++) { in get_perf_idx()