Searched refs:dtpm (Results 1 - 5 of 5) sorted by relevance
/kernel/linux/linux-6.6/drivers/powercap/ |
H A D | dtpm.c | 20 #include <linux/dtpm.h> 38 static struct dtpm *root; 52 struct dtpm *dtpm = to_dtpm(pcz); in get_max_power_range_uw() local 54 *max_power_uw = dtpm->power_max - dtpm->power_min; in get_max_power_range_uw() 59 static int __get_power_uw(struct dtpm *dtpm, u64 *power_uw) in __get_power_uw() argument 61 struct dtpm *child; in __get_power_uw() 65 if (dtpm in __get_power_uw() 87 __dtpm_rebalance_weight(struct dtpm *dtpm) __dtpm_rebalance_weight() argument 103 __dtpm_sub_power(struct dtpm *dtpm) __dtpm_sub_power() argument 115 __dtpm_add_power(struct dtpm *dtpm) __dtpm_add_power() argument 136 dtpm_update_power(struct dtpm *dtpm) dtpm_update_power() argument 171 struct dtpm *dtpm = to_dtpm(pcz); dtpm_release_zone() local 204 __set_power_limit_uw(struct dtpm *dtpm, int cid, u64 power_limit) __set_power_limit_uw() argument 270 struct dtpm *dtpm = to_dtpm(pcz); set_power_limit_uw() local 319 dtpm_init(struct dtpm *dtpm, struct dtpm_ops *ops) dtpm_init() argument 336 dtpm_unregister(struct dtpm *dtpm) dtpm_unregister() argument 365 dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent) dtpm_register() argument 418 struct dtpm *dtpm; dtpm_setup_virtual() local 481 struct dtpm *dtpm; dtpm_for_each_child() local 618 __dtpm_destroy_hierarchy(struct dtpm *dtpm) __dtpm_destroy_hierarchy() argument [all...] |
H A D | dtpm_devfreq.c | 16 #include <linux/dtpm.h> 24 struct dtpm dtpm; member 29 static struct dtpm_devfreq *to_dtpm_devfreq(struct dtpm *dtpm) in to_dtpm_devfreq() argument 31 return container_of(dtpm, struct dtpm_devfreq, dtpm); in to_dtpm_devfreq() 34 static int update_pd_power_uw(struct dtpm *dtpm) in update_pd_power_uw() argument 36 struct dtpm_devfreq *dtpm_devfreq = to_dtpm_devfreq(dtpm); in update_pd_power_uw() 48 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) set_pd_power_limit() argument 85 get_pd_power_uw(struct dtpm *dtpm) get_pd_power_uw() argument 118 pd_release(struct dtpm *dtpm) pd_release() argument 184 dtpm_devfreq_setup(struct dtpm *dtpm, struct device_node *np) dtpm_devfreq_setup() argument [all...] |
H A D | dtpm_cpu.c | 22 #include <linux/dtpm.h> 29 struct dtpm dtpm; member 36 static struct dtpm_cpu *to_dtpm_cpu(struct dtpm *dtpm) in to_dtpm_cpu() argument 38 return container_of(dtpm, struct dtpm_cpu, dtpm); in to_dtpm_cpu() 41 static u64 set_pd_power_limit(struct dtpm *dtpm, u64 power_limit) in set_pd_power_limit() argument 43 struct dtpm_cpu *dtpm_cpu = to_dtpm_cpu(dtpm); in set_pd_power_limit() 87 get_pd_power_uw(struct dtpm *dtpm) get_pd_power_uw() argument 112 update_pd_power_uw(struct dtpm *dtpm) update_pd_power_uw() argument 131 pd_release(struct dtpm *dtpm) pd_release() argument 242 dtpm_cpu_setup(struct dtpm *dtpm, struct device_node *np) dtpm_cpu_setup() argument [all...] |
/kernel/linux/linux-6.6/include/linux/ |
H A D | dtpm.h | 15 struct dtpm { struct 17 struct dtpm *parent; 29 u64 (*set_power_uw)(struct dtpm *, u64); 30 u64 (*get_power_uw)(struct dtpm *); 31 int (*update_power_uw)(struct dtpm *); 32 void (*release)(struct dtpm *); 41 int (*setup)(struct dtpm *, struct device_node *); 55 static inline struct dtpm *to_dtpm(struct powercap_zone *zone) in to_dtpm() 57 return container_of(zone, struct dtpm, zone); in to_dtpm() 60 int dtpm_update_power(struct dtpm *dtp [all...] |
/kernel/linux/linux-6.6/drivers/soc/rockchip/ |
H A D | dtpm.c | 9 #include <linux/dtpm.h> 64 MODULE_ALIAS("platform:dtpm");
|
Completed in 2 milliseconds