/kernel/linux/linux-6.6/arch/powerpc/platforms/powernv/ |
H A D | opal-powercap.c | 8 #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 D | Makefile | 15 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 D | opal-powercap.c | 8 #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 D | dtpm.h | 10 #include <linux/powercap.h>
|
H A D | intel_rapl.h | 14 #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 D | Makefile | 13 scmi-protocols-y = base.o clock.o perf.o power.o reset.o sensors.o system.o voltage.o powercap.o
|
H A D | protocols.h | 347 DECLARE_SCMI_REGISTER_UNREGISTER(powercap); variable
|
H A D | powercap.c | 417 /* 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 D | intel_rapl.h | 14 #include <linux/powercap.h> 106 * @control_type: Each RAPL interface must have its own powercap
|
/kernel/linux/linux-5.10/drivers/powercap/ |
H A D | intel_rapl_msr.c | 19 #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 D | powercap_sys.c | 11 #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 D | intel_rapl_common.c | 19 #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 D | intel_rapl_msr.c | 19 #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 D | powercap_sys.c | 12 #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 D | arm_scmi_powercap.c | 13 #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 D | dtpm.c | 7 * 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 D | intel_rapl_common.c | 20 #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 D | powernv-cpufreq.c | 408 throttle_attr(powercap, reason[POWERCAP]);
|
/kernel/linux/linux-6.6/drivers/cpufreq/ |
H A D | powernv-cpufreq.c | 408 throttle_attr(powercap, reason[POWERCAP]);
|