Home
last modified time | relevance | path

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

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp326 thresholdWarningIntf = in NumericSensor()
536 thresholdWarningIntf = in NumericSensor()
670 if (thresholdWarningIntf && in updateThresholds()
671 !std::isnan(thresholdWarningIntf->warningHigh())) in updateThresholds()
673 auto threshold = thresholdWarningIntf->warningHigh(); in updateThresholds()
674 auto alarm = thresholdWarningIntf->warningAlarmHigh(); in updateThresholds()
679 thresholdWarningIntf->warningAlarmHigh(newAlarm); in updateThresholds()
691 if (thresholdWarningIntf && !std::isnan(thresholdWarningIntf->warningLow())) in updateThresholds()
693 auto threshold = thresholdWarningIntf->warningLow(); in updateThresholds()
694 auto alarm = thresholdWarningIntf->warningAlarmLow(); in updateThresholds()
[all …]
H A Dnumeric_sensor.hpp143 if (thresholdWarningIntf) in getThresholdUpperWarning()
145 return thresholdWarningIntf->warningHigh(); in getThresholdUpperWarning()
159 if (thresholdWarningIntf) in getThresholdLowerWarning()
161 return thresholdWarningIntf->warningLow(); in getThresholdLowerWarning()
195 std::unique_ptr<ThresholdWarningIntf> thresholdWarningIntf = nullptr; member in pldm::platform_mc::NumericSensor