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.cpp399 thresholdWarningIntf = in NumericSensor()
659 thresholdWarningIntf = in NumericSensor()
834 if (thresholdWarningIntf && in updateThresholds()
835 !std::isnan(thresholdWarningIntf->warningHigh())) in updateThresholds()
837 auto threshold = thresholdWarningIntf->warningHigh(); in updateThresholds()
843 thresholdWarningIntf->warningAlarmHigh(newAlarm); in updateThresholds()
855 if (thresholdWarningIntf && !std::isnan(thresholdWarningIntf->warningLow())) in updateThresholds()
857 auto threshold = thresholdWarningIntf->warningLow(); in updateThresholds()
858 auto alarm = thresholdWarningIntf->warningAlarmLow(); in updateThresholds()
863 thresholdWarningIntf->warningAlarmLow(newAlarm); in updateThresholds()
[all …]
H A Dnumeric_sensor.hpp154 if (thresholdWarningIntf) in getThresholdUpperWarning()
156 return thresholdWarningIntf->warningHigh(); in getThresholdUpperWarning()
170 if (thresholdWarningIntf) in getThresholdLowerWarning()
172 return thresholdWarningIntf->warningLow(); in getThresholdLowerWarning()
236 std::unique_ptr<ThresholdWarningIntf> thresholdWarningIntf = nullptr; member in pldm::platform_mc::NumericSensor