Home
last modified time | relevance | path

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

/openbmc/linux/drivers/powercap/
H A Dintel_rapl_tpmi.c60 static struct powercap_control_type *tpmi_control_type; variable
97 tpmi_control_type = powercap_register_control_type(NULL, "intel-rapl", NULL); in trp_alloc()
98 if (IS_ERR(tpmi_control_type)) { in trp_alloc()
99 ret = PTR_ERR(tpmi_control_type); in trp_alloc()
117 powercap_unregister_control_type(tpmi_control_type); in trp_alloc()
129 powercap_unregister_control_type(tpmi_control_type); in trp_release()
298 trp->priv.control_type = tpmi_control_type; in intel_rapl_tpmi_probe()