Home
last modified time | relevance | path

Searched full:bexp (Results 1 – 25 of 47) sorted by relevance

12

/openbmc/openbmc/meta-ingrasys/meta-zaius/recipes-phosphor/configuration/zaius-yaml-config/
H A Dzaius-ipmi-sensors.yaml186 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/openbmc/meta-ieisystem/meta-fp5280g3/recipes-phosphor/configuration/fp5280g3-yaml-config/
H A Dfp5280g3-ipmi-sensors.yaml2 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/intel-ipmi-oem/tests/
H A Dtest_sensorcommands.cpp58 void testValue(int x, double y, int16_t M, int8_t rExp, int16_t B, int8_t bExp, in testValue() argument
71 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
74 yRoundtrip = ipmitool_y_from_x(actual, M, rExp, B, bExp, bSigned); in testValue()
82 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
85 yRoundtrip = ipmitool_y_from_x(actual, M, rExp, B, bExp, bSigned); in testValue()
99 "| B %5d | bExp %3d | bSigned %1d | y %18.3f | yRoundtrip %18.3f\n", in testValue()
100 x, result, M, (int)rExp, B, (int)bExp, (int)bSigned, y, yRoundtrip); in testValue()
109 int8_t bExp; in testBounds() local
113 result = ipmi::getSensorAttributes(yMax, yMin, mValue, rExp, bValue, bExp, in testBounds()
125 " | rExp %3d | B %5d | bExp %3d | bSigned %1d\n", in testBounds()
[all …]
/openbmc/phosphor-host-ipmid/test/dbus-sdr/
H A Dsensorcommands_unittest.cpp58 void testValue(int x, double y, int16_t M, int8_t rExp, int16_t B, int8_t bExp, in testValue() argument
71 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
74 yRoundtrip = ipmitool_y_from_x(actual, M, rExp, B, bExp, bSigned); in testValue()
82 ipmi::scaleIPMIValueFromDouble(y, M, rExp, B, bExp, bSigned); in testValue()
85 yRoundtrip = ipmitool_y_from_x(actual, M, rExp, B, bExp, bSigned); in testValue()
100 "| B %5d | bExp %3d | bSigned %1d | y %18.3f | yRoundtrip %18.3f\n", in testValue()
101 x, result, M, (int)rExp, B, (int)bExp, (int)bSigned, y, yRoundtrip); in testValue()
110 int8_t bExp; in testBounds() local
114 result = ipmi::getSensorAttributes(yMax, yMin, mValue, rExp, bValue, bExp, in testBounds()
126 " | rExp %3d | B %5d | bExp %3d | bSigned %1d\n", in testBounds()
[all …]
/openbmc/openbmc/meta-amd/meta-ethanolx/recipes-phosphor/configuration/ethanolx-yaml-config/
H A Dethanolx-ipmi-sensors.yaml9 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-bytedance/meta-g220a/recipes-phosphor/configuration/g220a-yaml-config/
H A Dg220a-ipmi-sensors.yaml2 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-ieisystem/meta-nf5280m7/recipes-phosphor/configuration/nf5280m7-yaml-config/
H A Dnf5280m7-ipmi-sensors.yaml2 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/witherspoon/
H A Dacx22-ipmi-hwmon-sensors.yaml2 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-quanta/meta-q71l/recipes-phosphor/ipmi/q71l-ipmi-sensor-map/
H A Dconfig.yaml7 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/openbmc/meta-amd/meta-daytonax/recipes-phosphor/configuration/daytonax-yaml-config/
H A Ddaytonax-ipmi-sensors.yaml9 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-ibm/recipes-phosphor/configuration/acx22-yaml-config/swift/
H A Dacx22-ipmi-hwmon-sensors.yaml2 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/linux/arch/sh/kernel/cpu/sh4/
H A Dsoftfloat.c226 int16 aExp, bExp, zExp; in subFloat64Sigs() local
233 bExp = extractFloat64Exp(b); in subFloat64Sigs()
234 expDiff = aExp - bExp; in subFloat64Sigs()
243 bExp = 1; in subFloat64Sigs()
251 if (bExp == 0x7FF) { in subFloat64Sigs()
263 zExp = bExp; in subFloat64Sigs()
270 if (bExp == 0) { in subFloat64Sigs()
287 int16 aExp, bExp, zExp; in addFloat64Sigs() local
294 bExp = extractFloat64Exp(b); in addFloat64Sigs()
295 expDiff = aExp - bExp; in addFloat64Sigs()
[all …]
/openbmc/intel-ipmi-oem/include/
H A Dsensorutils.hpp147 // y = (Mx + (B * 10^(bExp))) * 10^(rExp)
156 // bExp becomes E, rExp becomes R
160 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument
180 // Given min and max, we must solve for M, B, bExp, rExp in getSensorAttributes()
189 bExp = 0; in getSensorAttributes()
242 // B = 10^(-rExp - bExp) (y - M 10^rExp x) in getSensorAttributes()
245 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes()
248 // Step 4: Constrain B, and set bExp accordingly in getSensorAttributes()
249 if (!(scaleFloatExp(dB, bExp))) in getSensorAttributes()
251 std::cerr << "getSensorAttributes: Offset (B=" << dB << ", bExp=" in getSensorAttributes()
[all …]
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorutils.cpp139 // y = (Mx + (B * 10^(bExp))) * 10^(rExp)
148 // bExp becomes E, rExp becomes R
151 int8_t& rExp, int16_t& bValue, int8_t& bExp, in getSensorAttributes() argument
172 // Given min and max, we must solve for M, B, bExp, rExp in getSensorAttributes()
181 bExp = 0; in getSensorAttributes()
234 // B = 10^(-rExp - bExp) (y - M 10^rExp x) in getSensorAttributes()
237 double dB = std::pow(10.0, ((-rExp) - bExp)) * in getSensorAttributes()
240 // Step 4: Constrain B, and set bExp accordingly in getSensorAttributes()
241 if (!(scaleFloatExp(dB, bExp))) in getSensorAttributes()
243 std::cerr << "getSensorAttributes: Offset (B=" << dB << ", bExp=" in getSensorAttributes()
[all …]
/openbmc/fb-ipmi-oem/include/
H A Dsensorutils.hpp169 int16_t& bValue, int8_t& bExp, bool& bSigned) in getSensorAttributes() argument
171 // computing y = (10^rRexp) * (Mx + (B*(10^Bexp))) in getSensorAttributes()
243 bExp = 0; in getSensorAttributes()
248 if (bExp >= maxInt4) in getSensorAttributes()
251 "bExp Too Big, Max and Min range need to be adjusted"); in getSensorAttributes()
255 bExp++; in getSensorAttributes()
261 if (bExp <= minInt4) in getSensorAttributes()
264 "bExp Too Small, Max and Min range need to be adjusted"); in getSensorAttributes()
268 bExp -= 1; in getSensorAttributes()
279 const uint16_t bValue, const int8_t bExp, const bool bSigned) in scaleIPMIValueFromDouble() argument
[all …]
/openbmc/openbmc/meta-ibm/meta-palmetto/recipes-phosphor/configuration/palmetto-yaml-config/
H A Dpalmetto-ipmi-sensors.yaml626 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-ibm/meta-romulus/recipes-phosphor/configuration/romulus-yaml-config/
H A Dromulus-ipmi-sensors.yaml618 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-quanta/meta-olympus-nuvoton/recipes-phosphor/configuration/olympus-nuvoton-yaml-config/
H A Dolympus-nuvoton-ipmi-sensors.yaml9 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/linux/arch/arm/nwfpe/
H A Dsoftfloat.c1031 int16 aExp, bExp, zExp; in addFloat32Sigs() local
1038 bExp = extractFloat32Exp( b ); in addFloat32Sigs()
1039 expDiff = aExp - bExp; in addFloat32Sigs()
1047 if ( bExp == 0 ) { in addFloat32Sigs()
1057 if ( bExp == 0xFF ) { in addFloat32Sigs()
1068 zExp = bExp; in addFloat32Sigs()
1103 int16 aExp, bExp, zExp; in subFloat32Sigs() local
1110 bExp = extractFloat32Exp( b ); in subFloat32Sigs()
1111 expDiff = aExp - bExp; in subFloat32Sigs()
1123 bExp = 1; in subFloat32Sigs()
[all …]
/openbmc/openbmc/meta-nuvoton/meta-evb-npcm845/recipes-phosphor/configuration/evb-npcm845-yaml-config/
H A Devb-npcm845-ipmi-sensors.yaml6 # K1: bExp
17 bExp: 0
47 bExp: 0
104 bExp: 0
/openbmc/phosphor-host-ipmid/scripts/
H A Dwritesensor.mako.cpp50 bExp = sensor.get("bExp", 0)
90 .exponentB = ${bExp},
91 .scaledOffset = ${offsetB * pow(10,bExp)},
/openbmc/openbmc/meta-phosphor/recipes-phosphor/ipmi/phosphor-ipmi-sensor-inventory-mrw-config/
H A Dconfig.yaml265 bExp: 0
283 bExp: 0
301 bExp: 0
319 bExp: 0
337 bExp: 0
/openbmc/openbmc/meta-ibm/recipes-phosphor/configuration/acx22-yaml-config/
H A Dacx22-ipmi-sensors-mrw.yaml65 bExp: 0
107 bExp: 0
185 bExp: 0
218 bExp: 0
324 bExp: 0
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dsensorutils.hpp31 int8_t& rExp, int16_t& bValue, int8_t& bExp,
36 const int8_t bExp, const bool bSigned);
/openbmc/linux/arch/mips/math-emu/
H A Ddp_sqrt.c101 t.bexp += 0x001; in ieee754dp_sqrt()
107 t.bexp += 0x001; in ieee754dp_sqrt()
146 y.bexp += scalx; in ieee754dp_sqrt()

12