Lines Matching refs:dtpm
15 struct dtpm { struct
17 struct dtpm *parent; argument
30 u64 (*set_power_uw)(struct dtpm *, u64); argument
31 u64 (*get_power_uw)(struct dtpm *);
32 void (*release)(struct dtpm *);
40 struct dtpm *parent;
60 static inline struct dtpm *to_dtpm(struct powercap_zone *zone) in to_dtpm()
62 return container_of(zone, struct dtpm, zone); in to_dtpm()
65 int dtpm_update_power(struct dtpm *dtpm, u64 power_min, u64 power_max);
69 struct dtpm *dtpm_alloc(struct dtpm_ops *ops);
71 void dtpm_unregister(struct dtpm *dtpm);
73 int dtpm_register(const char *name, struct dtpm *dtpm, struct dtpm *parent);
75 int dtpm_register_cpu(struct dtpm *parent);