Searched refs:em_pd (Results 1 – 6 of 6) sorted by relevance
/linux-6.6.21/kernel/power/ |
D | energy_model.c | 76 debugfs_create_file("cpus", 0444, d, dev->em_pd->cpus, in em_debug_create_pd() 79 debugfs_create_file("flags", 0444, d, dev->em_pd, in em_debug_create_pd() 83 for (i = 0; i < dev->em_pd->nr_perf_states; i++) in em_debug_create_pd() 84 em_debug_create_ps(&dev->em_pd->table[i], d); in em_debug_create_pd() 232 cpu_dev->em_pd = pd; in em_create_pd() 235 dev->em_pd = pd; in em_create_pd() 242 struct em_perf_domain *pd = dev->em_pd; in em_cpufreq_update_efficiencies() 291 return dev->em_pd; in em_pd_get() 354 if (dev->em_pd) { in em_dev_register_perf_domain() 398 dev->em_pd->flags |= flags; in em_dev_register_perf_domain() [all …]
|
/linux-6.6.21/drivers/thermal/ |
D | devfreq_cooling.c | 61 struct em_perf_domain *em_pd; member 101 if (dfc->em_pd) { in devfreq_cooling_set_cur_state() 103 freq = dfc->em_pd->table[perf_idx].frequency * 1000; in devfreq_cooling_set_cur_state() 124 static int get_perf_idx(struct em_perf_domain *em_pd, unsigned long freq) in get_perf_idx() argument 128 for (i = 0; i < em_pd->nr_perf_states; i++) { in get_perf_idx() 129 if (em_pd->table[i].frequency == freq) in get_perf_idx() 207 dfc->res_util = dfc->em_pd->table[state].power; in devfreq_cooling_get_requested_power() 219 perf_idx = get_perf_idx(dfc->em_pd, freq / 1000); in devfreq_cooling_get_requested_power() 228 *power = dfc->em_pd->table[perf_idx].power; in devfreq_cooling_get_requested_power() 254 *power = dfc->em_pd->table[perf_idx].power; in devfreq_cooling_state2power() [all …]
|
/linux-6.6.21/kernel/sched/ |
D | topology.c | 301 pd->em_pd = obj; in pd_init() 318 em_pd_nr_perf_states(pd->em_pd)); in perf_domain_debug() 440 nr_ps += em_pd_nr_perf_states(pd->em_pd); in build_perf_domains()
|
D | sched.h | 813 struct em_perf_domain *em_pd; member 3213 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
|
D | fair.c | 7773 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()
|
/linux-6.6.21/include/linux/ |
D | device.h | 730 struct em_perf_domain *em_pd; member
|