/openbmc/intel-ipmi-oem/tests/ |
H A D | test_sensorcommands.cpp | 109 int8_t bExp; in testBounds() local 314 int8_t bExp; in TEST() local 321 bExp, bSigned); in TEST() 329 EXPECT_EQ(bExp, 0); in TEST() 341 bExp, bSigned); in TEST() 350 EXPECT_EQ(bExp, 0); in TEST() 372 EXPECT_EQ(bExp, 0); in TEST() 388 EXPECT_EQ(bExp, 0); in TEST() 410 EXPECT_EQ(bExp, 4); in TEST() 429 EXPECT_EQ(bExp, -1); in TEST() [all …]
|
/openbmc/phosphor-host-ipmid/test/dbus-sdr/ |
H A D | sensorcommands_unittest.cpp | 110 int8_t bExp; in testBounds() local 315 int8_t bExp; in TEST() local 322 bExp, bSigned); in TEST() 330 EXPECT_EQ(bExp, 0); in TEST() 342 bExp, bSigned); in TEST() 351 EXPECT_EQ(bExp, 0); in TEST() 373 EXPECT_EQ(bExp, 0); in TEST() 389 EXPECT_EQ(bExp, 0); in TEST() 411 EXPECT_EQ(bExp, 4); in TEST() 430 EXPECT_EQ(bExp, -1); in TEST() [all …]
|
/openbmc/linux/arch/sh/kernel/cpu/sh4/ |
H A D | softfloat.c | 243 bExp = 1; in subFloat64Sigs() 263 zExp = bExp; in subFloat64Sigs() 270 if (bExp == 0) { in subFloat64Sigs() 302 if (bExp == 0) { in addFloat64Sigs() 319 zExp = bExp; in addFloat64Sigs() 473 bExp = 1; in subFloat32Sigs() 493 zExp = bExp; in subFloat32Sigs() 500 if (bExp == 0) { in subFloat32Sigs() 550 zExp = bExp; in addFloat32Sigs() 739 if (bExp == 0) { in float64_div() [all …]
|
/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/configuration/zaius-yaml-config/ |
H A D | zaius-ipmi-sensors.yaml | 186 bExp: 0 204 bExp: 0 222 bExp: 0 240 bExp: 0 383 bExp: 0 389 bExp: 0 395 bExp: 0 401 bExp: 0 407 bExp: 0 413 bExp: 0 [all …]
|
/openbmc/intel-ipmi-oem/include/ |
H A D | sensorutils.hpp | 160 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument 189 bExp = 0; in getSensorAttributes() 245 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes() 249 if (!(scaleFloatExp(dB, bExp))) in getSensorAttributes() 252 << (int)bExp << ") exceeds multiplier scale (M=" << dM in getSensorAttributes() 259 normalizeIntExp(bValue, bExp, dB); in getSensorAttributes() 267 const int16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 284 (std::pow(10.0, -rExp) * (value - (dB * std::pow(10.0, rExp + bExp)))) / in scaleIPMIValueFromDouble() 319 int8_t bExp = 0; in getScaledIPMIValue() local 323 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() [all …]
|
/openbmc/phosphor-host-ipmid/dbus-sdr/ |
H A D | sensorutils.cpp | 151 int8_t& rExp, int16_t& bValue, int8_t& bExp, in getSensorAttributes() argument 181 bExp = 0; in getSensorAttributes() 237 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes() 241 if (!(scaleFloatExp(dB, bExp))) in getSensorAttributes() 244 << (int)bExp << ") exceeds multiplier scale (M=" << dM in getSensorAttributes() 251 normalizeIntExp(bValue, bExp, dB); in getSensorAttributes() 259 const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 276 (std::pow(10.0, -rExp) * (value - (dB * std::pow(10.0, rExp + bExp)))) / in scaleIPMIValueFromDouble() 311 int8_t bExp = 0; in getScaledIPMIValue() local 315 getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() [all …]
|
/openbmc/openbmc/meta-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/ |
H A D | config.yaml | 7 bExp: 0 26 bExp: 0 45 bExp: 0 64 bExp: 0 82 bExp: 0 101 bExp: 0 118 bExp: 0 137 bExp: 0 154 bExp: 0 173 bExp: 0 [all …]
|
/openbmc/linux/arch/arm/nwfpe/ |
H A D | softfloat.c | 1068 zExp = bExp; in addFloat32Sigs() 1123 bExp = 1; in subFloat32Sigs() 1143 zExp = bExp; in subFloat32Sigs() 1151 if ( bExp == 0 ) { in subFloat32Sigs() 1256 if ( bExp == 0 ) { in float32_mul() 1964 zExp = bExp; in addFloat64Sigs() 2019 bExp = 1; in subFloat64Sigs() 2039 zExp = bExp; in subFloat64Sigs() 2772 zExp = bExp; in addFloatx80Sigs() 2840 bExp = 1; in subFloatx80Sigs() [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/witherspoon/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 2 bExp: 0 23 bExp: 0 44 bExp: 0 65 bExp: 0 86 bExp: 0 107 bExp: 0 128 bExp: 0 149 bExp: 0 170 bExp: 0 191 bExp: 0 [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/ |
H A D | fp5280g3-ipmi-sensors.yaml | 2 bExp: 0 23 bExp: 0 44 bExp: 0 65 bExp: 0 86 bExp: 0 108 bExp: 0 130 bExp: 0 152 bExp: 0 174 bExp: 0 196 bExp: 0 [all …]
|
/openbmc/openbmc/meta-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/ |
H A D | g220a-ipmi-sensors.yaml | 2 bExp: 0 24 bExp: 0 46 bExp: 0 68 bExp: 0 90 bExp: 0 112 bExp: 0 134 bExp: 0 156 bExp: 0 178 bExp: 0 200 bExp: 0 [all …]
|
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/ |
H A D | ethanolx-ipmi-sensors.yaml | 9 bExp: 0 29 bExp: 0 49 bExp: 0 69 bExp: 0 89 bExp: 0 109 bExp: 0 129 bExp: 0 149 bExp: 0 168 bExp: 0 190 bExp: 0 [all …]
|
/openbmc/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/ |
H A D | daytonax-ipmi-sensors.yaml | 9 bExp: 0 29 bExp: 0 48 bExp: 0 69 bExp: 0 90 bExp: 0 111 bExp: 0 132 bExp: 0 153 bExp: 0 174 bExp: 0 195 bExp: 0 [all …]
|
/openbmc/openbmc/meta-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/ |
H A D | nf5280m7-ipmi-sensors.yaml | 2 bExp: 0 24 bExp: 0 46 bExp: 0 69 bExp: 0 92 bExp: 0 114 bExp: 0 135 bExp: 0 156 bExp: 0 177 bExp: 0 198 bExp: 0 [all …]
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/ |
H A D | acx22-ipmi-hwmon-sensors.yaml | 2 bExp: 0 23 bExp: 0 44 bExp: 0 65 bExp: 0 86 bExp: 0 107 bExp: 0 128 bExp: 0 149 bExp: 0 170 bExp: 0 191 bExp: 0 [all …]
|
/openbmc/fb-ipmi-oem/include/ |
H A D | sensorutils.hpp | 169 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument 243 bExp = 0; in getSensorAttributes() 248 if (bExp >= maxInt4) in getSensorAttributes() 255 bExp++; in getSensorAttributes() 261 if (bExp <= minInt4) in getSensorAttributes() 268 bExp -= 1; in getSensorAttributes() 279 const uint16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument 282 (value - (bValue * std::pow(10, bExp) * std::pow(10, rExp))) / in scaleIPMIValueFromDouble() 306 int8_t bExp = 0; in getScaledIPMIValue() local 310 result = getSensorAttributes(max, min, mValue, rExp, bValue, bExp, bSigned); in getScaledIPMIValue() [all …]
|
/openbmc/openbmc/meta-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/ |
H A D | olympus-nuvoton-ipmi-sensors.yaml | 9 bExp: 0 63 bExp: 0 147 bExp: 0 201 bExp: 0 240 bExp: 0 277 bExp: 0 313 bExp: 0 369 bExp: 0 425 bExp: 0 445 bExp: 0 [all …]
|
/openbmc/openbmc/meta-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/ |
H A D | romulus-ipmi-sensors.yaml | 618 bExp: 0 640 bExp: 0 662 bExp: 0 684 bExp: 0 706 bExp: 0 728 bExp: 0 750 bExp: 0 772 bExp: 0 794 bExp: 0 816 bExp: 0 [all …]
|
/openbmc/openbmc/meta-ibm/meta-palmetto/recipes-phosphor/configuration/palmetto-yaml-config/ |
H A D | palmetto-ipmi-sensors.yaml | 626 bExp: 0 648 bExp: 0 670 bExp: 0 692 bExp: 0 714 bExp: 0 736 bExp: 0 758 bExp: 0 780 bExp: 0 802 bExp: 0 824 bExp: 0 [all …]
|
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/evb-npcm845-yaml-config/ |
H A D | evb-npcm845-ipmi-sensors.yaml | 6 # K1: bExp 17 bExp: 0 47 bExp: 0 104 bExp: 0
|
/openbmc/phosphor-host-ipmid/include/dbus-sdr/ |
H A D | sensorutils.hpp | 31 int8_t& rExp, int16_t& bValue, int8_t& bExp, 36 const int8_t bExp, const bool bSigned);
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | writesensor.mako.cpp | 50 bExp = sensor.get("bExp", 0) 90 .exponentB = ${bExp}, 91 .scaledOffset = ${offsetB * pow(10,bExp)},
|
/openbmc/phosphor-mrw-tools/ |
H A D | gen_ipmi_sensor.pl | 152 my $bExp = $sensorTypeConfig->{$sensorName}->{"bExp"}; 163 $data{'B_EXP'} = $bExp; 168 $debug .= "$multiplierM : $offsetB : $bExp : $rExp : $unit : ";
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/ |
H A D | acx22-ipmi-sensors-mrw.yaml | 65 bExp: 0 107 bExp: 0 185 bExp: 0 218 bExp: 0 324 bExp: 0
|
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/ |
H A D | config.yaml | 265 bExp: 0 283 bExp: 0 301 bExp: 0 319 bExp: 0 337 bExp: 0
|