Symbol: dtpm_cpu
drivers/powercap/dtpm_cpu.c
104
freq = cpufreq_quick_get(dtpm_cpu->cpu);
drivers/powercap/dtpm_cpu.c
123
struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm);
drivers/powercap/dtpm_cpu.c
124
struct em_perf_domain *em = em_cpu_get(dtpm_cpu->cpu);
drivers/powercap/dtpm_cpu.c
146
struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm);
drivers/powercap/dtpm_cpu.c
149
if (freq_qos_request_active(&dtpm_cpu->qos_req))
drivers/powercap/dtpm_cpu.c
150
freq_qos_remove_request(&dtpm_cpu->qos_req);
drivers/powercap/dtpm_cpu.c
152
policy = cpufreq_cpu_get(dtpm_cpu->cpu);
drivers/powercap/dtpm_cpu.c
154
for_each_cpu(dtpm_cpu->cpu, policy->related_cpus)
drivers/powercap/dtpm_cpu.c
155
per_cpu(dtpm_per_cpu, dtpm_cpu->cpu) = NULL;
drivers/powercap/dtpm_cpu.c
160
kfree(dtpm_cpu);
drivers/powercap/dtpm_cpu.c
172
struct dtpm_cpu *dtpm_cpu;
drivers/powercap/dtpm_cpu.c
174
dtpm_cpu = per_cpu(dtpm_per_cpu, cpu);
drivers/powercap/dtpm_cpu.c
175
if (dtpm_cpu)
drivers/powercap/dtpm_cpu.c
176
dtpm_update_power(&dtpm_cpu->dtpm);
drivers/powercap/dtpm_cpu.c
183
struct dtpm_cpu *dtpm_cpu;
drivers/powercap/dtpm_cpu.c
185
dtpm_cpu = per_cpu(dtpm_per_cpu, cpu);
drivers/powercap/dtpm_cpu.c
186
if (dtpm_cpu)
drivers/powercap/dtpm_cpu.c
187
return dtpm_update_power(&dtpm_cpu->dtpm);
drivers/powercap/dtpm_cpu.c
194
struct dtpm_cpu *dtpm_cpu;
drivers/powercap/dtpm_cpu.c
201
dtpm_cpu = per_cpu(dtpm_per_cpu, cpu);
drivers/powercap/dtpm_cpu.c
202
if (dtpm_cpu)
drivers/powercap/dtpm_cpu.c
215
dtpm_cpu = kzalloc_obj(*dtpm_cpu);
drivers/powercap/dtpm_cpu.c
216
if (!dtpm_cpu) {
drivers/powercap/dtpm_cpu.c
221
dtpm_init(&dtpm_cpu->dtpm, &dtpm_ops);
drivers/powercap/dtpm_cpu.c
222
dtpm_cpu->cpu = cpu;
drivers/powercap/dtpm_cpu.c
225
per_cpu(dtpm_per_cpu, cpu) = dtpm_cpu;
drivers/powercap/dtpm_cpu.c
227
snprintf(name, sizeof(name), "cpu%d-cpufreq", dtpm_cpu->cpu);
drivers/powercap/dtpm_cpu.c
229
ret = dtpm_register(name, &dtpm_cpu->dtpm, parent);
drivers/powercap/dtpm_cpu.c
236
&dtpm_cpu->qos_req, FREQ_QOS_MAX,
drivers/powercap/dtpm_cpu.c
246
dtpm_unregister(&dtpm_cpu->dtpm);
drivers/powercap/dtpm_cpu.c
247
dtpm_cpu = NULL;
drivers/powercap/dtpm_cpu.c
252
kfree(dtpm_cpu);
drivers/powercap/dtpm_cpu.c
34
static DEFINE_PER_CPU(struct dtpm_cpu *, dtpm_per_cpu);
drivers/powercap/dtpm_cpu.c
36
static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm)
drivers/powercap/dtpm_cpu.c
38
return container_of(dtpm, struct dtpm_cpu, dtpm);
drivers/powercap/dtpm_cpu.c
43
struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm);
drivers/powercap/dtpm_cpu.c
44
struct em_perf_domain *pd = em_cpu_get(dtpm_cpu->cpu);
drivers/powercap/dtpm_cpu.c
66
freq_qos_update_request(&dtpm_cpu->qos_req, freq);
drivers/powercap/dtpm_cpu.c
90
struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm);
drivers/powercap/dtpm_cpu.c
98
pd = em_cpu_get(dtpm_cpu->cpu);