Lines Matching refs:powercap_zone
22 struct powercap_zone { struct
30 struct powercap_zone *parent; argument
31 struct powercap_zone *children[POWERCAP_MAX_CHILD_ZONES]; argument
38 int powercap_walk_zones(struct powercap_zone *zone, argument
39 int (*f)(struct powercap_zone *zone));
41 struct powercap_zone *powercap_init_zones(void);
46 int powercap_get_max_energy_range_uj(struct powercap_zone *zone, uint64_t *val);
47 int powercap_get_energy_uj(struct powercap_zone *zone, uint64_t *val);
48 int powercap_get_max_power_range_uw(struct powercap_zone *zone, uint64_t *val);
49 int powercap_get_power_uw(struct powercap_zone *zone, uint64_t *val);
50 int powercap_zone_get_enabled(struct powercap_zone *zone, int *mode);
51 int powercap_zone_set_enabled(struct powercap_zone *zone, int mode);