Home
last modified time | relevance | path

Searched refs:dtpm_cpu (Results 1 – 2 of 2) sorted by relevance

/OK3568_Linux_fs/kernel/drivers/powercap/
H A Ddtpm_cpu.c30 struct dtpm_cpu { struct
75 struct dtpm_cpu *dtpm_cpu = dtpm->private; in set_pd_power_limit() local
82 pd = em_cpu_get(dtpm_cpu->cpu); in set_pd_power_limit()
98 freq_qos_update_request(&dtpm_cpu->qos_req, freq); in set_pd_power_limit()
108 struct dtpm_cpu *dtpm_cpu = dtpm->private; in get_pd_power_uw() local
114 pd = em_cpu_get(dtpm_cpu->cpu); in get_pd_power_uw()
115 freq = cpufreq_quick_get(dtpm_cpu->cpu); in get_pd_power_uw()
133 struct dtpm_cpu *dtpm_cpu = dtpm->private; in pd_release() local
135 if (freq_qos_request_active(&dtpm_cpu->qos_req)) in pd_release()
136 freq_qos_remove_request(&dtpm_cpu->qos_req); in pd_release()
[all …]
H A DMakefile3 obj-$(CONFIG_DTPM_CPU) += dtpm_cpu.o