Home
last modified time | relevance | path

Searched refs:psuName (Results 1 – 6 of 6) sorted by relevance

/openbmc/dbus-sensors/src/psu/
H A DPSUEvent.cpp45 boost::asio::io_context& io, const std::string& psuName, in PSUCombineEvent() argument
50 std::string psuNameEscaped = sensor_paths::escapePathForDbus(psuName); in PSUCombineEvent()
70 std::string eventPSUName = eventName + psuName; in PSUCombineEvent()
75 eventName, assert, combineEvent, state, psuName, pollRate); in PSUCombineEvent()
92 std::string eventPSUName = groupEventName + psuName; in PSUCombineEvent()
97 eventName, assert, combineEvent, state, psuName, pollRate); in PSUCombineEvent()
111 for (auto& [psuName, subEvents] : events) in ~PSUCombineEvent()
147 std::shared_ptr<bool> state, const std::string& psuName, double pollRate) : in PSUSubEvent() argument
153 psuName(psuName), groupEventName(groupEventName), systemBus(conn) in PSUSubEvent()
330 (psuName + ',' + fanName)); in updateValue()
[all …]
H A DPSUEvent.hpp48 std::shared_ptr<bool> state, const std::string& psuName,
72 std::string psuName; member in PSUSubEvent
88 boost::asio::io_context& io, const std::string& psuName,
H A DPSUSensorMain.cpp262 sdbusplus::asio::object_server& objectServer, const std::string& psuName) in checkPWMSensor() argument
279 auto findPWMSensor = pwmSensors.find(psuName + labelHead); in checkPWMSensor()
286 name += psuName; in checkPWMSensor()
294 pwmSensors[psuName + labelHead] = std::make_unique<PwmSensor>( in checkPWMSensor()
480 const std::string* psuName = in createSensorsCallback() local
482 if (psuName == nullptr) in createSensorsCallback()
502 std::string psuNameStr = "/" + escapeName(*psuName); in createSensorsCallback()
980 combineEvents[*psuName + "OperationalStatus"] = nullptr; in createSensorsCallback()
981 combineEvents[*psuName + "OperationalStatus"] = in createSensorsCallback()
983 objectServer, dbusConnection, io, *psuName, readState, in createSensorsCallback()
/openbmc/phosphor-power/cold-redundancy/
H A Dutil.cpp28 const std::string& psuName, PSUState& state) in getPSUEvent() argument
33 std::string pathStr = psuEventPath + psuName + "_OperationalStatus"; in getPSUEvent()
H A Dutil.hpp58 const std::string& psuName, PSUState& state);
H A Dcold_redundancy.cpp92 std::string psuName = statePSUName.substr(0, hypenPos); in ColdRedundancy() local
106 if (psu->name != psuName) in ColdRedundancy()