Home
last modified time | relevance | path

Searched +full:line +full:- +full:power (Results 1 – 25 of 496) sorted by relevance

12345678910>>...20

/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema/
H A DCircuit.v1_8_1.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
37 "description": "The available OEM-specific actions for this resource.",
38 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
46 …"longDescription": "This action shall control the state of the circuit breaker or over-current pro…
50 … "description": "The desired power state of the circuit if the breaker is reset successfully.",
51 … "longDescription": "This parameter shall contain the desired power state of the circuit."
55 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
71 "format": "uri-reference",
[all …]
H A DOutlet.v1_4_4.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
34 "description": "The available OEM-specific actions for this resource.",
35 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
45 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
68 "description": "Line 1 current (A).",
70 …"longDescription": "This property shall contain the line current, in ampere units, for L1. The va…
81 "description": "Line 2 current (A).",
83 …"longDescription": "This property shall contain the line current, in ampere units, for L2. The va…
[all …]
H A DPowerSupply.v1_6_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
39 "description": "This type describes an efficiency rating for a power supply.",
40 "longDescription": "This type shall describe an efficiency rating for a power supply.",
42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
57 … "description": "The rated efficiency of this power supply at the specified load.",
58 …hall contain the rated efficiency, as a percentage, `0` to `100`, of this power supply at the spec…
[all …]
H A DPower.v1_7_3.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Power.v1_7_3.json",
3 "$ref": "#/definitions/Power",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
26 "#Power.PowerSupplyReset": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
40 "description": "This type describes an input range for a power supply.",
41 …"longDescription": "This type shall describe an input range that the associated power supply can u…
[all …]
/openbmc/phosphor-power/phosphor-power-supply/
H A Dutil.hpp7 #include <phosphor-logging/elog-errors.hpp>
8 #include <phosphor-logging/elog.hpp>
9 #include <phosphor-logging/lg2.hpp>
15 namespace phosphor::power::psu namespace
68 auto invService = phosphor::power::util::getService( in setPresence()
101 auto invService = phosphor::power::util::getService( in setAvailable()
130 auto service = phosphor::power::util::getService( in handleChassisHealthRollup()
134 phosphor::power::util::getProperty<AssociationsProperty>( in handleChassisHealthRollup()
164 phosphor::power::util::getProperty<bool>( in handleChassisHealthRollup()
176 phosphor::power::util::setProperty(ASSOC_DEF_IFACE, ASSOC_PROP, in handleChassisHealthRollup()
[all …]
H A Dutil.cpp5 namespace phosphor::power::psu namespace
18 line = gpiod::find_line(namedGpio); in GPIOInterface()
19 if (!line) in GPIOInterface()
21 throw std::runtime_error("Line does not exist: " + namedGpio); in GPIOInterface()
27 std::string("Failed to find line: ") + e.what()); in GPIOInterface()
39 return line.name(); in getName()
44 int value = -1; in read()
46 if (!line) in read()
48 lg2::error("Failed line in GPIOInterface::read()"); in read()
49 throw std::runtime_error{std::string{"Failed to find line"}}; in read()
[all …]
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-yosemite4/plat-svc/files/
H A Dyosemite4-medusa-event3 # The ALERT pin doesn't trigger when HSC or power module loses ENABLE with VCC present,
8 dbus-monitor --system "type='signal',interface='xyz.openbmc_project.Sensor.Threshold.Critical'" |
9 while IFS= read -r LINE; do
14 if [[ "$LINE" =~ MEDUSA_HSC([0-1])_48V ]]; then
16 script_to_run="/usr/libexec/phosphor-gpio-monitor/medusa-hsc-alert"
20 # Power module: MEDUSA_DELTA0_12V, MEDUSA_DELTA1_12V...
21 elif [[ "$LINE" =~ MEDUSA_DELTA([0-3])_12V ]]; then
23 script_to_run="/usr/libexec/phosphor-gpio-monitor/medusa-power-module-fault"
28 elif [[ "$LINE" =~ MEDUSA_MB([1-8])_HSC_12V ]]; then
30 script_to_run="/usr/libexec/phosphor-gpio-monitor/slot-hsc-fault"
[all …]
/openbmc/openbmc-test-automation/ipmi/
H A Dtest_ipmi_sensor.robot56 ${temp_reading}= Run IPMI Standard Command dcmi get_temp_reading -N 10
62 ... Inlet air temperature case-insensitive
66 FOR ${line} IN @{ambient_temp_line}
67 ${ambient_temp_ipmi}= Set Variable ${line.split('+')[1].strip(' C')}
77 ... Evaluate abs(${ambient_temp_redfish[${index}]} - ${ipmi_temp_list[${index}]})
84 Test Power Reading Via IPMI With Host Off
85 [Documentation] Verify power reading via IPMI with host in off state
88 Redfish Power Off stack_mode=skip
90 ${ipmi_reading}= Get IPMI Power Reading
93 ... msg=Power readin
[all...]
/openbmc/openbmc/meta-ibm/meta-system1/recipes-phosphor/flash/bios-version/
H A Dpch-standby-check.sh3 # Find the GPIO pin associated with "pch-ready"
4 GPIO_PIN=$(gpiofind "pch-ready")
6 if [ -z "${GPIO_PIN}" ]; then
7 echo "gpio 'pch-ready' not found in device tree. Exiting."
11 # Extract gpiochip and line offset from the GPIO_PIN
12 GPIO_CHIP=$(echo "$GPIO_PIN" | cut -d' ' -f1) # Extract gpiochip
13 GPIO_LINE=$(echo "$GPIO_PIN" | cut -d' ' -f2) # Extract line offset
15 # Poll the GPIO value until it reads 1 (indicating power sequence completion)
19 if [ "$GPIO_VALUE" -eq 0 ]; then
20 echo "PCH Standby Power Sequence Complete"
[all …]
/openbmc/phosphor-power/phosphor-power-sequencer/src/
H A Dpower_control.hpp26 namespace phosphor::power::sequencer namespace
33 * This class implements GPIO control of power on / off, and monitoring of the
34 * chassis power good.
47 * Creates a controller object for power on and off.
48 * @param bus D-Bus bus object
80 * Callback that is called when a power sequencer device is found.
88 * The D-Bus bus object
109 * Object that finds the power sequencer device in the system.
114 * Power sequencer device properties.
119 * Power sequencer device that enables and monitors the voltage rails.
[all …]
H A Dservices.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
30 namespace phosphor::power::sequencer namespace
69 present = it->second; in isPresent()
73 // Get presence from D-Bus interface/property in isPresent()
88 // Re-throw unexpected exception in isPresent()
109 // Read GPIO values. Work around libgpiod bulk line maximum by getting in getGPIOValues()
114 gpiod::line line = chip.get_line(offset); in getGPIOValues() local
115 line.request({"phosphor-power-control", in getGPIOValues()
117 values.push_back(line.get_value()); in getGPIOValues()
118 line.release(); in getGPIOValues()
[all …]
/openbmc/u-boot/examples/standalone/
H A Datmel_df_pow2.c2 * atmel_df_pow2.c - convert Atmel Dataflashes to Power of 2 mode
6 * Licensed under the 2-clause BSD.
27 return -1; in flash_status()
48 if (ret == -1) in flash_set_pow2()
94 case 0x03: /* ^C - break */ in getline()
98 case 0x08: /* ^H - backspace */ in getline()
99 case 0x7F: /* DEL - backspace */ in getline()
102 i--; in getline()
124 printf("Actual U-Boot ABI version %lu\n", get_version()); in atmel_df_pow2()
131 char *line, *p; in atmel_df_pow2() local
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/
H A DOutlet_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: Outlet v1.4.4 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2025 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
H A DCircuit_v1.xml1 <?xml version="1.0" encoding="UTF-8"?>
2 <!---->
3 <!--################################################################################ -->
4 <!--# Redfish Schema: Circuit v1.8.1 -->
5 <!--# -->
6 <!--# For a detailed change log, see the README file contained in the DSP8010 bundle, -->
7 <!--# available at http://www.dmtf.org/standards/redfish -->
8 <!--# Copyright 2014-2025 DMTF. -->
9 <!--# For the full DMTF copyright policy, see http://www.dmtf.org/about/policies/copyright -->
10 <!--################################################################################ -->
[all …]
/openbmc/bmcweb/redfish-core/schema/dmtf/json-schema-installed/
H A DPowerSupply.v1_6_0.json4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
39 "description": "This type describes an efficiency rating for a power supply.",
40 "longDescription": "This type shall describe an efficiency rating for a power supply.",
42 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
57 … "description": "The rated efficiency of this power supply at the specified load.",
58 …hall contain the rated efficiency, as a percentage, `0` to `100`, of this power supply at the spec…
[all …]
H A DPower.v1_7_3.json2 "$id": "http://redfish.dmtf.org/schemas/v1/Power.v1_7_3.json",
3 "$ref": "#/definitions/Power",
4 "$schema": "http://redfish.dmtf.org/schemas/v1/redfish-schema-v1.json",
5 …"copyright": "Copyright 2014-2024 DMTF. For the full DMTF copyright policy, see http://www.dmtf.or…
12 "^([a-zA-Z_][a-zA-Z0-9_]*)?@(odata|Redfish|Message)\\.[a-zA-Z_][a-zA-Z0-9_]*$": {
26 "#Power.PowerSupplyReset": {
31 "description": "The available OEM-specific actions for this resource.",
32 …"longDescription": "This property shall contain the available OEM-specific actions for this resour…
40 "description": "This type describes an input range for a power supply.",
41 …"longDescription": "This type shall describe an input range that the associated power supply can u…
[all …]
/openbmc/x86-power-control/src/
H A Dpower_control.cpp2 // Copyright (c) 2018-2025 Intel Corporation
8 // http://www.apache.org/licenses/LICENSE-2.0
19 #include <systemd/sd-journal.h>
28 #include <phosphor-logging/lg2.hpp>
46 static const std::string appName = "power-control";
97 // power control json config
135 static gpiod::line powerButtonMask;
136 static gpiod::line resetButtonMask;
163 // Time between off and on during a power cycle
169 // Time power OK assertion on power-on
[all …]
/openbmc/phosphor-buttons/
H A DREADME.md1 # phosphor-buttons
3 Phosphor-buttons has a collection of IO event handler interfaces for physical
7 inputs such as power button, reset button etc. Each button interface monitors
8 its associated IO for event changes and emits signals that the button-handler
13 ### Power Button
17 If the power is off, power on the host.
19 If the power is on, it depends on how long the press was and which options are
22 - Short press: Do a host power off
23 - Long press, as determined by the 'long-press-time-ms' meson option: Do a
24 chassis (hard) power off.
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dvar_funcs.py40 The print-out of the resulting var dictionary is:
204 …This function is useful for parsing a line of program output or data that is in the following form:
209 Current Limit State: No Active Power Limit
222 No Active Power Limit
265 [0]: Current Limit State: No Active Power Limit
266 [1]: Exception actions: Hard Power Off & Log Event to SEL
267 [2]: Power Limit: 0 Watts
278 [current_limit_state]: No Active Power Limit
279 [exception_actions]: Hard Power Off & Log Event to SEL
288 headers[0][0]: content-length
[all …]
/openbmc/phosphor-power/phosphor-regulators/src/
H A Derror_logging.cpp8 * http://www.apache.org/licenses/LICENSE-2.0
33 namespace phosphor::power::regulators namespace
40 "xyz.openbmc_project.Power.Regulators.Error.ConfigFile"}; in logConfigFileError()
46 // handling, like stopping a power on attempt. in logConfigFileError()
48 "xyz.openbmc_project.Power.Regulators.Error.ConfigFile.Critical"; in logConfigFileError()
58 logError("xyz.openbmc_project.Power.Error.DBus", severity, additionalData, in logDBusError()
78 logError("xyz.openbmc_project.Power.Error.I2C", severity, additionalData, in logI2CError()
85 logError("xyz.openbmc_project.Power.Error.Internal", severity, in logInternalError()
96 ? "xyz.openbmc_project.Power.Regulators.Error.PhaseFault.N" in logPhaseFault()
97 : "xyz.openbmc_project.Power.Regulators.Error.PhaseFault.NPlus1"; in logPhaseFault()
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/org/freedesktop/UPower/
H A DDevice.interface.yaml2 "org.freedesktop.UPower.Device -- Device interface
10 - name: Refresh
12 "Refreshes the data collected from the power source. Callers need the
13 org.freedesktop.upower.refresh-power-source authorization"
15 - name: GetHistory
17 "Gets history for the power device that is persistent across
20 - name: type
24 - name: timespan
28 - name: resolution
35 - name: data
[all …]
/openbmc/openpower-pnor-code-mgmt/
H A Dversion.cpp8 #include <phosphor-logging/elog-errors.hpp>
9 #include <phosphor-logging/log.hpp>
66 std::string line; in getValue() local
73 while (getline(efile, line)) in getValue()
79 if (line.compare(0, keySize, value) == 0) in getValue()
81 key.second = line.substr(keySize); in getValue()
104 // open-power-romulus-v2.2-rc1-48-g268344f-dirty in getVersions()
105 // buildroot-2018.11.1-7-g5d7cc8c in getVersions()
106 // skiboot-v6.2 in getVersions()
108 std::string line; in getVersions() local
[all …]
/openbmc/ipmitool/doc/
H A Dipmitool.13 ipmitool \- utility for controlling IPMI\-enabled devices
6 ipmitool [ <options> ] <command> [ <sub-commands and sub-options> ]
8 <options> := [ <general-options> | <conditional-opts> ]
13 <general-options> := [ -h | -V | -v | -I <interface> | -H <address> |
14 -d <N> | -p <port> | -c | -U <username> |
15 -L <privlvl> | -l <lun> | -m <local_address> |
16 -N <sec> | -R <count> | <password-option> |
17 <oem-option> | <bridge-options> ]
19 <conditional-opts> := [ <lan-options> | <lanplus-options> |
20 <command-options> ]
[all …]
/openbmc/openbmc-test-automation/docs/
H A Dopenbmc_test_tools.md8 $ ipmitool -V
16 [README](https://github.com/open-power/HTX)
21 [README](https://github.com/openbmc/phosphor-logging/blob/master/README.md#remote-logging-via-rsysl…
25 Pre-requisite: A Power Linux system is required.
27 - Obtain the SEL (System Error Log) parser tools:
28 - Go to https://openpower.xyz/job/openpower/job/openpower-op-build/
29 - Click the link for the BMC system of interest (e.g. witherspoon)
30 - Click the "host_fw_debug.tar" link in order to download the tar file.
31 - On your Power Linux system, untar the file with the following command:
34 $ tar -xvf host_fw_debug.tar
[all …]
/openbmc/openbmc/poky/scripts/contrib/
H A Ddialog-power-control5 # SPDX-License-Identifier: GPL-2.0-only
7 # Simple script to show a manual power prompt for when you want to use
9 # web-enabled power strip or similar to do the power on/off/cycle.
15 # TEST_POWERCONTROL_CMD = "${COREBASE}/scripts/contrib/dialog-power-control"
22 PROMPT="Please turn device power on";;
24 PROMPT="Please turn device power off";;
26 PROMPT="Please click Done, then turn the device power off then on";;
34 echo "ERROR: no power action specified on command line"
48 …kdialog --yesno "$PROMPT" --title "TestImage Power Control" --yes-label "Done" --no-label "Cancel …
50 …zenity --question --text="$PROMPT" --title="TestImage Power Control" --ok-label="Done" --cancel-la…
[all …]

12345678910>>...20