Searched refs:powercap_control_type (Results 1 – 6 of 6) sorted by relevance
/openbmc/linux/include/linux/ |
H A D | powercap.h | 19 struct powercap_control_type; 41 int (*set_enable) (struct powercap_control_type *, bool mode); 42 int (*get_enable) (struct powercap_control_type *, bool *mode); 43 int (*release) (struct powercap_control_type *); 64 struct powercap_control_type { struct 252 struct powercap_control_type *powercap_register_control_type( 253 struct powercap_control_type *control_type, 265 int powercap_unregister_control_type(struct powercap_control_type *instance); 294 struct powercap_control_type *control_type, 309 int powercap_unregister_zone(struct powercap_control_type *control_type,
|
H A D | intel_rapl.h | 150 struct powercap_control_type *control_type;
|
/openbmc/linux/drivers/powercap/ |
H A D | powercap_sys.c | 16 container_of(n, struct powercap_control_type, dev) 331 struct powercap_control_type *pos = NULL; in control_type_valid() 407 struct powercap_control_type *control_type = in powercap_release() 434 struct powercap_control_type *control_type = in enabled_show() 458 struct powercap_control_type *control_type = in enabled_store() 484 struct powercap_control_type *control_type, in powercap_register_zone() 588 int powercap_unregister_zone(struct powercap_control_type *control_type, in powercap_unregister_zone() 604 struct powercap_control_type *powercap_register_control_type( in powercap_register_control_type() 605 struct powercap_control_type *control_type, in powercap_register_control_type() 644 int powercap_unregister_control_type(struct powercap_control_type *control_type) in powercap_unregister_control_type() [all …]
|
H A D | intel_rapl_tpmi.c | 59 static struct powercap_control_type *tpmi_control_type;
|
H A D | dtpm.c | 37 static struct powercap_control_type *pct;
|
H A D | arm_scmi_powercap.c | 41 static struct powercap_control_type *scmi_top_pcntrl;
|