/openbmc/phosphor-state-manager/service_files/ |
H A D | obmc-powered-off@.service | 2 Description=Power is off to Chassis%i 3 After=phosphor-wait-power-off@%i.service 4 Requires=phosphor-wait-power-off@%i.service 11 # once power is off. The solution is to create a new target, 12 # obmc-chassis-powered-off@.target, that is started after it is 16 ExecStart=/bin/systemctl start obmc-chassis-powered-off@%i.target 17 SyslogIdentifier=phosphor-powered-off 21 WantedBy=obmc-chassis-poweroff@%i.target
|
/openbmc/phosphor-buttons/inc/ |
H A D | host_then_chassis_poweroff.hpp | 19 * If power is off: 20 * - A button press will power on as long as the BMC is 24 * - A button press less than 4s won't do anything. 25 * - At 4s, issue a host power off and start a 10s timer. 26 * - If the button is released within that 10s and not pressed 27 * again, continue with the host power off. 28 * - If the button is released within that 10s and also 30 * off. 31 * - If the button is pressed throughout that 10s 32 * issue a hard power off. [all …]
|
/openbmc/u-boot/drivers/power/domain/ |
H A D | imx8-power-domain.c | 1 // SPDX-License-Identifier: GPL-2.0 8 #include <power-domain-uclass.h> 10 #include <asm/arch/power-domain.h> 11 #include <dm/device-internal.h> 37 struct udevice *dev = power_domain->dev; in imx8_power_domain_on() 57 debug("%s(power_domain=%s) resource_id %d\n", __func__, dev->name, in imx8_power_domain_on() 58 pdata->resource_id); in imx8_power_domain_on() 60 /* Already powered on */ in imx8_power_domain_on() 61 if (ppriv->state_on) in imx8_power_domain_on() 64 if (pdata->resource_id != SC_R_LAST) { in imx8_power_domain_on() [all …]
|
/openbmc/linux/Documentation/firmware-guide/acpi/ |
H A D | non-d0-probe.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 In some cases it may be preferred to leave certain devices powered off for the 22 The downside of using _DSC is that as the device is not powered on, even if 28 --- 33 the device will not be powered on (put in D0 state) for probe. 36 -------- 41 .. code-block:: text 44 0 D0 Device fully powered on 48 4 D3cold Off 53 …cifications/ACPI/6.4/02_Definition_of_Terms/Definition_of_Terms.html#device-power-state-definitions [all …]
|
/openbmc/phosphor-power/phosphor-power-sequencer/docs/ |
H A D | README.md | 1 # phosphor-power-sequencer 5 The phosphor-power-sequencer application powers the chassis on/off and monitors 14 The application is a single-threaded C++ executable. It is a 'daemon' process 16 reaches the Ready state and before the chassis is powered on. 18 The application is driven by an optional, system-specific JSON configuration 30 - UCD90160 31 - UCD90320 33 Additional device types can be supported by creating a new sub-class within the 38 - A BMC application or script sets the `state` property to 1 on the 39 `org.openbmc.control.Power` D-Bus interface. [all …]
|
/openbmc/linux/Documentation/userspace-api/media/dvb/ |
H A D | fe-diseqc-reset-overload.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 13 FE_DISEQC_RESET_OVERLOAD - Restores the power to the antenna subsystem, if it was powered off due -… 31 If the bus has been automatically powered off due to power overload, 34 is manually powered off. Not all Digital TV adapters support this ioctl. 41 On error -1 is returned, and the ``errno`` variable is set 45 :ref:`Generic Error Codes <gen-errors>` chapter.
|
/openbmc/u-boot/include/ |
H A D | generic-phy.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 3 * Copyright (C) 2017 Texas Instruments Incorporated - http://www.ti.com/ 4 * Written by Jean-Jacques Hiblot <jjhiblot@ti.com> 13 * struct phy - A handle to (allowing control of) a single phy port. 30 * struct udevice_ops - set of function pointers for phy operations 35 * @power_off: powering off the phy (optional) 39 * of_xlate - Translate a client's device-tree (OF) phy specifier. 45 * default implementation, which assumes #phy-cells = <0> or 46 * #phy-cells = <1>, and in the later case that the DT cell 56 * init - initialize the hardware. [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/Decorator/ |
H A D | PowerState.interface.yaml | 4 - name: PowerState 11 - name: State 15 - name: "On" 17 The state of the object is powered on. 18 - name: "Off" 20 The state of the object is powered off. 21 - name: PoweringOn 23 The object is in a temporary state between off and on. 24 - name: PoweringOff 26 The object is in a temporary state between on and off. [all …]
|
/openbmc/phosphor-power/phosphor-regulators/src/ |
H A D | manager.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 56 * @param bus the D-Bus bus 62 * Implements the D-Bus "configure" method. 66 * This method should be called when the system is being powered on. It 72 * Implements the D-Bus "monitor" method. 77 * - regulator sensors will be read and published on D-Bus 78 * - phase fault detection will be performed 80 * Regulator monitoring should be enabled when the system is being powered 84 * Regulator monitoring should be disabled when the system is being powered 85 * off. It needs to occur before the regulators have been disabled/turned [all …]
|
H A D | dbus_sensor.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 65 * the necessary D-Bus interfaces via templates/multiple inheritance. 73 * valid sensor Unit values on D-Bus. 78 * Define simple name for the tuple used to create D-Bus associations. 90 * This class represents a voltage regulator sensor on D-Bus. 99 // Specify which compiler-generated methods we want 112 * @param bus D-Bus bus object 117 * @param deviceInventoryPath D-Bus inventory path of the voltage regulator 119 * @param chassisInventoryPath D-Bus inventory path of the chassis that 130 * Updates the sensor properties on D-Bus to indicate it is no longer [all …]
|
/openbmc/openbmc-test-automation/openpower/ |
H A D | test_timed_power_on.robot | 21 ${CMD_ENABLE_TPO} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition 25 ${CMD_SET_TPO_TIME} busctl set-property xyz.openbmc_project.State.ScheduledHostTransition 28 ${CMD_GET_TPO_TIME} busctl get-property xyz.openbmc_project.State.ScheduledHostTransition 35 # - Red Hat Enterprise Linux 36 # - SUSE Linux Enterprise Server 40 # User can input -v HOST_TIMER_POWER_ON:h24 ( e.g. 24 hours ) 42 ${HOST_TIMED_POWER_ON_REQUEST} set_poweron_time -d ${HOST_TIMER_POWER_ON} -s 46 Test Timed Powered On Via BMC 51 # Make sure the host is powered off. 52 Redfish Power Off stack_mode=skip [all …]
|
/openbmc/phosphor-fan-presence/control/json/actions/ |
H A D | pcie_card_floors.hpp | 8 * http://www.apache.org/licenses/LICENSE-2.0 33 * @class PCIeCardFloors - Action to set the PCIe card floor index parameter 36 * - Loads PCIe card metadata files using the PCIeCardMetadata class. 37 * - Watches for PCIe slots to be powered on (or off). 38 * - Reads four properties off of the PCIeDevice interface on the powered 40 * - Looks up the floor index for the card by calling PCIeCardMetadata::lookup 42 * - Sets the pcie_floor_index parameter with the highest floor index found. 43 * - If no PCIe cards are found, it removes the parameter. 44 * - If a card isn't recognized, it's ignored since it isn't considered a 46 * - If a powered on card has its own temperature sensor, then it doesn't [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/witherspoon/ |
H A D | air-cooled.yaml | 9 - name: fan enclosures 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN 21 - meta: FAN 24 - name: fan rotors 30 - meta: FAN 32 - meta: FAN 34 - meta: FAN 36 - meta: FAN [all …]
|
H A D | water-cooled.yaml | 9 - name: fan enclosures 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN 22 - name: fan rotors 28 - meta: FAN 30 - meta: FAN 32 - meta: FAN 34 - meta: FAN 36 - meta: FAN [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/dbus/fan-policy/swift/ |
H A D | water-cooled.yaml | 7 - name: fan enclosures 13 - meta: FAN 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN 22 - name: chassis state 28 - meta: CHASSISSTATE 31 - name: chassis 37 - meta: CHASSIS 40 - name: fan present [all …]
|
H A D | air-cooled.yaml | 7 - name: fan enclosures 13 - meta: FAN 15 - meta: FAN 17 - meta: FAN 19 - meta: FAN 22 - name: chassis state 28 - meta: CHASSISSTATE 31 - name: chassis 37 - meta: CHASSIS 40 - name: fan present [all …]
|
/openbmc/phosphor-fan-presence/monitor/ |
H A D | power_off_cause.hpp | 15 * that is called to know if the system should be powered off due 33 * @param[in] count - The number of items that is compared 35 * @param[in] name - The name of the cause. Used for tracing. 42 * @brief Pure virtual that says if the system should be powered 43 * off based on the fan health. 45 * @param[in] fanHealth - The FanHealth map 47 * @return bool - If system should be powered off 56 * @return std::string - The name 97 * @param[in] count - The minimum number of fans that must be 98 * missing to need a power off. [all …]
|
/openbmc/openpower-host-ipmi-oem/ |
H A D | README.md | 3 https://github.com/open-power/op-build 11 ninja -C build 13 To clean the repository again run rm -rf build. 18 - Partial Add 19 - Prepare for host update 20 - BMC Factory Reset 33 1. Power the chassis off. The host needs to be powered off becaus [all...] |
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Thermal.events.yaml | 4 - name: DeviceOverOperatingTemperature 7 - name: Device 11 - name: FailureData 25 - name: DeviceOverOperatingTemperatureFault 28 - name: Device 32 - name: FailureData 39 A event signaling that a device has potentially been powered off 45 and may have been powered off
|
/openbmc/linux/drivers/ata/ |
H A D | libata-zpodd.c | 1 // SPDX-License-Identifier: GPL-2.0 11 static int zpodd_poweroff_delay = 30; /* 30 seconds for power off delay */ 31 bool powered_off; /* ODD is powered off 85 if (be16_to_cpu(desc->feature_code) != 3) { in zpodd_get_mech_type() 90 if (desc->mech_type == 0 && desc->load == 0 && desc->eject == 1) { in zpodd_get_mech_type() 93 } else if (desc->mech_type == 1 && desc->load == 0 && in zpodd_get_mech_type() 94 desc->eject == 1) { in zpodd_get_mech_type() 108 struct zpodd *zpodd = dev->zpodd; in zpready() 115 sense_buf = dev->link->ap->sector_buf; in zpready() 132 if (zpodd->mech_type == ODD_MECH_TYPE_SLOT) in zpready() [all …]
|
/openbmc/smbios-mdr/include/ |
H A D | cpuinfo_utils.hpp | 7 // http://www.apache.org/licenses/LICENSE-2.0 30 /** Host CPU is powered off. */ 31 off, enumerator 32 /** Host CPU is powered on, but BIOS has not completed POST. */ 38 /** Current host state - initialized to "off" */ 42 * Register D-Bus match handlers to keep hostState current. The D-Bus logic is 43 * entirely asynchronous, so hostState will never change from "off" until after 46 * @param[in] conn D-Bus ASIO connection. 65 * @tparam Dest Destination type - mostly useful to avoid an extra static_cast 70 * @param loBit 0-based index of the least significant bit to return. [all …]
|
/openbmc/openbmc/meta-facebook/meta-tiogapass/recipes-phosphor/flash/phosphor-software-manager/ |
H A D | bios-update | 3 set -e 5 POWER_CMD="/usr/sbin/power-util mb" 16 SPI_PATH="/sys/bus/platform/drivers/aspeed-smc" 21 if [ ! -d /sys/class/gpio/gpio$GPIO ]; then 42 if [ ! -d /sys/class/gpio/gpio$GPIO ]; then 64 #Power off host server. 65 echo "Power off host server" 66 $POWER_CMD off 68 if [ "$($POWER_CMD status)" != "off" ]; 70 echo "Host server didn't power off" [all …]
|
/openbmc/u-boot/arch/arm/mach-keystone/ |
H A D | cmd_mon.c | 1 // SPDX-License-Identifier: GPL-2.0+ 5 * (C) Copyright 2012-2014 34 return -EFAULT; in do_mon_install() 89 printf("core %d powered on successfully\n", core_id); in do_mon_power() 93 printf("core %d powered off successfully\n", core_id); in do_mon_power() 100 "Power On/Off secondary core", 102 "- coreid (1-3) and oper (1 - ON, 0 - OFF)\n"
|
/openbmc/bmcweb/redfish-core/include/registries/ |
H A D | resource_event_message_registry.hpp | 1 // SPDX-License-Identifier: Apache-2.0 2 // SPDX-FileCopyrightText: Copyright OpenBMC Authors 6 * This is an auto-generated header which contains definitions 18 // clang-format off 23 …"Copyright 2014-2023 DMTF in cooperation with the Storage Networking Industry Association (SNIA). … 178 "Indicates that the power state of a resource has changed to powered off.", 179 "The resource `%1` has powered off.", 190 "Indicates that the power state of a resource has changed to powered on.", 191 "The resource `%1` has powered on.", 202 "Indicates that the power state of a resource has changed to powering off.", [all …]
|
/openbmc/linux/drivers/pci/hotplug/ |
H A D | pciehp.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 6 * Copyright (C) 2001 Greg Kroah-Hartman (greg@kroah.com) 8 * Copyright (C) 2003-2004 Intel Corporation 36 pci_dbg(ctrl->pcie->port, format, ## arg) 38 pci_err(ctrl->pcie->port, format, ## arg) 40 pci_info(ctrl->pcie->port, format, ## arg) 42 pci_warn(ctrl->pcie->port, format, ## arg) 47 * struct controller - PCIe hotplug controller 50 * @inband_presence_disabled: In-Band Presence Detect Disable supported by 72 * @button_work: work item to turn the slot on or off after 5 seconds [all …]
|