Home
last modified time | relevance | path

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

/openbmc/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
/openbmc/linux/drivers/powercap/
H A Ddtpm.c52 struct dtpm *dtpm = to_dtpm(pcz); in get_max_power_range_uw() local
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
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()
336 void dtpm_unregister(struct dtpm *dtpm) in dtpm_unregister()
418 struct dtpm *dtpm; in dtpm_setup_virtual() local
[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()
48 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit()
85 static u64 get_pd_power_uw(struct dtpm *dtpm) in get_pd_power_uw()
118 static void pd_release(struct dtpm *dtpm) in pd_release()
184 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()
87 static u64 get_pd_power_uw(struct dtpm *dtpm) in get_pd_power_uw()
112 static int update_pd_power_uw(struct dtpm *dtpm) in update_pd_power_uw()
131 static void pd_release(struct dtpm *dtpm) in pd_release()
242 static int dtpm_cpu_setup(struct dtpm *dtpm, struct device_node *np) in dtpm_cpu_setup()