Searched defs:power_zone (Results 1 – 4 of 4) sorted by relevance
/linux-6.1.9/drivers/powercap/ |
D | powercap_sys.c | 159 struct powercap_zone *power_zone = to_powercap_zone(dev); in show_constraint_name() local 282 static int create_constraints(struct powercap_zone *power_zone, in create_constraints() 350 struct powercap_zone *power_zone = to_powercap_zone(dev); in name_show() local 359 struct powercap_zone *power_zone) in create_power_zone_common_attributes() 390 struct powercap_zone *power_zone = to_powercap_zone(dev); in powercap_release() local 428 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_show() local 452 struct powercap_zone *power_zone = to_powercap_zone(dev); in enabled_store() local 482 struct powercap_zone *power_zone, in powercap_register_zone() 584 struct powercap_zone *power_zone) in powercap_unregister_zone()
|
D | intel_rapl_common.c | 167 static int get_energy_counter(struct powercap_zone *power_zone, in get_energy_counter() 198 static int release_zone(struct powercap_zone *power_zone) in release_zone() 227 static int set_domain_enable(struct powercap_zone *power_zone, bool mode) in set_domain_enable() 243 static int get_domain_enable(struct powercap_zone *power_zone, bool *mode) in get_domain_enable() 327 static int set_power_limit(struct powercap_zone *power_zone, int cid, in set_power_limit() 372 static int get_current_power_limit(struct powercap_zone *power_zone, int cid, in get_current_power_limit() 414 static int set_time_window(struct powercap_zone *power_zone, int cid, in set_time_window() 445 static int get_time_window(struct powercap_zone *power_zone, int cid, in get_time_window() 488 static const char *get_constraint_name(struct powercap_zone *power_zone, in get_constraint_name() 502 static int get_max_power(struct powercap_zone *power_zone, int id, u64 *data) in get_max_power() [all …]
|
/linux-6.1.9/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 | 94 struct powercap_zone power_zone; member 147 struct powercap_zone *power_zone; /* keep track of parent zone */ member
|