Searched refs:dtpm_cpu (Results 1 – 2 of 2) sorted by relevance
28 struct dtpm_cpu { struct34 static DEFINE_PER_CPU(struct dtpm_cpu *, dtpm_per_cpu); argument36 static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm) in to_dtpm_cpu()38 return container_of(dtpm, struct dtpm_cpu, dtpm); in to_dtpm_cpu()43 struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm); in set_pd_power_limit() local44 struct em_perf_domain *pd = em_cpu_get(dtpm_cpu->cpu); in set_pd_power_limit()66 freq_qos_update_request(&dtpm_cpu->qos_req, freq); in set_pd_power_limit()90 struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm); in get_pd_power_uw() local98 pd = em_cpu_get(dtpm_cpu->cpu); in get_pd_power_uw()102 freq = cpufreq_quick_get(dtpm_cpu->cpu); in get_pd_power_uw()[all …]
3 obj-$(CONFIG_DTPM_CPU) += dtpm_cpu.o