Home
last modified time | relevance | path

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

/openbmc/bmcweb/redfish-core/lib/
H A Dfan.hpp44 for (const std::string& fanPath : fanPaths) in updateFanList() local
47 sdbusplus::message::object_path(fanPath).filename(); in updateFanList()
174 inline bool checkFanId(const std::string& fanPath, const std::string& fanId) in checkFanId() argument
176 std::string fanName = sdbusplus::message::object_path(fanPath).filename(); in checkFanId()
185 const std::function<void(const std::string& fanPath, in handleFanPath() argument
188 for (const auto& fanPath : fanPaths) in handleFanPath() local
190 if (!checkFanId(fanPath, fanId)) in handleFanPath()
195 fanPath, fanInterface, in handleFanPath()
196 [fanPath, asyncResp, in handleFanPath()
206 callback(fanPath, object.begin()->first); in handleFanPath()
[all …]
/openbmc/phosphor-fan-presence/presence/
H A Derror_reporter.cpp99 auto fanPath = msg.get_path(); in presenceChanged() local
109 if (_fanStates[fanPath] != present) in presenceChanged()
112 fanPath, present)); in presenceChanged()
114 _fanStates[fanPath] = present; in presenceChanged()
115 checkFan(fanPath); in presenceChanged()
120 void ErrorReporter::checkFan(const std::string& fanPath) in checkFan() argument
122 auto& timer = std::get<0>(_fanMissingTimers[fanPath]); in checkFan()
124 if (!_fanStates[fanPath]) in checkFan()
130 timer->restartOnce(std::get<seconds>(_fanMissingTimers[fanPath])); in checkFan()
147 void ErrorReporter::fanMissingTimerExpired(const std::string& fanPath) in fanMissingTimerExpired() argument
[all …]
H A Derror_reporter.hpp77 void fanMissingTimerExpired(const std::string& fanPath);
86 void checkFan(const std::string& fanPath);
/openbmc/phosphor-fan-presence/monitor/
H A Dsystem.cpp428 std::string fanPath{util::INVENTORY_PATH + fan.getName()}; in sensorErrorTimerExpired() local
431 std::format("Creating event log for faulted fan {} sensor {}", fanPath, in sensorErrorTimerExpired()
461 fanPath, sensor.name(), severity); in sensorErrorTimerExpired()
472 std::string fanPath{util::INVENTORY_PATH + fan.getName()}; in fanMissingErrorTimerExpired() local
475 std::format("Creating event log for missing fan {}", fanPath), in fanMissingErrorTimerExpired()
479 "xyz.openbmc_project.Fan.Error.Missing", fanPath, "", Severity::Error); in fanMissingErrorTimerExpired()
/openbmc/phosphor-pid-control/dbus/
H A Ddbusconfiguration.cpp877 const std::string& fanPath = in init() local
879 fanSensorName = getSensorNameFromPath(fanPath); in init()
885 fanConfig.readPath = fanPath; in init()
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp304 std::string fanPath = "/Fan_"; in findPwmName() local
306 fanPath += std::to_string(instance); in findPwmName()
309 if (objPath != fanPath) in findPwmName()