Home
last modified time | relevance | path

Searched full:thresholds (Results 1 – 25 of 649) sorted by relevance

12345678910>>...26

/openbmc/phosphor-hwmon/
H A Dthresholds.hpp8 /** @class Thresholds
14 struct Thresholds struct
18 static_assert(sizeof(Thresholds) == -1, "Unsupported Threshold type"); in fail() argument
22 /**@brief Thresholds specialization for warning thresholds. */
24 struct Thresholds<WarningObject> struct
43 /**@brief Thresholds specialization for critical thresholds. */ argument
45 struct Thresholds<CriticalObject> struct
72 * @param[in] value - The sensor reading to compare to thresholds.
78 auto lo = (*realIface.*Thresholds<T>::getLo)(); in checkThresholds() argument
79 auto hi = (*realIface.*Thresholds<T>::getHi)(); in checkThresholds()
[all …]
H A Dmainloop.cpp29 #include "thresholds.hpp"
49 decltype(Thresholds<WarningObject>::setLo) Thresholds<WarningObject>::setLo =
51 decltype(Thresholds<WarningObject>::setHi) Thresholds<WarningObject>::setHi =
53 decltype(Thresholds<WarningObject>::getLo) Thresholds<WarningObject>::getLo =
55 decltype(Thresholds<WarningObject>::getHi) Thresholds<WarningObject>::getHi =
57 decltype(Thresholds<WarningObject>::alarmLo)
58 Thresholds<WarningObject>::alarmLo = &WarningObject::warningAlarmLow;
59 decltype(Thresholds<WarningObject>::alarmHi)
60 Thresholds<WarningObject>::alarmHi = &WarningObject::warningAlarmHigh;
61 decltype(Thresholds<WarningObject>::getAlarmLow)
[all …]
/openbmc/entity-manager/configurations/
H A Dmtmitchell_mb.json11 "Thresholds": [ array
46 "Thresholds": [ array
81 "Thresholds": [ array
116 "Thresholds": [ array
151 "Thresholds": [ array
186 "Thresholds": [ array
221 "Thresholds": [ array
256 "Thresholds": [ array
291 "Thresholds": [ array
326 "Thresholds": [ array
[all …]
H A Dmtjade.json9 "Thresholds": [ array
37 "Thresholds": [ array
60 "Thresholds": [ array
83 "Thresholds": [ array
106 "Thresholds": [ array
129 "Thresholds": [ array
152 "Thresholds": [ array
175 "Thresholds": [ array
198 "Thresholds": [ array
221 "Thresholds": [ array
[all …]
H A Dvegman_sx20_baseboard.json9 "Thresholds": [ array
40 "Thresholds": [ array
71 "Thresholds": [ array
103 "Thresholds": [ array
135 "Thresholds": [ array
168 "Thresholds": [ array
200 "Thresholds": [ array
234 "Thresholds": [ array
268 "Thresholds": [ array
301 "Thresholds": [ array
[all …]
H A Dvegman_rx20_baseboard.json9 "Thresholds": [ array
40 "Thresholds": [ array
71 "Thresholds": [ array
103 "Thresholds": [ array
135 "Thresholds": [ array
168 "Thresholds": [ array
200 "Thresholds": [ array
234 "Thresholds": [ array
268 "Thresholds": [ array
301 "Thresholds": [ array
[all …]
H A Dstp_baseboard.json7 "Thresholds": [ array
39 "Thresholds": [ array
71 "Thresholds": [ array
103 "Thresholds": [ array
135 "Thresholds": [ array
167 "Thresholds": [ array
199 "Thresholds": [ array
231 "Thresholds": [ array
263 "Thresholds": [ array
295 "Thresholds": [ array
[all …]
H A Dfp5280g3_fanboard.json27 "Thresholds": [ array
56 "Thresholds": [ array
85 "Thresholds": [ array
114 "Thresholds": [ array
143 "Thresholds": [ array
172 "Thresholds": [ array
201 "Thresholds": [ array
230 "Thresholds": [ array
259 "Thresholds": [ array
288 "Thresholds": [ array
[all …]
H A Dvegman_n110_baseboard.json9 "Thresholds": [ array
40 "Thresholds": [ array
72 "Thresholds": [ array
104 "Thresholds": [ array
137 "Thresholds": [ array
169 "Thresholds": [ array
203 "Thresholds": [ array
236 "Thresholds": [ array
269 "Thresholds": [ array
302 "Thresholds": [ array
[all …]
H A Dmtjefferson_mb.json20 "Thresholds": [ array
64 "Thresholds": [ array
102 "Thresholds": [ array
139 "Thresholds": [ array
177 "Thresholds": [ array
215 "Thresholds": [ array
253 "Thresholds": [ array
292 "Thresholds": [ array
330 "Thresholds": [ array
368 "Thresholds": [ array
[all …]
H A Dasrock_e3c246d4i.json7 "Thresholds": [ array
39 "Thresholds": [ array
70 "Thresholds": [ array
90 "Thresholds": [ array
122 "Thresholds": [ array
153 "Thresholds": [ array
185 "Thresholds": [ array
223 "Thresholds": [ array
263 "Thresholds": [ array
296 "Thresholds": [ array
[all …]
H A Dasrock_romed8hm3.json7 "Thresholds": [ array
39 "Thresholds": [ array
72 "Thresholds": [ array
105 "Thresholds": [ array
137 "Thresholds": [ array
169 "Thresholds": [ array
202 "Thresholds": [ array
235 "Thresholds": [ array
267 "Thresholds": [ array
300 "Thresholds": [ array
[all …]
/openbmc/dbus-sensors/src/
H A Dsensor.hpp6 #include "Thresholds.hpp"
62 std::vector<thresholds::Threshold>&& thresholdData, in Sensor()
71 minValue(min), thresholds(std::move(thresholdData)), in Sensor()
94 std::vector<thresholds::Threshold> thresholds; member
117 using Level = thresholds::Level;
118 using Direction = thresholds::Direction;
121 thresholds::thresProp.size()>
236 // check thresholds for external set in setSensorValue()
275 for (auto& threshold : thresholds) in setInitialProperties()
301 label.empty() ? thresholds.size() : thresholdSize; in setInitialProperties()
[all …]
/openbmc/entity-manager/configurations/meta/
H A Dfbyv2.json7 "Thresholds": [ array
27 "Thresholds": [ array
47 "Thresholds": [ array
67 "Thresholds": [ array
87 "Thresholds": [ array
107 "Thresholds": [ array
127 "Thresholds": [ array
147 "Thresholds": [ array
167 "Thresholds": [ array
187 "Thresholds": [ array
[all …]
H A Dbletchley_baseboard.json7 "Thresholds": [ array
27 "Thresholds": [ array
47 "Thresholds": [ array
75 "Thresholds": [ array
95 "Thresholds": [ array
115 "Thresholds": [ array
134 "Thresholds": [ array
153 "Thresholds": [ array
173 "Thresholds": [ array
193 "Thresholds": [ array
[all …]
H A Dfbtp.json7 "Thresholds": [ array
27 "Thresholds": [ array
47 "Thresholds": [ array
66 "Thresholds": [ array
85 "Thresholds": [ array
105 "Thresholds": [ array
125 "Thresholds": [ array
151 "Thresholds": [ array
177 "Thresholds": [ array
209 "Thresholds": [ array
[all …]
H A Dfbyv35.json7 "Thresholds": [ array
51 "Thresholds": [ array
95 "Thresholds": [ array
139 "Thresholds": [ array
171 "Thresholds": [ array
215 "Thresholds": [ array
247 "Thresholds": [ array
291 "Thresholds": [ array
335 "Thresholds": [ array
377 "Thresholds": [ array
[all …]
H A Dcatalina_pdb.json23 "Thresholds": [ array
53 "Thresholds": [ array
83 "Thresholds": [ array
113 "Thresholds": [ array
143 "Thresholds": [ array
173 "Thresholds": [ array
203 "Thresholds": [ array
233 "Thresholds": [ array
263 "Thresholds": [ array
293 "Thresholds" array
323 "Thresholds": [ global() array
353 "Thresholds": [ global() array
383 "Thresholds": [ global() array
413 "Thresholds": [ global() array
443 "Thresholds": [ global() array
473 "Thresholds": [ global() array
499 "Thresholds": [ global() array
531 "Thresholds": [ global() array
563 "Thresholds": [ global() array
644 "Thresholds": [ global() array
706 "Thresholds": [ global() array
768 "Thresholds": [ global() array
829 "Thresholds": [ global() array
875 "Thresholds": [ global() array
921 "Thresholds": [ global() array
961 "Thresholds": [ global() array
[all...]
H A Dcatalina_scm.json7 "Thresholds": [ array
29 "Thresholds": [
51 "Thresholds": [
73 "Thresholds": [
95 "Thresholds": [
117 "Thresholds": [
139 "Thresholds": [
169 "Thresholds": [
190 "Thresholds": [
222 "Thresholds"
27 "Thresholds": [ global() array
47 "Thresholds": [ global() array
67 "Thresholds": [ global() array
87 "Thresholds": [ global() array
107 "Thresholds": [ global() array
127 "Thresholds": [ global() array
155 "Thresholds": [ global() array
174 "Thresholds": [ global() array
204 "Thresholds": [ global() array
[all...]
H A Dharma_scm.json7 "Thresholds": [ array
27 "Thresholds": [ array
47 "Thresholds": [ array
67 "Thresholds": [ array
87 "Thresholds": [ array
107 "Thresholds": [ array
127 "Thresholds": [ array
146 "Thresholds": [ array
170 "Thresholds": [ array
H A Dminerva_cmm_scm.json7 "Thresholds": [ array
29 "Thresholds": [ array
51 "Thresholds": [ array
73 "Thresholds": [ array
95 "Thresholds": [ array
117 "Thresholds": [ array
138 "Thresholds": [ array
159 "Thresholds": [ array
185 "Thresholds": [ array
H A Dventura_scm.json7 "Thresholds": [ array
27 "Thresholds": [ array
47 "Thresholds": [ array
67 "Thresholds": [ array
87 "Thresholds": [ array
107 "Thresholds": [ array
127 "Thresholds": [ array
155 "Thresholds": [ array
174 "Thresholds": [ array
H A Dminerva_pttv.json16 "Thresholds": [ array
138 "Thresholds": [ array
203 "Thresholds": [ array
263 "Thresholds": [ array
279 "Thresholds": [ array
295 "Thresholds": [ array
311 "Thresholds": [ array
327 "Thresholds": [ array
343 "Thresholds": [ array
359 "Thresholds": [ array
[all …]
/openbmc/linux/drivers/power/supply/
H A Dda9030_battery.c100 struct da9030_battery_thresholds thresholds; member
247 charger->thresholds.vbat_charge_start)) { in da9030_charger_check_state()
258 charger->thresholds.vbat_charge_stop) { in da9030_charger_check_state()
261 charger->thresholds.vbat_charge_restart); in da9030_charger_check_state()
263 charger->thresholds.vbat_low) { in da9030_charger_check_state()
268 charger->thresholds.vbat_low); in da9030_charger_check_state()
270 if (charger->adc.vchmax_res > charger->thresholds.vcharge_max || in da9030_charger_check_state()
271 charger->adc.vchmin_res < charger->thresholds.vcharge_min || in da9030_charger_check_state()
273 charger->adc.tbat_res < charger->thresholds.tbat_high || in da9030_charger_check_state()
274 charger->adc.tbat_res > charger->thresholds.tbat_low) { in da9030_charger_check_state()
[all …]
/openbmc/phosphor-health-monitor/
H A Dhealth_metric.cpp111 std::map<Type, bound_map_t> thresholds; in initProperties() local
112 for (const auto& [key, value] : config.thresholds) in initProperties()
116 auto threshold = thresholds.find(type); in initProperties()
117 if (threshold == thresholds.end()) in initProperties()
121 thresholds.emplace(type, bounds); in initProperties()
128 ThresholdIntf::value(thresholds, true); in initProperties()
155 auto thresholds = ThresholdIntf::value(); in checkThreshold() local
157 if (thresholds.contains(type) && thresholds[type].contains(bound)) in checkThreshold()
159 auto tConfig = config.thresholds.at(threshold); in checkThreshold()
161 thresholds[type][bound] = thresholdValue; in checkThreshold()
[all …]

12345678910>>...26