Home
last modified time | relevance | path

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

/openbmc/phosphor-led-manager/manager/
H A Dmanager.hpp41 static bool ledComp(const phosphor::led::Layout::LedAction& left, in ledComp()
42 const phosphor::led::Layout::LedAction& right) in ledComp()
58 static bool ledLess(const phosphor::led::Layout::LedAction& left, in ledLess()
59 const phosphor::led::Layout::LedAction& right) in ledLess()
65 static bool ledEqual(const phosphor::led::Layout::LedAction& left, in ledEqual()
66 const phosphor::led::Layout::LedAction& right) in ledEqual()
91 -> std::map<LedName, Layout::LedAction>;
149 std::map<std::string, Layout::LedAction> ledStateMap;
H A Dmanager.cpp18 static void applyGroupAction(std::map<LedName, Layout::LedAction>& newState, in applyGroupAction()
19 Layout::LedAction action) in applyGroupAction()
44 -> std::map<LedName, Layout::LedAction> in getNewMapWithGroupPriorities()
46 std::map<LedName, Layout::LedAction> newState; in getNewMapWithGroupPriorities()
52 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithGroupPriorities()
60 static std::map<LedName, Layout::LedAction> getNewMapWithLEDPriorities( in getNewMapWithLEDPriorities()
63 std::map<LedName, Layout::LedAction> newState; in getNewMapWithLEDPriorities()
68 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithLEDPriorities()
77 std::map<LedName, Layout::LedAction>
80 std::map<LedName, Layout::LedAction> newState; in getNewMap()
H A Dledlayout.hpp24 struct LedAction struct
35 bool operator<(const LedAction& right) const in operator <() argument
53 using ActionSet = std::set<Layout::LedAction>;
H A Djson-parser.hpp95 phosphor::led::Layout::LedAction ledAction{name, action, dutyOn, period, in loadJsonConfigV1GroupMember()
/openbmc/linux/drivers/staging/rtl8712/
H A Drtl871x_led.h104 enum LED_CTL_MODE LedAction);
114 void LedControl871x(struct _adapter *padapter, enum LED_CTL_MODE LedAction);
H A Drtl8712_led.c872 enum LED_CTL_MODE LedAction) in SwLedControlMode1() argument
881 switch (LedAction) { in SwLedControlMode1()
1092 enum LED_CTL_MODE LedAction) in SwLedControlMode2() argument
1098 switch (LedAction) { in SwLedControlMode2()
1225 enum LED_CTL_MODE LedAction) in SwLedControlMode3() argument
1231 switch (LedAction) { in SwLedControlMode3()
1369 enum LED_CTL_MODE LedAction) in SwLedControlMode4() argument
1376 switch (LedAction) { in SwLedControlMode4()
1415 if (LedAction == LED_CTL_LINK) { in SwLedControlMode4()
1645 switch (LedAction) { in SwLedControlMode5()
[all …]
/openbmc/phosphor-led-manager/test/
H A Dutest-group-priority.cpp23 static void assertMap(std::map<LedName, Layout::LedAction> map, in assertMap()
61 std::map<LedName, Layout::LedAction> map = in TEST_F()
109 std::map<LedName, Layout::LedAction> map = in TEST_F()
/openbmc/phosphor-led-manager/manager/lamptest/
H A Dlamptest.cpp170 phosphor::led::Layout::LedAction ledAction{ in storePhysicalLEDsStates()