Home
last modified time | relevance | path

Searched +full:off +full:- +full:state (Results 1 – 25 of 1054) sorted by relevance

12345678910>>...43

/openbmc/openbmc-test-automation/lib/
H A Dstate_manager.robot21 # wait Indicates that this keyword should wait for host running state.
35 [Documentation] Initiate host power off.
36 # 1. Request soft power off
37 # 2. Hard power off, if failed.
41 # wait Indicates that this keyword should wait for host off state.
52 Run Keyword if '${status}' == '${False}' Hard Power Off
56 [Documentation] Wait for power off state.
58 # TODO: Reference to open-power/skiboot#81.
60 Wait Until Keyword Succeeds 6 min 10 sec Is Host Off
63 Hard Power Off
[all …]
H A Dstate_map.py4 State Manager module:
6 - Defines Valid states of the system
32 # (Power Policy, BMC state, Chassis State, Host State)
33 ("LEAVE_OFF", "Ready", "Off", "Off"),
35 ("ALWAYS_POWER_ON", "Ready", "On", "Off"),
37 ("RESTORE_LAST_STATE", "Ready", "On", "Off"),
39 ("ALWAYS_POWER_OFF", "Ready", "Off", "Off"),
44 "Off": { # Valid states when Host is Off.
47 "xyz.openbmc_project.State.BMC.BMCState.Ready",
48 "xyz.openbmc_project.State.Chassis.PowerState.Off",
[all …]
/openbmc/linux/arch/arm/boot/dts/ti/omap/
H A Dam572x-idk-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/
6 #include <dt-bindings/gpio/gpio.h>
7 #include <dt-bindings/interrupt-controller/irq.h>
8 #include "am57xx-idk-common.dtsi"
9 #include "dra74-ipu-dsp-common.dtsi"
17 reserved-memory {
18 #address-cells = <2>;
19 #size-cells = <2>;
22 ipu2_memory_region: ipu2-memory@95800000 {
[all …]
H A Dam571x-idk.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2015-2016 Texas Instruments Incorporated - https://www.ti.com/
5 /dts-v1/;
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include "dra7-mmc-iodelay.dtsi"
11 #include "dra72x-mmc-iodelay.dtsi"
12 #include "am57xx-idk-common.dtsi"
13 #include "dra7-ipu-dsp-common.dtsi"
17 compatible = "ti,am5718-idk", "ti,am5718", "ti,dra7";
[all …]
H A Dam335x-moxa-uc-8100-me-t.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 MOXA Inc. - https://www.moxa.com/
7 /dts-v1/;
9 #include "am335x-moxa-uc-8100-common.dtsi"
12 model = "Moxa UC-8100-ME-T";
13 compatible = "moxa,uc-8100-me-t", "ti,am33xx";
21 compatible = "gpio-leds";
25 default-state = "off";
31 default-state = "off";
37 default-state = "off";
[all …]
/openbmc/openbmc-test-automation/redfish/extended/
H A Dtest_power_restore.robot5 ... https://github.com/openbmc/docs/blob/master/rest-api.md
26 Test Restore Policy ALWAYS_POWER_OFF With Host Off
30 ... Initial Host State:
31 ... State where system should be before running the
33 ... Expected Host State:
35 ... specific state.
39 # Policy Initial Host State Expected Host State
40 AlwaysOff Off Off
49 # Policy Initial Host State Expected Host State
53 Test Restore Policy ALWAYS_POWER_ON With Host Off
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dstm32mp157c-ed1.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR BSD-3-Clause)
3 * Copyright (C) STMicroelectronics 2017 - All Rights Reserved
6 /dts-v1/;
9 #include "stm32mp157-pinctrl.dtsi"
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/mfd/st,stpmu1.h>
15 compatible = "st,stm32mp157c-ed1", "st,stm32mp157";
18 stdout-path = "serial3:115200n8";
25 sd_switch: regulator-sd_switch {
26 compatible = "regulator-gpio";
[all …]
/openbmc/phosphor-buttons/src/
H A Dhost_then_chassis_poweroff.cpp6 #include <phosphor-logging/lg2.hpp>
7 #include <xyz/openbmc_project/State/BMC/server.hpp>
8 #include <xyz/openbmc_project/State/Chassis/server.hpp>
18 constexpr auto bmcState = "xyz.openbmc_project.State.BMC";
19 constexpr auto chassisState = "xyz.openbmc_project.State.Chassis0";
20 constexpr auto hostState = "xyz.openbmc_project.State.Host";
25 constexpr auto bmcState = "/xyz/openbmc_project/state/bmc0";
26 constexpr auto chassisState = "/xyz/openbmc_project/state/chassis0";
27 constexpr auto hostState = "/xyz/openbmc_project/state/host0";
33 constexpr auto bmcState = "xyz.openbmc_project.State.BMC";
[all …]
/openbmc/linux/arch/riscv/kvm/
H A Daia_aplic.c1 // SPDX-License-Identifier: GPL-2.0
20 u32 state; member
46 if (!irq || aplic->nr_irqs <= irq) in aplic_read_sourcecfg()
48 irqd = &aplic->irqs[irq]; in aplic_read_sourcecfg()
50 raw_spin_lock_irqsave(&irqd->lock, flags); in aplic_read_sourcecfg()
51 ret = irqd->sourcecfg; in aplic_read_sourcecfg()
52 raw_spin_unlock_irqrestore(&irqd->lock, flags); in aplic_read_sourcecfg()
62 if (!irq || aplic->nr_irqs <= irq) in aplic_write_sourcecfg()
64 irqd = &aplic->irqs[irq]; in aplic_write_sourcecfg()
71 raw_spin_lock_irqsave(&irqd->lock, flags); in aplic_write_sourcecfg()
[all …]
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/
H A Dassert-power-good3 # shellcheck source=meta-facebook/meta-harma/recipes-phosphor/state/phosphor-state-manager/power-cmd
4 source /usr/libexec/phosphor-state-manager/power-cmd
6 # Sync Led status to off
7 systemctl start obmc-led-group-stop@power_on.service
9 active=$(systemctl is-active host-graceful-poweroff@0.service)
10 if [ -z "$active" ] || [ "$active" != "inactive" ]; then
14 active=$(systemctl is-active host-force-poweroff@0.service)
15 if [ -z "$active" ] || [ "$active" != "inactive" ]; then
19 active=$(systemctl is-active host-powerreset@0.service)
20 if [ -z "$active" ] || [ "$active" != "inactive" ]; then
[all …]
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/
H A DREADME.md1 # BMC, Host, and Chassis State Management
5 The goal of the phosphor-state-manager repository is to control and track the
7 implement the BMC state interfaces, and some, when creating servers will do the
8 Host and Chassis state interfaces. These interfaces will be the mechanism by
9 which you determine the state of their corresponding instances, as well as
10 reboot the BMC and hosts, and turn on and off power to the chassis. The
16 `/xyz/openbmc_project/state/`+`/bmcX,/hostY,/chassisZ` where X,Y,Z are the
18 state, and a requested transition.
24 2. _Host_ : The host is either (Off), (Running), or it's (Quiesced). Running
26 request the host be in a (Off), (On), or (Reboot) state. More details on
[all …]
H A DChassis.interface.yaml4 - name: RequestedPowerTransition
6 default: "Off"
11 - xyz.openbmc_project.State.Chassis.Error.BMCNotReady
12 - xyz.openbmc_project.Common.Error.Unavailable
14 - name: CurrentPowerState
17 A read-only property describing the current chassis power state. A
21 - name: CurrentPowerStatus
24 A read-only property describing the current chassis power status. This
28 the chassis, not the actual state of the chassis power.
30 - name: LastStateChangeTime
[all …]
H A DHost.interface.yaml2 Implement to provide host state management
5 - name: RequestedHostTransition
7 default: "Off"
12 - xyz.openbmc_project.State.Host.Error.BMCNotReady
13 - xyz.openbmc_project.Common.Error.NotAllowed
14 - xyz.openbmc_project.Common.Error.Unavailable
16 - name: AllowedHostTransitions
19 - const
26 - name: CurrentHostState
29 A read-only property describing the current state of the host
[all …]
/openbmc/linux/arch/arm/boot/dts/samsung/
H A Dexynos5422-samsung-k3g.dts1 // SPDX-License-Identifier: GPL-2.0
3 * Samsung Galaxy S5 (SM-G900H) device-tree source
8 /dts-v1/;
9 #include <dt-bindings/clock/samsung,s2mps11.h>
10 #include <dt-bindings/gpio/gpio.h>
11 #include <dt-bindings/interrupt-controller/irq.h>
13 #include "exynos5422-cpus.dtsi"
16 model = "Samsung Galaxy S5 (SM-G900H)";
20 chassis-type = "handset";
31 fixed-rate-clocks {
[all …]
/openbmc/u-boot/arch/mips/dts/
H A Docelot_pcb120.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
11 compatible = "mscc,ocelot-pcb120", "mscc,ocelot";
14 stdout-path = "serial0:115200n8";
17 gpio-leds {
18 compatible = "gpio-leds";
23 default-state = "off";
29 default-state = "off";
35 default-state = "off";
41 default-state = "off";
[all …]
/openbmc/linux/arch/arc/boot/dts/
H A Dabilis_tb101_dvk.dts1 // SPDX-License-Identifier: GPL-2.0-only
10 /dts-v1/;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pctl_uart0>;
33 phy-mode = "rgmii";
37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
[all …]
H A Dabilis_tb100_dvk.dts1 // SPDX-License-Identifier: GPL-2.0-only
10 /dts-v1/;
29 pinctrl-names = "default";
30 pinctrl-0 = <&pctl_uart0>;
33 phy-mode = "rgmii";
37 i2c-sda-hold-time-ns = <432>;
40 i2c-sda-hold-time-ns = <432>;
43 i2c-sda-hold-time-ns = <432>;
46 i2c-sda-hold-time-ns = <432>;
49 i2c-sda-hold-time-ns = <432>;
[all …]
/openbmc/phosphor-state-manager/
H A DREADME.md1 # Phosphor State Manager Documentation
4 the state of different objects within OpenBMC. This currently includes the BMC,
6 phosphor-state-manager (PSM) software is its support for requests to power on
7 and off the system by the user.
15 basic command line support to query and control phosphor-state-manager
17 OpenBMC system and utilizes D-Bus APIs. These D-Bus APIs are used for
21 phosphor-state-manager are D-Bus interfaces. These interfaces are then used by
23 state to/by the end user.
25 ## State Tracking and Control
27 phosphor-state-manager makes extensive use of systemd. There is a writeup
[all …]
/openbmc/openbmc-test-automation/redfish/systems/
H A Dtest_led_indicator_asserted.robot3 ... property to the correct state.
23 [Documentation] Verify the LED asserted at standby is set to off or blinking.
28 Off 1 Blinking
29 Off 0 Off
33 [Documentation] Verify the LED asserted at runtime is set to off or blinking.
39 On 0 Off
43 [Documentation] Verify the power supply units are asserted at standby to lit or off.
48 Off "xyz.openbmc_project.Led.Physical.Action.On" Lit
49 Off "xyz.openbmc_project.Led.Physical.Action.Off" Off
53 [Documentation] Verify the power supply units are asserted at runtime to lit or off.
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3588-evb1-v10.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
7 /dts-v1/;
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/pinctrl/rockchip.h>
15 compatible = "rockchip,rk3588-evb1-v10", "rockchip,rk3588";
23 stdout-path = "serial2:1500000n8";
27 compatible = "pwm-backlight";
28 power-supply = <&vcc12v_dcin>;
32 vcc12v_dcin: vcc12v-dcin-regulator {
33 compatible = "regulator-fixed";
[all …]
/openbmc/docs/designs/
H A Dstate-management-and-external-interfaces.md1 # OpenBMC State Management and External Interfaces
23 [phoshor-state-manager][2] implements the xyz.openbmc_project.State.\*
24 interfaces. These interfaces control and track the state of the BMC, Chassis,
28 the appropriate xyz.openbmc_project.State.\* D-Bus interface.
30 The goal with this design is to enhance the xyz.openbmc_project.State.\*
35 Currently phosphor-state-manager supports the following:
37 - Chassis: On/Off
38 - Host: On/Off/Reboot
60 "ForceOff": "Turn off the unit immediately (non-graceful shutdown).",
62 "ForceRestart": "Shut down immediately and non-gracefully and restart
[all …]
/openbmc/linux/arch/arm/boot/dts/nuvoton/
H A Dnuvoton-npcm730-gsj.dts1 // SPDX-License-Identifier: GPL-2.0
4 /dts-v1/;
5 #include "nuvoton-npcm730.dtsi"
6 #include "nuvoton-npcm730-gsj-gpio.dtsi"
8 #include <dt-bindings/gpio/gpio.h>
31 stdout-path = &serial3;
39 compatible = "gpio-leds";
41 led-bmc-live {
43 linux,default-trigger = "heartbeat";
48 default-state = "off";
[all …]
/openbmc/linux/drivers/gpio/
H A Dgpio-raspberrypi-exp.c1 // SPDX-License-Identifier: GPL-2.0+
15 #include <soc/bcm2835/raspberrypi-firmware.h>
17 #define MODULE_NAME "raspberrypi-exp-gpio"
38 u32 state; member
51 u32 state; member
54 static int rpi_exp_gpio_get_polarity(struct gpio_chip *gc, unsigned int off) in rpi_exp_gpio_get_polarity() argument
62 get.gpio = off + RPI_EXP_GPIO_BASE; /* GPIO to update */ in rpi_exp_gpio_get_polarity()
64 ret = rpi_firmware_property(gpio->fw, RPI_FIRMWARE_GET_GPIO_CONFIG, in rpi_exp_gpio_get_polarity()
67 dev_err(gc->parent, "Failed to get GPIO %u config (%d %x)\n", in rpi_exp_gpio_get_polarity()
68 off, ret, get.gpio); in rpi_exp_gpio_get_polarity()
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/ls/
H A Dls1021a-moxa-uc-8410a.dts1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) 2017 Moxa Inc. - https://www.moxa.com/
10 /dts-v1/;
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
17 model = "Moxa UC-8410A";
18 compatible = "fsl,ls1021a-moxa-uc-8410a", "fsl,ls1021a";
26 sys_mclk: clock-mclk {
27 compatible = "fixed-clock";
28 #clock-cells = <0>;
[all …]
/openbmc/phosphor-buttons/inc/
H A Dhost_then_chassis_poweroff.hpp7 #include <xyz/openbmc_project/State/Host/server.hpp>
19 * If power is off:
20 * - A button press will power on as long as the BMC is
21 * in the ready state.
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.
[all …]

12345678910>>...43