Searched defs:power_zone (Results 1 - 3 of 3) sorted by relevance
/linux-4.4.14/include/linux/ |
H A D | powercap.h | 210 struct powercap_zone *power_zone; member in struct:powercap_zone_constraint 225 static inline void powercap_set_zone_data(struct powercap_zone *power_zone, powercap_set_zone_data() argument 239 static inline void *powercap_get_zone_data(struct powercap_zone *power_zone) powercap_get_zone_data() argument
|
/linux-4.4.14/drivers/powercap/ |
H A D | powercap_sys.c | 171 struct powercap_zone *power_zone = to_powercap_zone(dev); show_constraint_name() local 295 static int create_constraints(struct powercap_zone *power_zone, create_constraints() argument 363 struct powercap_zone *power_zone = to_powercap_zone(dev); name_show() local 403 struct powercap_zone *power_zone = to_powercap_zone(dev); powercap_release() local 441 struct powercap_zone *power_zone = to_powercap_zone(dev); enabled_show() local 465 struct powercap_zone *power_zone = to_powercap_zone(dev); enabled_store() local 371 create_power_zone_common_attributes( struct powercap_zone *power_zone) create_power_zone_common_attributes() argument 494 powercap_register_zone( struct powercap_zone *power_zone, struct powercap_control_type *control_type, const char *name, struct powercap_zone *parent, const struct powercap_zone_ops *ops, int nr_constraints, struct powercap_zone_constraint_ops *const_ops) powercap_register_zone() argument 594 powercap_unregister_zone(struct powercap_control_type *control_type, struct powercap_zone *power_zone) powercap_unregister_zone() argument
|
H A D | intel_rapl.c | 156 struct powercap_zone power_zone; member in struct:rapl_domain 179 struct powercap_zone *power_zone; /* keep track of parent zone */ member in struct:rapl_package 289 static int get_energy_counter(struct powercap_zone *power_zone, u64 *energy_raw) get_energy_counter() argument 319 static int release_zone(struct powercap_zone *power_zone) release_zone() argument 354 static int set_domain_enable(struct powercap_zone *power_zone, bool mode) set_domain_enable() argument 370 static int get_domain_enable(struct powercap_zone *power_zone, bool *mode) get_domain_enable() argument 426 static int set_power_limit(struct powercap_zone *power_zone, int id, set_power_limit() argument 465 static int get_current_power_limit(struct powercap_zone *power_zone, int id, get_current_power_limit() argument 496 static int set_time_window(struct powercap_zone *power_zone, int id, set_time_window() argument 518 static int get_time_window(struct powercap_zone *power_zone, int id, u64 *data) get_time_window() argument 544 static const char *get_constraint_name(struct powercap_zone *power_zone, int id) get_constraint_name() argument 556 static int get_max_power(struct powercap_zone *power_zone, int id, get_max_power() argument 1177 struct powercap_zone *power_zone = NULL; rapl_package_register_powercap() local
|
Completed in 108 milliseconds