/openbmc/phosphor-host-ipmid/test/dbus-sdr/ |
H A D | sensorcommands_unittest.cpp | 70 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 D | test_sensorcommands.cpp | 70 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 D | sensorutils.cpp | 258 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 D | sensorcommands.cpp | 1003 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 D | sensorutils.hpp | 268 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 D | sensorutils.hpp | 34 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue,
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 279 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 D | sensorcommands.cpp | 471 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()
|