/openbmc/phosphor-state-manager/ |
H A D | hypervisor_state_manager.cpp | 47 server::Host::HostState Hypervisor::currentHostState(HostState value) in currentHostState() function in phosphor::state::manager::Hypervisor 50 if (value != server::Host::currentHostState()) in currentHostState() 54 return server::Host::currentHostState(value); in currentHostState() 57 server::Host::HostState Hypervisor::currentHostState() const in currentHostState() function in phosphor::state::manager::Hypervisor 59 return server::Host::currentHostState(); in currentHostState() 69 currentHostState(server::Host::HostState::Standby); in updateCurrentHostState() 74 currentHostState(server::Host::HostState::Running); in updateCurrentHostState() 82 currentHostState(server::Host::HostState::Off); in updateCurrentHostState() 89 currentHostState(server::Host::HostState::Off); in updateCurrentHostState()
|
H A D | hypervisor_state_manager.hpp | 61 /** @brief Set value of CurrentHostState */ 62 server::Host::HostState currentHostState( 65 /** @brief Return value of CurrentHostState */ 66 server::Host::HostState currentHostState() const override;
|
H A D | host_state_manager.cpp | 69 server::Host::currentHostState(HostState::Running, true); in determineInitialState() 75 server::Host::currentHostState(HostState::Off, true); in determineInitialState() 297 this->currentHostState(server::Host::HostState::Off); in sysStateChangeJobRemoved() 306 this->currentHostState(server::Host::HostState::Running); in sysStateChangeJobRemoved() 331 this->currentHostState(server::Host::HostState::Quiesced); in sysStateChangeJobRemoved() 348 this->currentHostState(server::Host::HostState::DiagnosticMode); in sysStateChangeJobNew() 351 (server::Host::currentHostState() == in sysStateChangeJobNew() 463 Host::HostState Host::currentHostState(HostState value) in currentHostState() function in phosphor::state::manager::Host 466 return server::Host::currentHostState(value); in currentHostState()
|
/openbmc/phosphor-state-manager/test/ |
H A D | hypervisor_state.cpp | 22 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Off); in TEST() 27 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Standby); in TEST() 32 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Running); in TEST() 37 EXPECT_EQ(hypObj.currentHostState(), server::Host::HostState::Off); in TEST()
|
/openbmc/phosphor-fan-presence/ |
H A D | power_state.hpp | 269 * @brief PropertiesChanged callback for the CurrentHostState property. 286 auto currentHostState = in hostStateChanged() local 290 if (!currentHostState) in hostStateChanged() 294 HostState hostState = *currentHostState; in hostStateChanged() 334 * @brief Reads the CurrentHostState property from D-Bus and saves it. 359 auto currentHostState = in readHostState() local 364 hostPowerStates.emplace_back(currentHostState); in readHostState() 377 const std::string _hostStateProperty{"CurrentHostState"};
|
/openbmc/openpower-debug-collector/watchdog/ |
H A D | watchdog_dbus.cpp | 143 method.append(interface, "CurrentHostState"); in isHostStateRunning() 149 std::string currentHostState(std::get<std::string>(reply)); in isHostStateRunning() local 151 if (currentHostState == in isHostStateRunning() 159 lg2::error("Failed to read CurrentHostState property ({ERROR})", in isHostStateRunning()
|
H A D | watchdog_dbus.hpp | 57 * @return true if the CurrentHostState is 'Running'
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/State/ |
H A D | Host.interface.yaml | 24 supported. This list is valid from any CurrentHostState. 26 - name: CurrentHostState 31 comparing the CurrentHostState and the RequestedHostTransition
|
/openbmc/openpower-proc-control/ |
H A D | util.cpp | 55 constexpr auto property = "CurrentHostState"; in isHostPoweringOff() 70 "CurrentHostState property is not set ({})", object); in isHostPoweringOff() 87 std::format("Failed to read CurrentHostState property ({})", in isHostPoweringOff()
|
/openbmc/openbmc/meta-facebook/meta-harma/recipes-phosphor/gpio/phosphor-gpio-monitor/ |
H A D | assert-power-good | 13 CurrentHostState | awk '{print $2}' | tr -d '"') 23 CurrentHostState s \
|
H A D | deassert-power-good | 29 CurrentHostState | awk '{print $2}' | tr -d '"') 39 CurrentHostState s \
|
/openbmc/phosphor-post-code-manager/inc/ |
H A D | post_code.hpp | 98 auto valPropMap = msgData.find("CurrentHostState"); in __anon43c04d960202() 101 StateServer::Host::HostState currentHostState = in __anon43c04d960202() local 104 if (currentHostState == StateServer::Host::HostState::Off) in __anon43c04d960202()
|
/openbmc/phosphor-bmc-code-mgmt/bmc/side-switch/ |
H A D | side_switch.cpp | 153 auto currentHostState = utils::getProperty<std::string>( in powerOffSystem() local 155 "xyz.openbmc_project.State.Host", "CurrentHostState"); in powerOffSystem() 157 if (currentHostState == in powerOffSystem()
|
/openbmc/phosphor-debug-collector/tools/dreport.d/plugins.d/ |
H A D | hoststate | 15 CurrentHostState"
|
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/gpio/greatlakes-gpio-monitor-register/ |
H A D | set-current-host-state@.service | 6 …%i /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s "xyz.openbm…
|
/openbmc/phosphor-state-manager/service_files/ |
H A D | phosphor-set-host-transition-to-off@.service | 13 …i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s xyz.openbmc…
|
H A D | phosphor-set-host-transition-to-running@.service | 14 …i` /xyz/openbmc_project/state/host%i xyz.openbmc_project.State.Host CurrentHostState s xyz.openbmc…
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-ampere/host/ampere-hostctrl/ |
H A D | ampere-bmc-reboot-host-check@.service | 13 …t0` /xyz/openbmc_project/state/host0 xyz.openbmc_project.State.Host CurrentHostState | grep -i "\\…
|
H A D | ampere_host_check.sh | 6 CurrentHostState | cut -d"." -f6)
|
/openbmc/openbmc/meta-ampere/meta-common/recipes-phosphor/fans/ |
H A D | phosphor-fan_%.bbappend | 10 # To use CurrentHostState to decide host state for phosphor-fan-monitor
|
/openbmc/openbmc/meta-facebook/meta-bletchley/recipes-bletchley/plat-tools/files/ |
H A D | bletchley-system-state-init | 10 PROPERTY_NAME="CurrentHostState"
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/state/phosphor-state-manager/ |
H A D | host-poweron-failure | 23 xyz.openbmc_project.State.Host CurrentHostState \
|
H A D | power-cmd | 23 export HOST_PROPERTY_NAME="CurrentHostState"
|
/openbmc/openbmc/meta-facebook/meta-yosemite4/recipes-phosphor/dbus/power-saving-policy/ |
H A D | nic-3.yaml | 17 property: CurrentHostState
|
/openbmc/openbmc/meta-facebook/meta-greatlakes/recipes-phosphor/state/phosphor-state-manager/ |
H A D | power-cmd | 33 export HOST_PROPERTY_NAME="CurrentHostState"
|