/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/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/include/ |
H A D | sensorutils.hpp | 160 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument 204 bSigned = true; in getSensorAttributes() 209 bSigned = false; in getSensorAttributes() 267 const int16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 295 if (bSigned) in scaleIPMIValueFromDouble() 320 bool bSigned = false; in getScaledIPMIValue() local 323 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() 329 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|
/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() 259 const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 287 if (bSigned) in scaleIPMIValueFromDouble() 312 bool bSigned = false; in getScaledIPMIValue() local 315 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() 321 return scaleIPMIValueFromDouble(value, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue()
|
H A D | sensorcommands.cpp | 493 bool bSigned = false; in calculateValue() local 500 double value = bSigned ? ((int8_t)reading) : reading; in calculateValue() 978 bool bSigned = false; in ipmiSenGetSensorReading() local 1020 if (bSigned) in ipmiSenGetSensorReading() 1043 << " bSigned=" << static_cast<int>(bSigned) << "\n"; in ipmiSenGetSensorReading() 1169 bool bSigned = false; in ipmiSenSetSensorThresholds() local 1283 bool bSigned = false; in getIPMIThresholds() local 1303 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 1313 value, mValue, rExp, bValue, bExp, bSigned); in getIPMIThresholds() 1852 bool bSigned = false; in constructSensorSdr() local [all …]
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 169 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument 186 bSigned = true; in getSensorAttributes() 191 bSigned = false; in getSensorAttributes() 279 const uint16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 290 if (bSigned) in scaleIPMIValueFromDouble() 307 bool bSigned = 0; in getScaledIPMIValue() local 310 result = getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() 315 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/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()
|