Home
last modified time | relevance | path

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

/openbmc/phosphor-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp70 int8_t actual = ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, in testValue()
81 uint8_t actual = ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, 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()
433 scaledVal = ipmi::scaleIPMIValueFromDouble(5, mValue, rExp, bValue, bExp, in TEST()
451 scaledVal = ipmi::scaleIPMIValueFromDouble(maxValue, mValue, rExp, bValue, in TEST()
/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp70 int8_t actual = ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, in testValue()
81 uint8_t actual = ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, 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()
432 scaledVal = ipmi::scaleIPMIValueFromDouble(5, mValue, rExp, bValue, bExp, in TEST()
450 scaledVal = ipmi::scaleIPMIValueFromDouble(maxValue, mValue, rExp, bValue, in TEST()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorutils.cpp258 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue, in scaleIPMIValueFromDouble() function
322 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
H A Dsensorcommands.cpp1003 uint8_t value = scaleIPMIValueFromDouble(reading, mValue, rExp, bValue, in ipmiSenGetSensorReading()
1321 resp.warningHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
1331 resp.warningLow = scaleIPMIValueFromDouble( in getIPMIThresholds()
1349 resp.criticalHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
1359 resp.criticalLow = scaleIPMIValueFromDouble( in getIPMIThresholds()
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hpp268 scaleIPMIValueFromDouble(const double value, const int16_t mValue, in scaleIPMIValueFromDouble() function
332 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
/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.hpp279 scaleIPMIValueFromDouble(const double value, const uint16_t mValue, in scaleIPMIValueFromDouble() function
317 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
/openbmc/intel-ipmi-oem/src/
H A Dsensorcommands.cpp471 uint8_t value = scaleIPMIValueFromDouble(reading, mValue, rExp, bValue, in ipmiSenGetSensorReading()
788 resp.warningHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
798 resp.warningLow = scaleIPMIValueFromDouble( in getIPMIThresholds()
816 resp.criticalHigh = scaleIPMIValueFromDouble( in getIPMIThresholds()
826 resp.criticalLow = scaleIPMIValueFromDouble( in getIPMIThresholds()