Lines Matching +full:phosphor +full:- +full:led +full:- +full:manager
18 namespace phosphor namespace
20 namespace led namespace
22 using namespace phosphor::led::utils;
24 static constexpr auto phyLedPath = "/xyz/openbmc_project/led/physical/";
25 static constexpr auto phyLedIntf = "xyz.openbmc_project.Led.Physical";
27 /** @class Manager
30 class Manager class
33 /** @brief Only need the default Manager */
34 Manager() = delete;
35 ~Manager() = default;
36 Manager(const Manager&) = delete;
37 Manager& operator=(const Manager&) = delete;
38 Manager(Manager&&) = delete;
39 Manager& operator=(Manager&&) = delete;
42 static bool ledComp(const phosphor::led::Layout::LedAction& left, in ledComp()
43 const phosphor::led::Layout::LedAction& right) in ledComp()
59 static bool ledLess(const phosphor::led::Layout::LedAction& left, in ledLess()
60 const phosphor::led::Layout::LedAction& right) in ledLess()
66 static bool ledEqual(const phosphor::led::Layout::LedAction& left, in ledEqual()
67 const phosphor::led::Layout::LedAction& right) in ledEqual()
75 /** @brief Refer the user supplied LED layout and sdbusplus handler
77 * @param [in] bus - sdbusplus handler
78 * @param [in] GroupMap - LEDs group layout
79 * @param [in] Event - sd event handler
81 Manager( in Manager() function in phosphor::led::Manager
91 -> std::map<LedName, Layout::LedAction>;
95 * @param[in] path - dbus path of group
96 * @param[in] assert - Could be true or false
97 * @param[in] ledsAssert - LEDs that are to be asserted new
99 * @param[in] ledsDeAssert - LEDs that are to be Deasserted
101 * @return - Success or exception thrown
108 * @param[in] ledsAssert - LEDs that are to be asserted newly
110 * @param[in] ledsDeAssert - LEDs that are to be Deasserted
116 /** @brief Chooses appropriate action to be triggered on physical LED
119 * @param[in] objPath - D-Bus object path
120 * @param[in] action - Intended action to be triggered
121 * @param[in] dutyOn - Duty Cycle ON percentage
122 * @param[in] period - Time taken for one blink cycle
124 * @return: - 0: success, -1: LED set failed
131 * @param[in] callBack - Custom callback when enabled lamp test
138 /** Map of physical LED path to service name */
144 /** Map of led name to current state */
160 /** @brief Map to store the last error time for physical LED paths */
170 * @param[in] action - Action enum
177 } // namespace led
178 } // namespace phosphor