Searched defs:power_zone (Results 1 – 4 of 4) sorted by relevance
/linux-6.12.1/drivers/powercap/ |
D | powercap_sys.c | 160 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()
|
D | intel_rapl_common.c | 279 static int get_energy_counter(struct powercap_zone *power_zone, in get_energy_counter() 310 static int release_zone(struct powercap_zone *power_zone) in release_zone() 339 static int set_domain_enable(struct powercap_zone *power_zone, bool mode) in set_domain_enable() 354 static int get_domain_enable(struct powercap_zone *power_zone, bool *mode) in get_domain_enable() 437 static int set_power_limit(struct powercap_zone *power_zone, int cid, in set_power_limit() 457 static int get_current_power_limit(struct powercap_zone *power_zone, int cid, in get_current_power_limit() 478 static int set_time_window(struct powercap_zone *power_zone, int cid, in set_time_window() 495 static int get_time_window(struct powercap_zone *power_zone, int cid, in get_time_window() 516 static const char *get_constraint_name(struct powercap_zone *power_zone, in get_constraint_name() 530 static int get_max_power(struct powercap_zone *power_zone, int cid, u64 *data) in get_max_power() [all …]
|
/linux-6.12.1/include/linux/ |
D | powercap.h | 197 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()
|
D | intel_rapl.h | 113 struct powercap_zone power_zone; member 189 struct powercap_zone *power_zone; /* keep track of parent zone */ member
|