Home
last modified time | relevance | path

Searched refs:powercap (Results 1 - 19 of 19) sorted by relevance

/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c8 #define pr_fmt(fmt) "opal-powercap: " fmt
144 struct device_node *powercap, *node; in opal_powercap_init() local
147 powercap = of_find_compatible_node(NULL, NULL, "ibm,opal-powercap"); in opal_powercap_init()
148 if (!powercap) { in opal_powercap_init()
153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
158 powercap_kobj = kobject_create_and_add("powercap", opal_kobj); in opal_powercap_init()
160 pr_warn("Failed to create powercap kobject\n"); in opal_powercap_init()
165 for_each_child_of_node(powercap, node) { in opal_powercap_init()
170 if (!of_property_read_u32(node, "powercap in opal_powercap_init()
[all...]
H A DMakefile15 obj-y += opal-kmsg.o opal-powercap.o opal-psr.o opal-sensor-groups.o
/kernel/linux/linux-5.10/arch/powerpc/platforms/powernv/
H A Dopal-powercap.c8 #define pr_fmt(fmt) "opal-powercap: " fmt
144 struct device_node *powercap, *node; in opal_powercap_init() local
147 powercap = of_find_compatible_node(NULL, NULL, "ibm,opal-powercap"); in opal_powercap_init()
148 if (!powercap) { in opal_powercap_init()
153 pcaps = kcalloc(of_get_child_count(powercap), sizeof(*pcaps), in opal_powercap_init()
158 powercap_kobj = kobject_create_and_add("powercap", opal_kobj); in opal_powercap_init()
160 pr_warn("Failed to create powercap kobject\n"); in opal_powercap_init()
165 for_each_child_of_node(powercap, node) { in opal_powercap_init()
170 if (!of_property_read_u32(node, "powercap in opal_powercap_init()
[all...]
/kernel/linux/linux-6.6/include/linux/
H A Ddtpm.h10 #include <linux/powercap.h>
H A Dintel_rapl.h14 #include <linux/powercap.h>
133 * @control_type: Each RAPL interface must have its own powercap
/kernel/linux/linux-6.6/drivers/firmware/arm_scmi/
H A DMakefile13 scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
H A Dprotocols.h347 DECLARE_SCMI_REGISTER_UNREGISTER(powercap); variable
H A Dpowercap.c417 /* Save the last explicitly set non-zero powercap value */ in __scmi_powercap_cap_set()
431 * Disallow zero as a possible explicitly requested powercap: in scmi_powercap_cap_set()
626 /* Cannot enable with a zero powercap. */ in scmi_powercap_cap_enable_set()
643 * powercap limit requested by other agents. in scmi_powercap_cap_enable_set()
989 DEFINE_SCMI_PROTOCOL_REGISTER_UNREGISTER(powercap, scmi_powercap)
/kernel/linux/linux-5.10/include/linux/
H A Dintel_rapl.h14 #include <linux/powercap.h>
106 * @control_type: Each RAPL interface must have its own powercap
/kernel/linux/linux-5.10/drivers/powercap/
H A Dintel_rapl_msr.c19 #include <linux/powercap.h>
150 pr_debug("failed to register powercap control_type.\n"); in rapl_msr_probe()
154 ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "powercap/rapl:online", in rapl_msr_probe()
H A Dpowercap_sys.c11 #include <linux/powercap.h>
148 /* A list of powercap control_types */
150 /* Mutex to protect list of powercap control_types */
474 ATTRIBUTE_GROUPS(powercap); variable
477 .name = "powercap",
H A Dintel_rapl_common.c19 #include <linux/powercap.h>
70 #define ENERGY_UNIT_SCALE 1000 /* scale from driver unit to powercap unit */
293 * Constraint index used by powercap can be different than power limit (PL)
1193 * exist at all. In this case, we do not show the constraints in powercap.
/kernel/linux/linux-6.6/drivers/powercap/
H A Dintel_rapl_msr.c19 #include <linux/powercap.h>
182 pr_debug("failed to register powercap control_type.\n"); in rapl_msr_probe()
186 ret = cpuhp_setup_state(CPUHP_AP_ONLINE_DYN, "powercap/rapl:online", in rapl_msr_probe()
H A Dpowercap_sys.c12 #include <linux/powercap.h>
149 /* A list of powercap control_types */
151 /* Mutex to protect list of powercap control_types */
474 ATTRIBUTE_GROUPS(powercap); variable
477 .name = "powercap",
H A Darm_scmi_powercap.c13 #include <linux/powercap.h>
332 * scmi_zones_register- Register SCMI powercap zones starting from parent zones
335 * @pr: A reference to the root powercap zones descriptors
337 * When registering SCMI powercap zones with the powercap framework we should
341 * Unfortunately we cannot assume that the array of available SCMI powercap
345 * This function, given the set of SCMI powercap zones to register, takes care
346 * to walk the SCMI powercap zones trees up to the root registering any
356 * leaves in the SCMI powercap zones hierarchy: any non-leaf invalid zone causes
358 * powercap zone
[all...]
H A Ddtpm.c7 * The powercap based Dynamic Thermal Power Management framework
23 #include <linux/powercap.h>
333 * Call the underlying powercap unregister function. That will call
334 * the release callback of the powercap zone.
351 * then the registration will fail. The powercap controller must be
363 * Other negative values are reported back from the powercap framework
529 * tree in the sysfs filesystem under the powercap dtpm entry.
H A Dintel_rapl_common.c20 #include <linux/powercap.h>
94 #define ENERGY_UNIT_SCALE 1000 /* scale from driver unit to powercap unit */
416 * Constraint index used by powercap can be different than power limit (PL)
1447 * exist at all. In this case, we do not show the constraints in powercap.
/kernel/linux/linux-5.10/drivers/cpufreq/
H A Dpowernv-cpufreq.c408 throttle_attr(powercap, reason[POWERCAP]);
/kernel/linux/linux-6.6/drivers/cpufreq/
H A Dpowernv-cpufreq.c408 throttle_attr(powercap, reason[POWERCAP]);

Completed in 21 milliseconds