/openbmc/openbmc-test-automation/lib/ |
H A D | energy_scale_utils.robot | 2 Documentation Utilities for power management tests. 16 Get System Power Cap Limit 17 [Documentation] Get the allowed MAX and MIN power limit of the chassis. 19 # GET request of /redfish/v1/Chassis/chassis/EnvironmentMetrics | grep -A5 Power 32 DCMI Power Get Limits 33 [Documentation] Run dcmi power get_limit and return values as a 36 # This keyword packages the five lines returned by dcmi power get_limit 38 # Current Limit State: No Active Power Limit 39 # Exception actions: Hard Power Off & Log Event to SEL 40 # Power Limit: 500 Watts [all …]
|
/openbmc/openbmc-test-automation/redfish/extended/ |
H A D | test_escale_base.robot | 28 # The power limits are documented in 29 # open-power/witherspoon-xml/master/witherspoon.xml. 36 [Documentation] Run base power tests with DCMI power monitoring off. 39 Deactivate DCMI Power And Verify 40 Verify Power Limits 44 [Documentation] Run base power tests with DCMI power monitoring on. 47 Activate DCMI Power And Verify 48 Verify Power Limits 51 Escale Power Setting Via REST And Verify 52 [Documentation] Set power via REST and check using IPMI. [all …]
|
/openbmc/qemu/tests/qemu-iotests/ |
H A D | 204 | 6 # Copyright (C) 2016-2018 Red Hat, Inc. 55 $QEMU_IO -c "write -P 11 0 $size" "$TEST_IMG.base" | _filter_qemu_io 56 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 57 $QEMU_IO -c "write -P 22 0 110M" "$TEST_IMG" | _filter_qemu_io 59 # Limited to 64k max-transfer 61 echo "== constrained alignment and max-transfer ==" 62 limits=align=4k,max-transfer=64k 63 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 64 -c "write -P 33 1000 128k" -c "read -P 33 1000 128k" | _filter_qemu_io 67 echo "== write zero with constrained max-transfer ==" [all …]
|
H A D | 177 | 6 # Copyright (C) 2016-2018 Red Hat, Inc. 54 $QEMU_IO -c "write -P 11 0 $size" "$TEST_IMG.base" | _filter_qemu_io 55 _make_test_img -b "$TEST_IMG.base" -F $IMGFMT 56 $QEMU_IO -c "write -P 22 0 $size" "$TEST_IMG" | _filter_qemu_io 58 # Limited to 64k max-transfer 60 echo "== constrained alignment and max-transfer ==" 61 limits=align=4k,max-transfer=64k 62 $QEMU_IO -c "open -o $options,$limits blkdebug::$TEST_IMG" \ 63 -c "write -P 33 1000 128k" -c "read -P 33 1000 128k" | _filter_qemu_io 66 echo "== write zero with constrained max-transfer ==" [all …]
|
H A D | 177.out | 11 == constrained alignment and max-transfer == 17 == write zero with constrained max-transfer == 21 == non-power-of-2 write zeroes limits == 25 == non-power-of-2 discard limits ==
|
H A D | 204.out | 11 == constrained alignment and max-transfer == 17 == write zero with constrained max-transfer == 21 == non-power-of-2 write zeroes limits == 25 == non-power-of-2 discard limits ==
|
/openbmc/linux/drivers/platform/x86/ |
H A D | intel_ips.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2009-2010 Intel Corporation 10 * Some Intel Ibex Peak based platforms support so-called "intelligent 11 * power sharing", which allows the CPU and GPU to cooperate to maximize 14 * power statistics in the platform, and initializes power monitoring 17 * by tracking power and thermal budget; secondarily it can boost turbo 18 * performance by allocating more power or thermal budget to the CPU or GPU 22 * thermal headroom is available, the CPU and/or GPU power clamps may be 34 * - dual MCP configs 37 * - handle CPU hotplug [all …]
|
/openbmc/openpower-occ-control/ |
H A D | powercap.hpp | 9 #include <xyz/openbmc_project/Control/Power/CapLimits/server.hpp> 29 namespace Base = sdbusplus::xyz::openbmc_project::Control::Power::server; 56 /** @brief Loads any saved power cap data */ 62 /** @brief Save Power Mode data to persistent file 64 * @param[in] softMin - soft minimum power cap in Watts 65 * @param[in] hardMin - hard minimum power cap in Watts 66 * @param[in] max - maximum power cap in Watts 78 /** @brief Return the power cap limits 80 * @param[out] softMin - soft minimum power cap in Watts 81 * @param[out] hardMin - hard minimum power cap in Watts [all …]
|
/openbmc/linux/drivers/powercap/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 3 # Generic power capping sysfs interface configuration 9 The power capping sysfs interface allows kernel subsystems to expose power 12 power zones representing parts of the system that can be subject to power 29 This enables support for the Intel Running Average Power Limit (RAPL) 30 technology via MSR interface, which allows power limits to be enforced 35 controller, CPU core (Power Plane 0), graphics uncore (Power Plane 44 This enables support for the Intel Running Average Power Limit (RAPL) 45 technology via TPMI interface, which allows power limits to be enforced 59 CPUs for power capping. Idle period can be injected [all …]
|
/openbmc/linux/Documentation/hwmon/ |
H A D | stpddc60.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 Addresses scanned: - 14 Datasheet: https://flexpowermodules.com/documents/fpm-techspec-bmr481 20 ----------- 26 Documentation/hwmon/pmbus.rst and Documentation.hwmon/pmbus-core for details 31 ----------- 33 This driver does not auto-detect devices. You will have to instantiate the 34 devices explicitly. Please see Documentation/i2c/instantiating-devices.rst for 37 The vout under- and over-voltage limits are set in relation to the commanded 39 in 50mV steps. This means that the absolute values of the limits will change [all …]
|
H A D | ltc2992.rst | 1 .. SPDX-License-Identifier: GPL-2.0 9 Datasheet: https://www.analog.com/media/en/technical-documentation/data-sheets/ltc2992.pdf 15 ----------- 17 This driver supports hardware monitoring for Linear Technology LTC2992 power monitor. 19 LTC2992 is a rail-to-rail system monitor that measures current, 20 voltage, and power of two supplies. 27 ------------- 29 The following attributes are supported. Limits are read-write, 30 all other attributes are read-only. 50 powerX_input Measured power. [all …]
|
H A D | pmbus.rst | 12 Addresses scanned: - 23 Addresses scanned: - 27 https://www.onsemi.com/pub_link/Collateral/ADP4000-D.PDF 29 https://www.onsemi.com/pub_link/Collateral/NCP4200-D.PDF 31 https://www.onsemi.com/pub_link/Collateral/JUNE%202009-%20REV.%200.PDF 33 * Lineage Power 37 Addresses scanned: - 55 Addresses scanned: - 73 Addresses scanned: - 83 Addresses scanned: - [all …]
|
/openbmc/linux/include/linux/ |
H A D | intel_rapl.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 25 RAPL_DOMAIN_PP0, /* core power plane */ 57 PL1_ENABLE, /* power limit 1, aka long term */ 59 PL2_ENABLE, /* power limit 2, aka short term, instantaneous */ 61 PL4_ENABLE, /* power limit 4, aka max peak power */ 138 * @reg_unit: Register for getting energy/power/time unit. 140 * @limits: Number of power limits supported by each domain. 154 int limits[RAPL_DOMAIN_MAX]; member 161 /* maximum rapl package domain name: package-%d-die-%d */ 165 unsigned int id; /* logical die id, equals physical 1-die systems */ [all …]
|
/openbmc/linux/drivers/net/ipa/ |
H A D | ipa_data.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved. 4 * Copyright (C) 2019-2023 Linaro Ltd. 18 * Boot-time configuration data is used to define the configuration of the 22 * channels, memory, power and so on are allocated and used for the 26 * configuration data defines the number (or limits of the number) of various 41 * together, establishing the endpoint_id->(EE, channel_id) mapping. 52 /** enum ipa_qsb_master_id - array index for IPA QSB configuration data */ 59 * struct ipa_qsb_data - Qualcomm System Bus configuration data 62 * @max_reads_beats: Max outstanding read bytes in 8-byte "beats" (if non-zero) [all …]
|
/openbmc/linux/Documentation/admin-guide/pm/ |
H A D | intel_pstate.rst | 1 .. SPDX-License-Identifier: GPL-2.0 22 Documentation/admin-guide/pm/cpufreq.rst if you have not done that yet.] 24 For the processors supported by ``intel_pstate``, the P-state concept is broader 27 information about that). For this reason, the representation of P-states used 32 ``intel_pstate`` maps its internal representation of P-states to frequencies too 38 Since the hardware P-state selection interface used by ``intel_pstate`` is 43 time the corresponding CPU is taken offline and need to be re-initialized when 47 only way to pass early-configuration-time parameters to it is via the kernel 66 ----------- 69 hardware-managed P-states (HWP) support. If it works in this mode, the [all …]
|
/openbmc/u-boot/drivers/power/regulator/ |
H A D | Kconfig | 4 ---help--- 6 UCLASS_REGULATOR - designed to provide a common API for basic regulator's 10 - 'include/power/pmic.h' 11 - 'include/power/regulator.h' 12 - 'drivers/power/pmic/pmic-uclass.c' 13 - 'drivers/power/pmic/regulator-uclass.c' 22 ---help--- 31 ---help--- 35 which includes voltage limits. 42 driver implements enable/disable for step-down bucks and LDOs, [all …]
|
/openbmc/linux/drivers/clk/ |
H A D | clk-axi-clkgen.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright 2012-2013 Analog Devices Inc. 6 * Author: Lars-Peter Clausen <lars@metafoo.de> 11 #include <linux/clk-provider.h> 60 struct axi_clkgen_limits limits; member 126 static void axi_clkgen_calc_params(const struct axi_clkgen_limits *limits, in axi_clkgen_calc_params() argument 144 d_min = max_t(unsigned long, DIV_ROUND_UP(fin, limits->fpfd_max), 1); in axi_clkgen_calc_params() 145 d_max = min_t(unsigned long, fin / limits->fpfd_min, 80); in axi_clkgen_calc_params() 148 fvco_min_fract = limits->fvco_min << fract_shift; in axi_clkgen_calc_params() 149 fvco_max_fract = limits->fvco_max << fract_shift; in axi_clkgen_calc_params() [all …]
|
/openbmc/linux/include/linux/regulator/ |
H A D | machine.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * machine.h -- SoC Regulator support, machine/board driver API. 44 * DO_NOTHING_IN_SUSPEND - the default value 45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states 46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states 60 * struct regulator_state - regulator state during low power system states 62 * This describes a regulators state during a system wide low power 72 * - DO_NOTHING_IN_SUSPEND 73 * - DISABLE_IN_SUSPEND 74 * - ENABLE_IN_SUSPEND [all …]
|
/openbmc/linux/include/linux/platform_data/ |
H A D | tsl2772.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 7 * Copyright (c) 2017-2018 Brian Masney <masneyb@onstation.org> 30 /* LED Power */ 37 * struct tsl2772_settings - Settings for the tsl2772 driver 40 * (256 - als_time) * 2.73. 47 * (256 - prx_time) * 2.73. 52 * @als_persistence: H/W Filters, Number of 'out of limits' ALS readings. 56 * @prox_persistence: H/W Filters, Number of 'out of limits' proximity 66 * @prox_power The amount of power to use for the external LED(s). 92 * struct tsl2772_platform_data - Platform callback, glass and defaults [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/gt/ |
H A D | intel_rps_types.h | 1 /* SPDX-License-Identifier: MIT */ 41 * struct intel_rps_freq_caps - rps freq capabilities 42 * @rp0_freq: non-overclocked max frequency 43 * @rp1_freq: "less than" RP0 power/freqency 60 * i915->irq_lock 76 * Soft limits are those which are used for the dynamic reclocking done 78 * lighter loads). Hard limits are those imposed by the hardware. 92 u8 efficient_freq; /* AKA RPe. Pre-determined balanced frequency */ 93 u8 rp1_freq; /* "less than" RP0 power/freqency */ 94 u8 rp0_freq; /* Non-overclocked max frequency. */ [all …]
|
/openbmc/linux/Documentation/devicetree/bindings/media/ |
H A D | samsung,exynos4210-fimc.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/media/samsung,exynos4210-fimc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> 11 - Sylwester Nawrocki <s.nawrocki@samsung.com> 20 - samsung,exynos4210-fimc 21 - samsung,exynos4212-fimc 22 - samsung,s5pv210-fimc 30 clock-names: [all …]
|
/openbmc/linux/drivers/firmware/arm_scmi/ |
H A D | perf.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2018-2023 ARM Ltd. 8 #define pr_fmt(fmt) "SCMI Notifications PERF - " fmt 50 u32 power; member 126 __le32 power; member 137 __le32 power; member 171 if (_opp->indicative_freq == f_) \ 197 ret = ph->xops->xfer_get_init(ph, PROTOCOL_ATTRIBUTES, 0, in scmi_perf_attributes_get() 202 attr = t->rx.buf; in scmi_perf_attributes_get() 204 ret = ph->xops->do_xfer(ph, t); in scmi_perf_attributes_get() [all …]
|
/openbmc/linux/arch/arm/boot/dts/samsung/ |
H A D | exynos4210.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 7 * Copyright (c) 2010-2011 Linaro Ltd. 20 #include "exynos4-cpu-thermal.dtsi" 31 bus_acp: bus-acp { 32 compatible = "samsung,exynos-bus"; 34 clock-names = "bus"; 35 operating-points-v2 = <&bus_acp_opp_table>; 38 bus_acp_opp_table: opp-table { 39 compatible = "operating-points-v2"; [all …]
|
/openbmc/openbmc/poky/meta/recipes-kernel/powertop/ |
H A D | powertop_2.15.bb | 1 SUMMARY = "Power usage tool" 2 DESCRIPTION = "Linux tool to diagnose issues with power consumption and power management." 5 DEPENDS = "ncurses libnl pciutils autoconf-archive-native" 6 LICENSE = "GPL-2.0-only" 10 file://0001-wakeup_xxx.h-include-limits.h.patch \ 16 LDFLAGS += "-pthread" 18 inherit autotools gettext pkgconfig bash-completion 20 inherit update-alternatives
|
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/ |
H A D | mediatek,mt76.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 2 # Copyright (c) 2018-2019 The Linux Foundation. All rights reserved. 4 --- 6 $schema: http://devicetree.org/meta-schemas/core.yaml# 11 - Felix Fietkau <nbd@nbd.name> 12 - Lorenzo Bianconi <lorenzo@kernel.org> 13 - Ryder Lee <ryder.lee@mediatek.com> 23 - $ref: ieee80211.yaml# 28 - mediatek,mt76 29 - mediatek,mt7628-wmac [all …]
|