Home
last modified time | relevance | path

Searched refs:rawValue (Results 1 – 14 of 14) sorted by relevance

/openbmc/pldm/libpldmresponder/
H A Dplatform_numeric_effecter.hpp47 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 Devent_manager_test.cpp515 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 Ddbus_to_terminus_effecters.cpp391 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 Ddbus_to_terminus_effecters.hpp194 uint8_t dataSize, double rawValue);
H A Devent_manager.cpp261 double rawValue, bool newAlarm, bool assert) { in processNumericSensorEvent() argument
262 return sensor->triggerThresholdEvent(level, direction, rawValue, in processNumericSensorEvent()
H A Dnumeric_sensor.hpp361 pldm::utils::Direction direction, double rawValue,
H A Dnumeric_sensor.cpp1100 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 Dhost_manager.cpp52 uint64_t rawValue = in DbusHandleSignal() local
55 PushPostcode(rawValue); in DbusHandleSignal()
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp220 rawValue = std::stod(response); in handleResponse()
221 double nvalue = (rawValue / sensorScaleFactor) / scaleFactor; in handleResponse()
/openbmc/dbus-sensors/src/psu/
H A DPSUSensor.cpp232 rawValue = std::stod(bufferRef.data()); in handleResponse()
233 updateValue((rawValue / sensorFactor) + sensorOffset); in handleResponse()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.cpp282 rawValue = std::stod(response); in handleResponse()
283 double nvalue = rawValue / IntelCPUSensor::sensorScaleFactor; in handleResponse()
/openbmc/dbus-sensors/src/
H A DThresholds.cpp279 "VALUE", value, "RAW_DATA", sensor->rawValue); in checkThresholds()
303 "VALUE", value, "RAW_DATA", sensor->rawValue); in checkThresholds()
H A Dsensor.hpp115 double rawValue = std::numeric_limits<double>::quiet_NaN(); member
/openbmc/dbus-sensors/src/ipmb/
H A DIpmbSensor.cpp465 rawValue = static_cast<double>(rawData); in ipmbRequestCompletionCb()