Home
last modified time | relevance | path

Searched refs:TachSensor (Results 1 – 12 of 12) sorted by relevance

/openbmc/phosphor-fan-presence/monitor/
H A Dtach_sensor.hpp71 class TachSensor class
74 TachSensor() = delete;
75 TachSensor(const TachSensor&) = delete;
78 TachSensor(TachSensor&&) = delete;
79 TachSensor& operator=(const TachSensor&) = delete;
80 TachSensor& operator=(TachSensor&&) = delete;
81 ~TachSensor() = default;
107 TachSensor(Mode mode, sdbusplus::bus_t& bus, Fan& fan,
H A Dfan.hpp93 void tachChanged(TachSensor& sensor);
110 void updateState(TachSensor& sensor);
137 const std::vector<std::shared_ptr<TachSensor>>& sensors() const in sensors()
158 void sensorErrorTimerExpired(const TachSensor& sensor);
170 void process(TachSensor& sensor);
185 void countTimerExpired(TachSensor& sensor);
202 bool outOfRange(const TachSensor& sensor);
282 std::vector<std::shared_ptr<TachSensor>> _sensors;
H A Dtach_sensor.cpp75 TachSensor::TachSensor([[maybe_unused]] Mode mode, sdbusplus::bus_t& bus, in TachSensor() function in phosphor::fan::monitor::TachSensor
156 void TachSensor::updateTachAndTarget() in updateTachAndTarget()
190 std::string TachSensor::getMatchString(const std::optional<std::string> path, in getMatchString()
201 uint64_t TachSensor::getTarget() const in getTarget()
210 std::pair<uint64_t, std::optional<uint64_t>> TachSensor::getRange( in getRange()
229 void TachSensor::processState() in processState()
241 void TachSensor::resetMethod() in resetMethod()
264 void TachSensor::setFunctional(bool functional, bool skipErrorTimer) in setFunctional()
287 void TachSensor::handleTargetChange(sdbusplus::message_t& msg) in handleTargetChange()
303 void TachSensor::handleTachChange(sdbusplus::message_t& msg) in handleTachChange()
[all …]
H A Dtrust_group.hpp19 std::shared_ptr<monitor::TachSensor> sensor;
67 void registerSensor(std::shared_ptr<monitor::TachSensor>& sensor) in registerSensor()
89 bool inGroup(const monitor::TachSensor& sensor) in inGroup()
139 auto checkTrust(const monitor::TachSensor& sensor) in checkTrust()
H A Dtrust_manager.hpp84 bool checkTrust(const monitor::TachSensor& sensor) in checkTrust()
122 void registerSensor(std::shared_ptr<monitor::TachSensor>& sensor) in registerSensor()
H A Dfan.cpp66 _sensors.emplace_back(std::make_shared<TachSensor>( in Fan()
230 void Fan::tachChanged(TachSensor& sensor) in tachChanged()
254 void Fan::countTimerExpired(TachSensor& sensor) in countTimerExpired()
263 void Fan::process(TachSensor& sensor) in process()
354 bool Fan::outOfRange(const TachSensor& sensor) in outOfRange()
368 void Fan::updateState(TachSensor& sensor) in updateState()
505 void Fan::sensorErrorTimerExpired(const TachSensor& sensor) in sensorErrorTimerExpired()
H A Dsystem.hpp43 std::map<std::string, std::set<std::shared_ptr<TachSensor>>>;
89 void sensorErrorTimerExpired(const Fan& fan, const TachSensor& sensor);
H A Dsystem.cpp425 void System::sensorErrorTimerExpired(const Fan& fan, const TachSensor& sensor) in sensorErrorTimerExpired()
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.cpp46 TachSensor::TachSensor( in TachSensor() function in TachSensor
101 TachSensor::~TachSensor() in ~TachSensor()
116 void TachSensor::setupRead() in setupRead()
118 std::weak_ptr<TachSensor> weakRef = weak_from_this(); in setupRead()
122 std::shared_ptr<TachSensor> self = weakRef.lock(); in setupRead()
130 void TachSensor::restartRead(size_t pollTime) in restartRead()
132 std::weak_ptr<TachSensor> weakRef = weak_from_this(); in restartRead()
139 std::shared_ptr<TachSensor> self = weakRef.lock(); in restartRead()
148 void TachSensor::handleResponse(const boost::system::error_code& err, in handleResponse()
199 void TachSensor::checkThresholds() in checkThresholds()
H A DTachSensor.hpp62 class TachSensor : class
64 public std::enable_shared_from_this<TachSensor>
67 TachSensor(const std::string& path, const std::string& objectType,
78 ~TachSensor() override;
H A Dmeson.build9 'TachSensor.cpp',
H A DFanMain.cpp227 const boost::container::flat_map<std::string, std::shared_ptr<TachSensor>>& in createRedundancySensor()
277 boost::container::flat_map<std::string, std::shared_ptr<TachSensor>>& in createSensors()
631 tachSensor = std::make_shared<TachSensor>( in createSensors()
664 boost::container::flat_map<std::string, std::shared_ptr<TachSensor>> in main()