Home
last modified time | relevance | path

Searched refs:fanHealth (Results 1 – 2 of 2) sorted by relevance

/openbmc/phosphor-fan-presence/monitor/
H A Dpower_off_cause.hpp49 virtual bool satisfied(const FanHealth& fanHealth) = 0;
110 bool satisfied(const FanHealth& fanHealth) override in satisfied() argument
112 size_t count = std::count_if(fanHealth.begin(), fanHealth.end(), in satisfied()
153 bool satisfied(const FanHealth& fanHealth) override in satisfied() argument
155 size_t count = std::accumulate(fanHealth.begin(), fanHealth.end(), 0, in satisfied()
202 bool satisfied(const FanHealth& fanHealth) override in satisfied() argument
204 size_t count = std::count_if(fanHealth.begin(), fanHealth.end(), in satisfied()
H A Dpower_off_rule.hpp77 void check(PowerRuleState state, const FanHealth& fanHealth) in check() argument
79 auto satisfied = _cause->satisfied(fanHealth); in check()