Home
last modified time | relevance | path

Searched refs:range_field_format (Results 1 – 7 of 7) sorted by relevance

/openbmc/pldm/platform-mc/
H A Dnumeric_sensor.cpp71 inline double getRangeFieldValue(uint8_t range_field_format, in getRangeFieldValue() argument
75 switch (range_field_format) in getRangeFieldValue()
227 getRangeFieldValue(pdr->range_field_format, pdr->warning_high); in NumericSensor()
234 getRangeFieldValue(pdr->range_field_format, pdr->warning_low); in NumericSensor()
241 getRangeFieldValue(pdr->range_field_format, pdr->critical_high); in NumericSensor()
248 getRangeFieldValue(pdr->range_field_format, pdr->critical_low); in NumericSensor()
/openbmc/libpldm/src/dsp/
H A Dplatform.c1863 rc = pldm_msgbuf_extract(buf, pdr_value->range_field_format); in decode_numeric_sensor_pdr_data()
1867 if (pdr_value->range_field_format > PLDM_RANGE_FIELD_FORMAT_MAX) { in decode_numeric_sensor_pdr_data()
1873 buf, pdr_value->range_field_format, pdr_value->nominal_value); in decode_numeric_sensor_pdr_data()
1875 buf, pdr_value->range_field_format, pdr_value->normal_max); in decode_numeric_sensor_pdr_data()
1877 buf, pdr_value->range_field_format, pdr_value->normal_min); in decode_numeric_sensor_pdr_data()
1879 buf, pdr_value->range_field_format, pdr_value->warning_high); in decode_numeric_sensor_pdr_data()
1881 buf, pdr_value->range_field_format, pdr_value->warning_low); in decode_numeric_sensor_pdr_data()
1883 buf, pdr_value->range_field_format, pdr_value->critical_high); in decode_numeric_sensor_pdr_data()
1885 buf, pdr_value->range_field_format, pdr_value->critical_low); in decode_numeric_sensor_pdr_data()
1887 buf, pdr_value->range_field_format, pdr_value->fatal_high); in decode_numeric_sensor_pdr_data()
[all …]
/openbmc/pldm/libpldmresponder/
H A Dpdr_numeric_effecter.hpp142 pdr->range_field_format = in generateNumericEffecterPDR()
145 switch (pdr->range_field_format) in generateNumericEffecterPDR()
/openbmc/libpldm/tests/dsp/
H A Dplatform.cpp3897 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_UINT8, decodedPdr.range_field_format); in TEST()
3994 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_SINT8, decodedPdr.range_field_format); in TEST()
4102 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_UINT16, decodedPdr.range_field_format); in TEST()
4210 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_SINT16, decodedPdr.range_field_format); in TEST()
4342 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_UINT32, decodedPdr.range_field_format); in TEST()
4474 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_SINT32, decodedPdr.range_field_format); in TEST()
4606 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_REAL32, decodedPdr.range_field_format); in TEST()
4778 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_UINT8, decodedPdr.range_field_format); in TEST()
4867 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_SINT8, decodedPdr.range_field_format); in TEST()
4964 EXPECT_EQ(PLDM_RANGE_FIELD_FORMAT_UINT16, decodedPdr.range_field_format); in TEST()
[all …]
/openbmc/pldm/pldmtool/
H A Dpldm_platform_cmd.cpp1054 output["rangeFieldFormat"] = unsigned(pdr->range_field_format); in printNumericEffecterPDR()
1057 switch (pdr->range_field_format) in printNumericEffecterPDR()
1344 output["rangeFieldFormat"] = pdr.range_field_format; in printNumericSensorPDR()
1347 switch (pdr.range_field_format) in printNumericSensorPDR()
/openbmc/libpldm/include/libpldm/
H A Dplatform.h789 uint8_t range_field_format; member
866 uint8_t range_field_format; member
/openbmc/libpldm/abi/x86_64/
H A Dgcc.dump12585 'name' => 'range_field_format',