Home
last modified time | relevance | path

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

/openbmc/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp20 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 Dsensorcommands_unittest.cpp20 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 Dsensorutils.hpp160 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 Dsensorutils.cpp152 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 Dsensorcommands.cpp493 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 Dsensorutils.hpp169 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 Dsensorutils.hpp32 bool& bSigned);
36 const int8_t bExp, const bool bSigned);
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp740 bool bSigned; in ipmiStorageGetSDR() local
742 if (!getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned)) in ipmiStorageGetSDR()
786 if (bSigned) in ipmiStorageGetSDR()