Home
last modified time | relevance | path

Searched refs:powercap_control_type (Results 1 – 6 of 6) sorted by relevance

/openbmc/linux/include/linux/
H A Dpowercap.h19 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 Dintel_rapl.h150 struct powercap_control_type *control_type;
/openbmc/linux/drivers/powercap/
H A Dpowercap_sys.c16 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 Dintel_rapl_tpmi.c59 static struct powercap_control_type *tpmi_control_type;
H A Ddtpm.c37 static struct powercap_control_type *pct;
H A Darm_scmi_powercap.c41 static struct powercap_control_type *scmi_top_pcntrl;