Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Dpowercap_sys.c160 struct powercap_zone *power_zone = to_powercap_zone(dev); in show_constraint_name() local
283 static int create_constraints(struct powercap_zone *power_zone, in create_constraints()
351 struct powercap_zone *power_zone = to_powercap_zone(dev); in name_show() local
360 struct powercap_zone *power_zone) in create_power_zone_common_attributes()
391 struct powercap_zone *power_zone = to_powercap_zone(dev); in powercap_release() local
429 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_show() local
453 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_store() local
483 struct powercap_zone *power_zone, in powercap_register_zone()
589 struct powercap_zone *power_zone) in powercap_unregister_zone()
H A Dintel_rapl_common.c277 static int get_energy_counter(struct powercap_zone *power_zone, in get_energy_counter()
308 static int release_zone(struct powercap_zone *power_zone) in release_zone()
337 static int set_domain_enable(struct powercap_zone *power_zone, bool mode) in set_domain_enable()
352 static int get_domain_enable(struct powercap_zone *power_zone, bool *mode) in get_domain_enable()
435 static int set_power_limit(struct powercap_zone *power_zone, int cid, in set_power_limit()
455 static int get_current_power_limit(struct powercap_zone *power_zone, int cid, in get_current_power_limit()
476 static int set_time_window(struct powercap_zone *power_zone, int cid, in set_time_window()
493 static int get_time_window(struct powercap_zone *power_zone, int cid, in get_time_window()
514 static const char *get_constraint_name(struct powercap_zone *power_zone, in get_constraint_name()
528 static int get_max_power(struct powercap_zone *power_zone, int cid, u64 *data) in get_max_power()
[all …]
/openbmc/linux/include/linux/
H A Dpowercap.h197 struct powercap_zone *power_zone; member
203 #define POWERCAP_GET_DEV(power_zone) (&power_zone->dev) argument
212 static inline void powercap_set_zone_data(struct powercap_zone *power_zone, in powercap_set_zone_data()
226 static inline void *powercap_get_zone_data(struct powercap_zone *power_zone) in powercap_get_zone_data()
H A Dintel_rapl.h113 struct powercap_zone power_zone; member
169 struct powercap_zone *power_zone; /* keep track of parent zone */ member