Home
last modified time | relevance | path

Searched refs:unitModifier (Results 1 – 6 of 6) sorted by relevance

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp336 valueIntf->maxValue(unitModifier(conversionFormula(maxValue))); in NumericSensor()
359 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()
410 thresholdWarningIntf->warningHigh(unitModifier(warningHigh)); in NumericSensor()
411 thresholdWarningIntf->warningLow(unitModifier(warningLow)); in NumericSensor()
430 thresholdCriticalIntf->criticalLow(unitModifier(criticalLow)); in NumericSensor()
619 hysteresis = unitModifier(conversionFormula(hysteresis)); in NumericSensor()
670 thresholdWarningIntf->warningHigh(unitModifier(warningHigh)); in NumericSensor()
671 thresholdWarningIntf->warningLow(unitModifier(warningLow)); in NumericSensor()
702 double NumericSensor::unitModifier(double value) in unitModifier() function in pldm::platform_mc::NumericSensor
733 newValue = unitModifier(conversionFormula(value)); in updateReading()
[all …]
H A Dnumeric_sensor.hpp90 double unitModifier(double value);
/openbmc/pldm/host-bmc/test/
H A Ddbus_to_terminus_effecter_test.cpp91 ASSERT_EQ(tempNumeric.unitModifier == dbusInfoNumeric.unitModifier, true); in TEST()
/openbmc/pldm/host-bmc/
H A Ddbus_to_terminus_effecters.cpp102 dbusInfo.unitModifier = effecter.value("unitModifier", 0); in parseEffecterJson()
324 double unitModifier = std::pow(10, signed(modify)); in adjustValue() local
325 return std::round((value - offset) * resolution / unitModifier); in adjustValue()
391 propValues.unitModifier); in processTerminusNumericEffecterChangeNotification()
H A Ddbus_to_terminus_effecters.hpp55 int8_t unitModifier; //!< Numeric effecter PDR unitModifier member
/openbmc/pldm/platform-mc/test/
H A Dnumeric_sensor_test.cpp100 convertedValue = sensor.unitModifier(convertedValue); in TEST()