Lines Matching full:record
82 /** Construct OEM SEL record according to IPMI spec 32.2, 32.3. */
84 const AdditionalData& data, GetSELEntryResponse& record) in constructOEMSEL() argument
91 record.event.oemCD.timeStamp = static_cast<uint32_t>( in constructOEMSEL()
94 record.event.oemCD.recordType = recordType; in constructOEMSEL()
97 memcpy(&record.event.oemCD.manufacturerID, sensorData.data(), in constructOEMSEL()
102 record.event.oemEF.recordType = recordType; in constructOEMSEL()
104 memcpy(&record.event.oemEF.oemDefined, sensorData.data(), in constructOEMSEL()
111 GetSELEntryResponse& record) in constructSEL() argument
120 record.event.eventRecord.sensorType = 0; in constructSEL()
121 record.event.eventRecord.sensorNum = 0xFF; in constructSEL()
122 record.event.eventRecord.eventType = 0; in constructSEL()
132 record.event.eventRecord.sensorType = sensorIter->second.sensorType; in constructSEL()
133 record.event.eventRecord.sensorNum = sensorIter->second.sensorID; in constructSEL()
139 record.event.eventRecord.eventType = in constructSEL()
142 record.event.eventRecord.recordType = recordType; in constructSEL()
143 record.event.eventRecord.timeStamp = static_cast<uint32_t>( in constructSEL()
147 record.event.eventRecord.generatorID = in constructSEL()
149 record.event.eventRecord.eventMsgRevision = eventMsgRevision; in constructSEL()
154 memcpy(&record.event.eventRecord.eventData1, sensorData.data(), in constructSEL()
162 GetSELEntryResponse record{}; in prepareSELEntry() local
209 record.event.eventRecord.recordID = in prepareSELEntry()
216 // the record ID, etc in prepareSELEntry()
245 constructOEMSEL(recordType, chronoTimeStamp, addData, record); in prepareSELEntry()
250 record); in prepareSELEntry()
255 record.event.eventRecord.timeStamp = static_cast<uint32_t>( in prepareSELEntry()
259 record.event.eventRecord.recordType = systemEventRecord; in prepareSELEntry()
260 record.event.eventRecord.generatorID = generatorID; in prepareSELEntry()
261 record.event.eventRecord.eventMsgRevision = eventMsgRevision; in prepareSELEntry()
263 record.event.eventRecord.sensorType = iter->second.sensorType; in prepareSELEntry()
264 record.event.eventRecord.sensorNum = iter->second.sensorID; in prepareSELEntry()
265 record.event.eventRecord.eventData1 = iter->second.eventOffset; in prepareSELEntry()
278 record.event.eventRecord.eventType = in prepareSELEntry()
283 record.event.eventRecord.eventType = iter->second.eventReadingType; in prepareSELEntry()
287 return record; in prepareSELEntry()