/openbmc/phosphor-host-ipmid/test/dbus-sdr/ |
H A D | sensorcommands_unittest.cpp | 20 bool bSigned) in ipmitool_y_from_x() argument 28 int analog = bSigned ? 2 : 0; in ipmitool_y_from_x() 67 if (bSigned) in testValue() 111 bool bSigned; in testBounds() local 139 if (bSigned) in testBounds() 316 bool bSigned; in TEST() local 326 EXPECT_EQ(bSigned, false); in TEST() 347 EXPECT_EQ(bSigned, true); in TEST() 369 EXPECT_EQ(bSigned, false); in TEST() 385 EXPECT_EQ(bSigned, false); in TEST() [all …]
|
/openbmc/intel-ipmi-oem/tests/ |
H A D | test_sensorcommands.cpp | 20 bool bSigned) in ipmitool_y_from_x() argument 28 int analog = bSigned ? 2 : 0; in ipmitool_y_from_x() 67 if (bSigned) in testValue() 110 bool bSigned; in testBounds() local 138 if (bSigned) in testBounds() 315 bool bSigned; in TEST() local 325 EXPECT_EQ(bSigned, false); in TEST() 346 EXPECT_EQ(bSigned, true); in TEST() 368 EXPECT_EQ(bSigned, false); in TEST() 384 EXPECT_EQ(bSigned, false); in TEST() [all …]
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sensorutils.cpp | 152 bool& bSigned) in getSensorAttributes() argument 196 bSigned = true; in getSensorAttributes() 201 bSigned = false; in getSensorAttributes() 260 const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 288 if (bSigned) in scaleIPMIValueFromDouble() 313 bool bSigned = false; in getScaledIPMIValue() local 316 bSigned); in getScaledIPMIValue() 322 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|
H A D | sensorcommands.cpp | 501 bool bSigned = false; in calculateValue() local 508 double value = bSigned ? ((int8_t)reading) : reading; in calculateValue() 996 bool bSigned = false; in ipmiSenGetSensorReading() local 1004 bExp, bSigned); in ipmiSenGetSensorReading() 1038 if (bSigned) in ipmiSenGetSensorReading() 1188 bool bSigned = false; in ipmiSenSetSensorThresholds() local 1302 bool bSigned = false; in getIPMIThresholds() local 1322 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 1332 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 1847 bool bSigned = false; in constructSensorSdr() local [all …]
|
/openbmc/intel-ipmi-oem/include/ |
H A D | sensorutils.hpp | 161 bool& bSigned) in getSensorAttributes() argument 205 bSigned = true; in getSensorAttributes() 210 bSigned = false; in getSensorAttributes() 270 const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 298 if (bSigned) in scaleIPMIValueFromDouble() 323 bool bSigned = false; in getScaledIPMIValue() local 326 bSigned); in getScaledIPMIValue() 332 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 170 bool& bSigned) in getSensorAttributes() argument 187 bSigned = true; in getSensorAttributes() 192 bSigned = false; in getSensorAttributes() 281 const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 292 if (bSigned) in scaleIPMIValueFromDouble() 309 bool bSigned = 0; in getScaledIPMIValue() local 312 result = getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() 317 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|
/openbmc/phosphor-host-ipmid/include/dbus-sdr/ |
H A D | sensorutils.hpp | 32 bool& bSigned); 36 const int8_t bExp, const bool bSigned);
|
/openbmc/intel-ipmi-oem/src/ |
H A D | sensorcommands.cpp | 464 bool bSigned = false; in ipmiSenGetSensorReading() local 472 bExp, bSigned); in ipmiSenGetSensorReading() 504 if (bSigned) in ipmiSenGetSensorReading() 655 bool bSigned = false; in ipmiSenSetSensorThresholds() local 769 bool bSigned = false; in getIPMIThresholds() local 789 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 799 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 817 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 827 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 1395 bool bSigned = false; in getSensorDataRecord() local [all …]
|
/openbmc/fb-ipmi-oem/src/ |
H A D | storagecommands.cpp | 740 bool bSigned; in ipmiStorageGetSDR() local 742 if (!getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned)) in ipmiStorageGetSDR() 786 if (bSigned) in ipmiStorageGetSDR()
|