| /openbmc/pldm/libpldmresponder/ |
| H A D | platform_numeric_effecter.hpp | 47 auto rawValue = static_cast<uint8_t>( in getEffecterRawValue() local 50 (rawValue < pdr->min_settable.value_u8 || in getEffecterRawValue() 51 rawValue > pdr->max_settable.value_u8)) in getEffecterRawValue() 55 value = rawValue; in getEffecterRawValue() 70 auto rawValue = static_cast<int8_t>( in getEffecterRawValue() local 73 (rawValue < pdr->min_settable.value_s8 || in getEffecterRawValue() 74 rawValue > pdr->max_settable.value_s8)) in getEffecterRawValue() 78 value = rawValue; in getEffecterRawValue() 83 auto rawValue = static_cast<uint16_t>( in getEffecterRawValue() local 86 (rawValue < pdr->min_settable.value_u16 || in getEffecterRawValue() [all …]
|
| /openbmc/pldm/platform-mc/test/ |
| H A D | event_manager_test.cpp | 515 double rawValue, bool newAlarm, bool assert) { in TEST() argument 517 EXPECT_EQ(rawValue, 10.0); in TEST() 536 double rawValue, bool newAlarm, bool assert) { in TEST() argument 538 EXPECT_EQ(rawValue, 4.0); in TEST() 557 double rawValue, bool newAlarm, bool assert) { in TEST() argument 559 EXPECT_EQ(rawValue, 10.0); in TEST() 585 double rawValue, bool newAlarm, bool assert) { in TEST() argument 587 EXPECT_EQ(rawValue, 10.0); in TEST() 624 double rawValue, bool newAlarm, bool assert) { in TEST() argument 626 EXPECT_EQ(rawValue, 10.0); in TEST() [all …]
|
| /openbmc/pldm/platform-mc/ |
| H A D | dbus_to_terminus_effecters.cpp | 391 double rawValue = adjustValue(val, propValues.offset, propValues.resolution, in processTerminusNumericEffecterChangeNotification() local 402 propValues.dataSize, rawValue); in processTerminusNumericEffecterChangeNotification() 471 double rawValue) in setTerminusNumericEffecter() argument 508 auto value_uint8 = (uint8_t)rawValue; in setTerminusNumericEffecter() 517 auto value_int8 = (int8_t)rawValue; in setTerminusNumericEffecter() 526 auto value_uint16 = (uint16_t)rawValue; in setTerminusNumericEffecter() 535 auto value_int16 = (int16_t)rawValue; in setTerminusNumericEffecter() 544 auto value_uint32 = (uint32_t)rawValue; in setTerminusNumericEffecter() 553 auto value_int32 = (int32_t)rawValue; in setTerminusNumericEffecter()
|
| H A D | dbus_to_terminus_effecters.hpp | 194 uint8_t dataSize, double rawValue);
|
| H A D | event_manager.cpp | 261 double rawValue, bool newAlarm, bool assert) { in processNumericSensorEvent() argument 262 return sensor->triggerThresholdEvent(level, direction, rawValue, in processNumericSensorEvent()
|
| H A D | numeric_sensor.hpp | 361 pldm::utils::Direction direction, double rawValue,
|
| H A D | numeric_sensor.cpp | 1100 double rawValue, bool newAlarm, bool assert) in triggerThresholdEvent() argument 1110 auto value = unitModifier(conversionFormula(rawValue)); in triggerThresholdEvent()
|
| /openbmc/google-misc/subprojects/nemora-postd/src/ |
| H A D | host_manager.cpp | 52 uint64_t rawValue = in DbusHandleSignal() local 55 PushPostcode(rawValue); in DbusHandleSignal()
|
| /openbmc/dbus-sensors/src/adc/ |
| H A D | ADCSensor.cpp | 220 rawValue = std::stod(response); in handleResponse() 221 double nvalue = (rawValue / sensorScaleFactor) / scaleFactor; in handleResponse()
|
| /openbmc/dbus-sensors/src/psu/ |
| H A D | PSUSensor.cpp | 232 rawValue = std::stod(bufferRef.data()); in handleResponse() 233 updateValue((rawValue / sensorFactor) + sensorOffset); in handleResponse()
|
| /openbmc/dbus-sensors/src/intel-cpu/ |
| H A D | IntelCPUSensor.cpp | 282 rawValue = std::stod(response); in handleResponse() 283 double nvalue = rawValue / IntelCPUSensor::sensorScaleFactor; in handleResponse()
|
| /openbmc/dbus-sensors/src/ |
| H A D | Thresholds.cpp | 279 "VALUE", value, "RAW_DATA", sensor->rawValue); in checkThresholds() 303 "VALUE", value, "RAW_DATA", sensor->rawValue); in checkThresholds()
|
| H A D | sensor.hpp | 115 double rawValue = std::numeric_limits<double>::quiet_NaN(); member
|
| /openbmc/dbus-sensors/src/ipmb/ |
| H A D | IpmbSensor.cpp | 465 rawValue = static_cast<double>(rawData); in ipmbRequestCompletionCb()
|