Searched refs:fanPath (Results 1 – 6 of 6) sorted by relevance
| /openbmc/phosphor-fan-presence/presence/ |
| H A D | error_reporter.cpp | 98 auto fanPath = msg.get_path(); in presenceChanged() local 108 if (_fanStates[fanPath] != present) in presenceChanged() 111 fanPath, present)); in presenceChanged() 113 _fanStates[fanPath] = present; in presenceChanged() 114 checkFan(fanPath); in presenceChanged() 119 void ErrorReporter::checkFan(const std::string& fanPath) in checkFan() argument 121 auto& timer = std::get<0>(_fanMissingTimers[fanPath]); in checkFan() 123 if (!_fanStates[fanPath]) in checkFan() 129 timer->restartOnce(std::get<seconds>(_fanMissingTimers[fanPath])); in checkFan() 146 void ErrorReporter::fanMissingTimerExpired(const std::string& fanPath) in fanMissingTimerExpired() argument [all …]
|
| H A D | error_reporter.hpp | 77 void fanMissingTimerExpired(const std::string& fanPath); 86 void checkFan(const std::string& fanPath);
|
| /openbmc/bmcweb/redfish-core/lib/ |
| H A D | fan.hpp | 43 for (const std::string& fanPath : fanPaths) in updateFanList() local 46 sdbusplus::message::object_path(fanPath).filename(); in updateFanList() 130 inline bool checkFanId(const std::string& fanPath, const std::string& fanId) in checkFanId() argument 132 std::string fanName = sdbusplus::message::object_path(fanPath).filename(); in checkFanId() 141 const std::function<void(const std::string& fanPath, in handleFanPath() argument 144 for (const auto& fanPath : fanPaths) in handleFanPath() local 146 if (!checkFanId(fanPath, fanId)) in handleFanPath() 151 fanPath, fanInterface, in handleFanPath() 152 [fanPath, asyncResp, in handleFanPath() 162 callback(fanPath, object.begin()->first); in handleFanPath() [all …]
|
| /openbmc/phosphor-fan-presence/monitor/ |
| H A D | system.cpp | 427 std::string fanPath{util::INVENTORY_PATH + fan.getName()}; in sensorErrorTimerExpired() local 430 std::format("Creating event log for faulted fan {} sensor {}", fanPath, in sensorErrorTimerExpired() 460 fanPath, sensor.name(), severity); in sensorErrorTimerExpired() 471 std::string fanPath{util::INVENTORY_PATH + fan.getName()}; in fanMissingErrorTimerExpired() local 474 std::format("Creating event log for missing fan {}", fanPath), in fanMissingErrorTimerExpired() 478 "xyz.openbmc_project.Fan.Error.Missing", fanPath, "", Severity::Error); in fanMissingErrorTimerExpired()
|
| /openbmc/phosphor-pid-control/dbus/ |
| H A D | dbusconfiguration.cpp | 957 const std::string& fanPath = in init() local 959 fanSensorName = getSensorNameFromPath(fanPath); in init() 965 fanConfig.readPath = fanPath; in init()
|
| /openbmc/intel-ipmi-oem/src/ |
| H A D | manufacturingcommands.cpp | 304 std::string fanPath = "/Fan_"; in findPwmName() local 306 fanPath += std::to_string(instance); in findPwmName() 309 if (objPath != fanPath) in findPwmName()
|