Home
last modified time | relevance | path

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

/Linux-v6.1/include/linux/
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-v6.1/drivers/powercap/
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 …]
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()
50 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit()
90 static u64 get_pd_power_uw(struct dtpm *dtpm) in get_pd_power_uw()
123 static void pd_release(struct dtpm *dtpm) in pd_release()
189 static int dtpm_devfreq_setup(struct dtpm *dtpm, struct device_node *np) in dtpm_devfreq_setup()
Ddtpm_cpu.c30 struct dtpm dtpm; member
37 static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm) in to_dtpm_cpu()
42 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()
114 static int update_pd_power_uw(struct dtpm *dtpm) in update_pd_power_uw()
135 static void pd_release(struct dtpm *dtpm) in pd_release()
237 static int dtpm_cpu_setup(struct dtpm *dtpm, struct device_node *np) in dtpm_cpu_setup()