Searched refs:em_pd (Results 1 – 6 of 6) sorted by relevance
/linux-5.19.10/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() 235 cpu_dev->em_pd = pd; in em_create_pd() 238 dev->em_pd = pd; in em_create_pd() 245 struct em_perf_domain *pd = dev->em_pd; in em_cpufreq_update_efficiencies() 294 return dev->em_pd; in em_pd_get() 357 if (dev->em_pd) { in em_dev_register_perf_domain() 401 dev->em_pd->flags |= flags; in em_dev_register_perf_domain() [all …]
|
/linux-5.19.10/drivers/thermal/ |
D | devfreq_cooling.c | 59 struct em_perf_domain *em_pd; member 99 if (dfc->em_pd) { in devfreq_cooling_set_cur_state() 101 freq = dfc->em_pd->table[perf_idx].frequency * 1000; in devfreq_cooling_set_cur_state() 122 static int get_perf_idx(struct em_perf_domain *em_pd, unsigned long freq) in get_perf_idx() argument 126 for (i = 0; i < em_pd->nr_perf_states; i++) { in get_perf_idx() 127 if (em_pd->table[i].frequency == freq) in get_perf_idx() 205 dfc->res_util = dfc->em_pd->table[state].power; in devfreq_cooling_get_requested_power() 217 perf_idx = get_perf_idx(dfc->em_pd, freq / 1000); in devfreq_cooling_get_requested_power() 226 *power = dfc->em_pd->table[perf_idx].power; in devfreq_cooling_get_requested_power() 252 *power = dfc->em_pd->table[perf_idx].power; in devfreq_cooling_state2power() [all …]
|
/linux-5.19.10/kernel/sched/ |
D | topology.c | 299 pd->em_pd = obj; in pd_init() 316 em_pd_nr_perf_states(pd->em_pd)); in perf_domain_debug() 438 nr_ps += em_pd_nr_perf_states(pd->em_pd); in build_perf_domains()
|
D | sched.h | 775 struct em_perf_domain *em_pd; member 3050 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
|
D | fair.c | 6725 return em_cpu_energy(pd->em_pd, max_util, sum_util, _cpu_cap); in compute_energy()
|
/linux-5.19.10/include/linux/ |
D | device.h | 580 struct em_perf_domain *em_pd; member
|