Home
last modified time | relevance | path

Searched refs:em_pd (Results 1 – 6 of 6) sorted by relevance

/linux-6.1.9/kernel/power/
Denergy_model.c76 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-6.1.9/drivers/thermal/
Ddevfreq_cooling.c61 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.1.9/kernel/sched/
Dtopology.c299 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()
Dsched.h805 struct em_perf_domain *em_pd; member
3153 #define perf_domain_span(pd) (to_cpumask(((pd)->em_pd->cpus)))
Dfair.c7138 return em_cpu_energy(pd->em_pd, max_util, busy_time, eenv->cpu_cap); in compute_energy()
/linux-6.1.9/include/linux/
Ddevice.h580 struct em_perf_domain *em_pd; member