Home
last modified time | relevance | path

Searched refs:get_sdr (Results 1 – 11 of 11) sorted by relevance

/openbmc/phosphor-host-ipmid/
H A Dsensorhandler.cpp82 using SDRCacheMap = std::unordered_map<uint8_t, get_sdr::SensorDataFullRecord>;
86 std::unordered_map<uint8_t, get_sdr::GetSensorThresholdsResponse>;
665 get_sdr::GetSensorThresholdsResponse& resp) in updateWarningThreshold()
683 get_sdr::GetSensorThresholdsResponse& resp) in updateCriticalThreshold()
701 get_sdr::GetSensorThresholdsResponse& resp) in updateNonRecoverableThreshold()
718 get_sdr::GetSensorThresholdsResponse
721 get_sdr::GetSensorThresholdsResponse resp{}; in getSensorThresholds()
1082 get_sdr::SensorDataFullRecordBody* body) in setUnitFieldsForObject()
1093 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_DEGREES_C; in setUnitFieldsForObject()
1096 body->sensor_units_2_base = get_sdr::SENSOR_UNIT_RPM; in setUnitFieldsForObject()
[all …]
H A Dsensorhandler.hpp122 namespace get_sdr namespace
/openbmc/intel-ipmi-oem/include/
H A Dstoragecommands.hpp45 namespace get_sdr namespace
257 get_sdr::SensorDataRecordHeader header;
280 get_sdr::header::set_record_id(recordID, &header);
285 sizeof(Type12Record) - sizeof(get_sdr::SensorDataRecordHeader) -
296 get_sdr::SensorDataRecordHeader header;
319 get_sdr::SensorDataFruRecord& resp);
/openbmc/phosphor-host-ipmid/include/dbus-sdr/
H A Dstoragecommands.hpp84 get_sdr::SensorDataRecordHeader header;
107 get_sdr::header::set_record_id(recordID, &header);
112 sizeof(Type12Record) - sizeof(get_sdr::SensorDataRecordHeader) -
127 get_sdr::SensorDataFruRecord& resp);
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dsensorcommands.cpp692 get_sdr::SensorDataFruRecord data; in getOtherSensorsDataRecord()
1780 get_sdr::SensorDataFullRecord& record) in constructSensorSdrHeaderKey()
1782 get_sdr::header::set_record_id( in constructSensorSdrHeaderKey()
1783 recordID, reinterpret_cast<get_sdr::SensorDataRecordHeader*>(&record)); in constructSensorSdrHeaderKey()
1789 record.header.record_type = get_sdr::SENSOR_DATA_FULL_RECORD; in constructSensorSdrHeaderKey()
1790 record.header.record_length = sizeof(get_sdr::SensorDataFullRecord) - in constructSensorSdrHeaderKey()
1791 sizeof(get_sdr::SensorDataRecordHeader); in constructSensorSdrHeaderKey()
1800 const std::string& path, get_sdr::SensorDataFullRecord& record) in constructSensorSdr()
1912 get_sdr::body::set_id_strlen(name.size(), &record.body); in constructSensorSdr()
1913 get_sdr::body::set_id_type(3, &record.body); // "8-bit ASCII + Latin 1" in constructSensorSdr()
[all …]
H A Dstoragecommands.cpp549 get_sdr::SensorDataFruRecord& resp) in getFruSdrs()
697 resp.header.record_type = get_sdr::SENSOR_DATA_FRU_RECORD; in getFruSdrs()
1204 get_sdr::SensorDataEntityRecord data{}; in getType8SDRs()
1207 get_sdr::header::set_record_id(recordId, &(data.header)); in getType8SDRs()
1216 get_sdr::key::set_flags(entity->second.isList, entity->second.isLinked, in getType8SDRs()
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp452 ipmi_ret_t getFruSdrs(size_t index, get_sdr::SensorDataFruRecord& resp) in getFruSdrs()
633 auto resp = static_cast<get_sdr::GetSdrResp*>(response); in ipmiStorageGetSDR()
644 get_sdr::SensorDataFruRecord data; in ipmiStorageGetSDR()
689 get_sdr::SensorDataFullRecord record = {}; in ipmiStorageGetSDR()
694 record.header.record_type = get_sdr::SENSOR_DATA_FULL_RECORD; in ipmiStorageGetSDR()
695 record.header.record_length = sizeof(get_sdr::SensorDataFullRecord) - in ipmiStorageGetSDR()
696 sizeof(get_sdr::SensorDataRecordHeader); in ipmiStorageGetSDR()
808 if (sizeof(get_sdr::SensorDataFullRecord) < in ipmiStorageGetSDR()
811 req->bytesToRead = sizeof(get_sdr::SensorDataFullRecord) - req->offset; in ipmiStorageGetSDR()
/openbmc/fb-ipmi-oem/include/
H A Dsdrutils.hpp11 namespace get_sdr namespace
/openbmc/phosphor-host-ipmid/docs/
H A Dtesting.md160 accessors for `get_sdr::GetSdrReq`, just because they're fairly simple. The text
167 namespace get_sdr
196 } // namespace get_sdr
283 uint16_t actual = get_sdr::request::get_reservation_id(&input);
296 ASSERT_DEATH(get_sdr::request::get_reservation_id(nullptr), ".*");
315 uint16_t actual = get_sdr::request::get_reservation_id(&input);
/openbmc/intel-ipmi-oem/src/
H A Dstoragecommands.cpp515 get_sdr::SensorDataFruRecord& resp) in getFruSdrs()
651 resp.header.record_type = get_sdr::SENSOR_DATA_FRU_RECORD; in getFruSdrs()
/openbmc/qemu/hw/ipmi/
H A Dipmi_bmc_sim.c1251 static void get_sdr(IPMIBmcSim *ibs, in get_sdr() function
2030 [IPMI_CMD_GET_SDR] = { get_sdr, 8 },