Home
last modified time | relevance | path

Searched refs:SlotPowerState (Results 1 – 1 of 1) sorted by relevance

/openbmc/x86-power-control/src/
H A Dpower_control.cpp529 enum class SlotPowerState enum
534 static SlotPowerState slotPowerState;
535 static constexpr std::string_view getSlotState(const SlotPowerState state) in getSlotState()
539 case SlotPowerState::on: in getSlotState()
541 case SlotPowerState::off: in getSlotState()
547 static void setSlotPowerState(const SlotPowerState state) in setSlotPowerState()
1279 if (power_control::slotPowerState != power_control::SlotPowerState::on) in slotPowerOn()
1285 setSlotPowerState(SlotPowerState::on); in slotPowerOn()
1302 if (power_control::slotPowerState != power_control::SlotPowerState::off) in slotPowerOff()
1308 setSlotPowerState(SlotPowerState::off); in slotPowerOff()
[all …]