/openbmc/intel-ipmi-oem/tests/ |
H A D | test_sensorcommands.cpp | 71 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 D | sensorcommands_unittest.cpp | 71 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 D | sensorutils.hpp | 265 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 D | sensorutils.cpp | 257 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 D | sensorcommands.cpp | 986 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 D | sensorutils.hpp | 34 uint8_t scaleIPMIValueFromDouble(const double value, const int16_t mValue,
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 277 static inline uint8_t scaleIPMIValueFromDouble( in scaleIPMIValueFromDouble() function 315 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|