Home
last modified time | relevance | path

Searched refs:em_perf_state (Results 1 – 7 of 7) sorted by relevance

/linux-6.15/include/linux/
H A Denergy_model.h24 struct em_perf_state { struct
51 struct em_perf_state state[];
177 int em_dev_compute_costs(struct device *dev, struct em_perf_state *table,
197 em_pd_get_efficient_state(struct em_perf_state *table, in em_pd_get_efficient_state()
203 struct em_perf_state *ps; in em_pd_get_efficient_state()
240 struct em_perf_state *ps; in em_cpu_energy()
334 struct em_perf_state *em_perf_state_from_pd(struct em_perf_domain *pd) in em_perf_state_from_pd()
386 struct em_perf_state *em_perf_state_from_pd(struct em_perf_domain *pd) in em_perf_state_from_pd()
391 int em_dev_compute_costs(struct device *dev, struct em_perf_state *table, in em_dev_compute_costs()
/linux-6.15/kernel/power/
H A Denergy_model.c27 struct em_perf_state *table);
49 struct em_perf_state *table; \
72 struct em_perf_state *table; in em_debug_create_ps()
194 table_size = sizeof(struct em_perf_state) * pd->nr_perf_states; in em_table_alloc()
206 struct em_perf_state *table, int nr_states) in em_init_performance()
280 int em_dev_compute_costs(struct device *dev, struct em_perf_state *table, in em_dev_compute_costs()
332 struct em_perf_state *table, in em_create_perf_table()
676 struct em_perf_state *ps, *new_ps; in em_table_dup()
688 ps_size = sizeof(struct em_perf_state) * pd->nr_perf_states; in em_table_dup()
743 struct em_perf_state *table; in em_check_capacity_update()
[all …]
/linux-6.15/drivers/powercap/
H A Ddtpm_cpu.c45 struct em_perf_state *table; in set_pd_power_limit()
91 struct em_perf_state *table; in get_pd_power_uw()
123 struct em_perf_state *table; in update_pd_power_uw()
194 struct em_perf_state *table; in __dtpm_cpu_setup()
H A Ddtpm_devfreq.c40 struct em_perf_state *table; in update_pd_power_uw()
59 struct em_perf_state *table; in set_pd_power_limit()
100 struct em_perf_state *table; in get_pd_power_uw()
/linux-6.15/drivers/thermal/
H A Dcpufreq_cooling.c92 struct em_perf_state *table; in get_level()
109 struct em_perf_state *table; in cpu_freq_to_power()
130 struct em_perf_state *table; in cpu_power_to_freq()
279 struct em_perf_state *table; in cpufreq_state2power()
399 struct em_perf_state *table; in get_state_freq()
H A Ddevfreq_cooling.c90 struct em_perf_state *table; in devfreq_cooling_set_cur_state()
131 struct em_perf_state *table; in get_perf_idx()
196 struct em_perf_state *table; in devfreq_cooling_get_requested_power()
269 struct em_perf_state *table; in devfreq_cooling_state2power()
294 struct em_perf_state *table; in devfreq_cooling_power2state()
/linux-6.15/Documentation/power/
H A Denergy-model.rst217 contains array 'struct em_perf_state state[]' which is a list of performance
220 existing EM (created during boot). The content in the 'struct em_perf_state'
248 struct em_perf_state *em_perf_state_from_pd(struct em_perf_domain *pd);
250 It returns the 'struct em_perf_state' pointer which is an array of performance
259 There is dedicated API for device drivers to calculate em_perf_state::cost
262 int em_dev_compute_costs(struct device *dev, struct em_perf_state *table,
269 state as well. It updates em_perf_state::flags accordingly.
359 04 struct em_perf_state *table, *new_table;