Lines Matching +full:led +full:- +full:order
5 #include <phosphor-logging/lg2.hpp>
7 #include <xyz/openbmc_project/Led/Physical/server.hpp>
16 namespace led namespace
19 // apply the led action to the map
46 -> std::map<LedName, Layout::LedAction> in getNewMapWithGroupPriorities()
53 // apply all led actions of that group to the map in getNewMapWithGroupPriorities()
54 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithGroupPriorities()
69 // apply all led actions of that group to the map in getNewMapWithLEDPriorities()
70 for (const Layout::LedAction& action : it->actionSet) in getNewMapWithLEDPriorities()
92 if (it->priority != 0) in getNewMap()
110 // Assert -or- De-assert
135 // check if the led action has changed in setGroupState()
196 // Discard current required LED actions, if these LEDs have new actions in driveLEDs()
202 // Union the remaining LED actions with new LED actions. in driveLEDs()
213 // Calls into driving physical LED post choosing the action
225 phosphor::led::utils::DBusHandler::setProperty( in drivePhysicalLED()
227 phosphor::led::utils::DBusHandler::setProperty( in drivePhysicalLED()
232 phosphor::led::utils::DBusHandler::setProperty(objPath, phyLedIntf, in drivePhysicalLED()
238 // hour per LED. in drivePhysicalLED()
245 if ((now - it->second) < 1h) in drivePhysicalLED()
247 return -1; in drivePhysicalLED()
252 "Error setting property for physical LED, ERROR = {ERROR}, OBJECT_PATH = {PATH}", in drivePhysicalLED()
255 return -1; in drivePhysicalLED()
264 namespace server = sdbusplus::xyz::openbmc_project::Led::server; in getPhysicalAction()
266 // TODO: openbmc/phosphor-led-manager#5 in getPhysicalAction()
288 // This order of LED operation is important. in driveLedsHandler()
292 lg2::debug("De-Asserting LED, NAME = {NAME}, ACTION = {ACTION}", "NAME", in driveLedsHandler()
304 lg2::debug("Asserting LED, NAME = {NAME}, ACTION = {ACTION}", "NAME", in driveLedsHandler()
327 } // namespace led