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.cpp567 enum class SlotPowerState enum
572 static SlotPowerState slotPowerState;
573 static constexpr std::string_view getSlotState(const SlotPowerState state) in getSlotState()
577 case SlotPowerState::on: in getSlotState()
580 case SlotPowerState::off: in getSlotState()
588 static void setSlotPowerState(const SlotPowerState state) in setSlotPowerState()
1328 if (power_control::slotPowerState != power_control::SlotPowerState::on) in slotPowerOn()
1334 setSlotPowerState(SlotPowerState::on); in slotPowerOn()
1351 if (power_control::slotPowerState != power_control::SlotPowerState::off) in slotPowerOff()
1357 setSlotPowerState(SlotPowerState::off); in slotPowerOff()
[all …]