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.cpp561 enum class SlotPowerState enum
566 static SlotPowerState slotPowerState;
567 static constexpr std::string_view getSlotState(const SlotPowerState state) in getSlotState()
571 case SlotPowerState::on: in getSlotState()
574 case SlotPowerState::off: in getSlotState()
582 static void setSlotPowerState(const SlotPowerState state) in setSlotPowerState()
1320 if (power_control::slotPowerState != power_control::SlotPowerState::on) in slotPowerOn()
1326 setSlotPowerState(SlotPowerState::on); in slotPowerOn()
1349 setSlotPowerState(SlotPowerState::off); in slotPowerOff()
3253 slotPowerState = SlotPowerState::off; in main()
[all …]