Home
last modified time | relevance | path

Searched refs:scaleIPMIValueFromDouble (Results 1 – 7 of 7) sorted by relevance

/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp71 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
82 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
332 scaledVal = ipmi::scaleIPMIValueFromDouble(0x50, mValue, rExp, bValue, bExp, in TEST()
355 scaledVal = ipmi::scaleIPMIValueFromDouble(-20, mValue, rExp, bValue, bExp, in TEST()
390 scaledVal = ipmi::scaleIPMIValueFromDouble(12.2, mValue, rExp, bValue, bExp, in TEST()
433 ipmi::scaleIPMIValueFromDouble(5, mValue, rExp, bValue, bExp, bSigned); in TEST()
450 scaledVal = ipmi::scaleIPMIValueFromDouble(maxValue, mValue, rExp, bValue, in TEST()
/openbmc/phosphor-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp71 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
82 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
333 scaledVal = ipmi::scaleIPMIValueFromDouble(0x50, mValue, rExp, bValue, bExp, in TEST()
356 scaledVal = ipmi::scaleIPMIValueFromDouble(-20, mValue, rExp, bValue, bExp, in TEST()
391 scaledVal = ipmi::scaleIPMIValueFromDouble(12.2, mValue, rExp, bValue, bExp, in TEST()
434 ipmi::scaleIPMIValueFromDouble(5, mValue, rExp, bValue, bExp, bSigned); in TEST()
451 scaledVal = ipmi::scaleIPMIValueFromDouble(maxValue, mValue, rExp, bValue, in TEST()
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hpp265 static inline uint8_t scaleIPMIValueFromDouble( in scaleIPMIValueFromDouble() function
329 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorutils.cpp257 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue, in scaleIPMIValueFromDouble() function
321 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
H A Dsensorcommands.cpp986 scaleIPMIValueFromDouble(reading, mValue, rExp, bValue, bExp, bSigned); in ipmiSenGetSensorReading()
1302 resp.warningHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
1312 resp.warningLow = scaleIPMIValueFromDouble( in getIPMIThresholds()
1330 resp.criticalHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
1340 resp.criticalLow = scaleIPMIValueFromDouble( in getIPMIThresholds()
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dsensorutils.hpp34 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue,
/openbmc/fb-ipmi-oem/include/
H A Dsensorutils.hpp277 static inline uint8_t scaleIPMIValueFromDouble( in scaleIPMIValueFromDouble() function
315 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()