Home
last modified time | relevance | path

Searched defs:dtpm (Results 1 – 4 of 4) sorted by relevance

/linux/include/linux/
H A Ddtpm.h15 struct dtpm { struct
17 struct dtpm *parent; argument
20 struct dtpm_ops *ops; argument
29 u64 (*set_power_uw)(struct dtpm *, u64); argument
/linux/drivers/powercap/
H A Ddtpm.c52 struct dtpm *dtpm = to_dtpm(pcz); in get_max_power_range_uw() local
59 static int __get_power_uw(struct dtpm *dtpm, u64 *power_uw) in __get_power_uw()
87 static void __dtpm_rebalance_weight(struct dtpm *dtpm) in __dtpm_rebalance_weight()
103 static void __dtpm_sub_power(struct dtpm *dtpm) in __dtpm_sub_power()
115 static void __dtpm_add_power(struct dtpm *dtpm) in __dtpm_add_power()
136 int dtpm_update_power(struct dtpm *dtpm) in dtpm_update_power()
171 struct dtpm *dtpm = to_dtpm(pcz); in dtpm_release_zone() local
204 static int __set_power_limit_uw(struct dtpm *dtpm, int cid, u64 power_limit) in __set_power_limit_uw()
270 struct dtpm *dtpm = to_dtpm(pcz); in set_power_limit_uw() local
319 void dtpm_init(struct dtpm *dtpm, struct dtpm_ops *ops) in dtpm_init()
[all …]
H A Ddtpm_devfreq.c24 struct dtpm dtpm; member
29 static struct dtpm_devfreq *to_dtpm_devfreq(struct dtpm *dtpm) in to_dtpm_devfreq()
34 static int update_pd_power_uw(struct dtpm *dtpm) in update_pd_power_uw()
53 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit()
93 static u64 get_pd_power_uw(struct dtpm *dtpm) in get_pd_power_uw()
130 static void pd_release(struct dtpm *dtpm) in pd_release()
196 static int dtpm_devfreq_setup(struct dtpm *dtpm, struct device_node *np) in dtpm_devfreq_setup()
H A Ddtpm_cpu.c29 struct dtpm dtpm; member
36 static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm) in to_dtpm_cpu()
41 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit()
88 static u64 get_pd_power_uw(struct dtpm *dtpm) in get_pd_power_uw()
119 static int update_pd_power_uw(struct dtpm *dtpm) in update_pd_power_uw()
142 static void pd_release(struct dtpm *dtpm) in pd_release()
257 static int dtpm_cpu_setup(struct dtpm *dtpm, struct device_node *np) in dtpm_cpu_setup()