Searched refs:dtpm_cpu (Results 1 – 2 of 2) sorted by relevance
29 struct dtpm_cpu { struct35 static DEFINE_PER_CPU(struct dtpm_cpu *, dtpm_per_cpu); argument37 static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm) in to_dtpm_cpu()39 return container_of(dtpm, struct dtpm_cpu, dtpm); in to_dtpm_cpu()44 struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm); in set_pd_power_limit() local45 struct em_perf_domain *pd = em_cpu_get(dtpm_cpu->cpu); in set_pd_power_limit()64 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() local96 pd = em_cpu_get(dtpm_cpu->cpu); in get_pd_power_uw()100 freq = cpufreq_quick_get(dtpm_cpu->cpu); in get_pd_power_uw()[all …]
3 obj-$(CONFIG_DTPM_CPU) += dtpm_cpu.o