Lines Matching full:record
85 /** Construct OEM SEL record according to IPMI spec 32.2, 32.3. */
87 const AdditionalData& data, GetSELEntryResponse& record) in constructOEMSEL() argument
94 record.event.oemCD.timeStamp = static_cast<uint32_t>( in constructOEMSEL()
97 record.event.oemCD.recordType = recordType; in constructOEMSEL()
100 memcpy(&record.event.oemCD.manufacturerID, sensorData.data(), in constructOEMSEL()
105 record.event.oemEF.recordType = recordType; in constructOEMSEL()
107 memcpy(&record.event.oemEF.oemDefined, sensorData.data(), in constructOEMSEL()
114 GetSELEntryResponse& record) in constructSEL() argument
123 record.event.eventRecord.sensorType = 0; in constructSEL()
124 record.event.eventRecord.sensorNum = 0xFF; in constructSEL()
125 record.event.eventRecord.eventType = 0; in constructSEL()
135 record.event.eventRecord.sensorType = sensorIter->second.sensorType; in constructSEL()
136 record.event.eventRecord.sensorNum = sensorIter->second.sensorID; in constructSEL()
142 record.event.eventRecord.eventType = in constructSEL()
145 record.event.eventRecord.recordType = recordType; in constructSEL()
146 record.event.eventRecord.timeStamp = static_cast<uint32_t>( in constructSEL()
150 record.event.eventRecord.generatorID = in constructSEL()
152 record.event.eventRecord.eventMsgRevision = eventMsgRevision; in constructSEL()
157 memcpy(&record.event.eventRecord.eventData1, sensorData.data(), in constructSEL()
165 GetSELEntryResponse record{}; in prepareSELEntry() local
212 record.event.eventRecord.recordID = in prepareSELEntry()
219 // the record ID, etc in prepareSELEntry()
248 constructOEMSEL(recordType, chronoTimeStamp, addData, record); in prepareSELEntry()
253 record); in prepareSELEntry()
258 record.event.eventRecord.timeStamp = static_cast<uint32_t>( in prepareSELEntry()
262 record.event.eventRecord.recordType = systemEventRecord; in prepareSELEntry()
263 record.event.eventRecord.generatorID = generatorID; in prepareSELEntry()
264 record.event.eventRecord.eventMsgRevision = eventMsgRevision; in prepareSELEntry()
266 record.event.eventRecord.sensorType = iter->second.sensorType; in prepareSELEntry()
267 record.event.eventRecord.sensorNum = iter->second.sensorID; in prepareSELEntry()
268 record.event.eventRecord.eventData1 = iter->second.eventOffset; in prepareSELEntry()
281 record.event.eventRecord.eventType = in prepareSELEntry()
286 record.event.eventRecord.eventType = iter->second.eventReadingType; in prepareSELEntry()
290 return record; in prepareSELEntry()