/openbmc/libpldm/src/dsp/ |
H A D | pdr.c | 40 pldm_pdr_record *record); 43 static int pldm_pdr_remove_record(pldm_pdr *repo, pldm_pdr_record *record, 48 const pldm_pdr_record *record) in get_next_record_handle() argument 50 if (record == repo->last) { in get_next_record_handle() 53 return record->next->record_handle; in get_next_record_handle() 79 pldm_pdr_record *record = malloc(sizeof(pldm_pdr_record)); in pldm_pdr_add() local 80 if (!record) { in pldm_pdr_add() 85 record->data = malloc(size); in pldm_pdr_add() 86 if (!record->data) { in pldm_pdr_add() 87 free(record); in pldm_pdr_add() [all …]
|
/openbmc/u-boot/include/ |
H A D | s_record.h | 9 * Motorola S-Record Format: 14 * an S4-record containing an address and a symbol. 16 * The extended S-record standard is as follows: 24 * is the record type. Where: 26 * 0 starting record (optional) 27 * 1 data record with 16-bit address 28 * 2 data record with 24-bit address 29 * 3 data record with 32-bit address 30 * 4 symbol record (LSI extension) 33 * 7 ending record for S3 records [all …]
|
/openbmc/phosphor-host-ipmid/scripts/ |
H A D | entity-example.md | 29 # This record has: 33 # Entity Record id is the key 39 # A record can have contained entities as a four entry list or as upto 40 # two ranges of entity instances; this record has contained entities 44 # entities within a container entity; this record is not linked 63 # This record has contained entities as a four entry list 65 # This record is linked with the below record; this record and the 66 # below record have the same container entity Id and container entity 81 # This record has contained entities as a four entry list 83 # This record is linked with the above record; this record and the [all …]
|
/openbmc/libpldm/include/libpldm/ |
H A D | pdr.h | 19 * opaque structure that acts as a handle to a PDR record 64 /** @brief Add a PDR record to a PDR repository, or return an error 67 * @param[in] data - pointer to a PDR record, pointing to a PDR definition as 69 * @param[in] size - size of input PDR record in bytes 71 * @param[in] terminus_handle - terminus handle of the input PDR record 72 * @param[in,out] record_handle - record handle of input PDR record. If this is set to 0 then a 73 * record handle is computed. The computed handle is assigned to both the PDR record and back into 77 * allocation fails, or -EOVERFLOW if a record handle could not be allocated 83 /** @brief Get record handle of a PDR record 86 * @pre record must point to a valid object [all …]
|
H A D | fru.h | 42 /** @brief FRU record types 86 uint8_t fru_data_major_version; //!< The major version of the FRU Record 87 uint8_t fru_data_minor_version; //!< The minor version of the FRU Record 88 uint32_t fru_table_maximum_size; //!< The size of the largest FRU Record data 89 uint32_t fru_table_length; //!< The total length of the FRU Record Table 91 //!< Record Data structures 93 uint32_t checksum; //!< The integrity checksum on the FRU Record Table data 98 * Structure representing PLDM get FRU record table request. 107 * Structure representing PLDM get FRU record table response. 155 * Structure representing the FRU record data format [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/csdl/ |
H A D | PhysicalContext_v1.xml | 42 <Record> 45 </Record> 53 <Record> 56 </Record> 79 <Record> 82 </Record> 93 <Record> 96 </Record> 104 <Record> 107 </Record> [all …]
|
H A D | Protocol_v1.xml | 75 <Record> 78 </Record> 87 <Record> 90 </Record> 130 <Record> 133 </Record> 142 <Record> 145 </Record> 154 <Record> 157 </Record> [all …]
|
/openbmc/bmcweb/redfish-core/schema/dmtf/installed/ |
H A D | PhysicalContext_v1.xml | 42 <Record> 45 </Record> 53 <Record> 56 </Record> 79 <Record> 82 </Record> 93 <Record> 96 </Record> 104 <Record> 107 </Record> [all …]
|
H A D | Protocol_v1.xml | 75 <Record> 78 </Record> 87 <Record> 90 </Record> 130 <Record> 133 </Record> 142 <Record> 145 </Record> 154 <Record> 157 </Record> [all …]
|
/openbmc/openpower-vpd-parser/vpd-manager/include/ |
H A D | ipz_parser.hpp | 125 * @brief Check ECC of a record. 130 * @param[in] iterator - Iterator to the record. 136 * @brief API to read VTOC record. 138 * The API reads VTOC record and returns the length of PT keyword. 149 * @brief API to read PT record. 153 * @param[in] itrToPT - Iterator to PT record in VPD vector. 154 * @param[in] ptLength - length of the PT record. 155 * @return Pair of list of record's offset and a list of invalid 173 * @brief API to read keyword and its value under a record. 175 * @param[in] iterator - pointer to the start of keywords under the record. [all …]
|
/openbmc/openbmc/poky/bitbake/lib/bb/ |
H A D | msg.py | 82 def format(self, record): argument 83 record.levelname = self.getLevelName(record.levelno) 84 if record.levelno == self.PLAIN: 85 msg = record.getMessage() 88 record = self.colorize(record) 89 msg = logging.Formatter.format(self, record) 90 if hasattr(record, 'bb_exc_formatted'): 91 msg += '\n' + ''.join(record.bb_exc_formatted) 94 def colorize(self, record): argument 95 color = self.COLORS[record.levelno] [all …]
|
/openbmc/entity-manager/src/entity_manager/ |
H A D | log_device_inventory.cpp | 10 void logDeviceAdded(const nlohmann::json& record) in logDeviceAdded() argument 16 if (!deviceHasLogging(record)) in logDeviceAdded() 20 auto findType = record.find("Type"); in logDeviceAdded() 22 record.find("xyz.openbmc_project.Inventory.Decorator.Asset"); in logDeviceAdded() 29 if (findType != record.end()) in logDeviceAdded() 33 if (findAsset != record.end()) in logDeviceAdded() 55 auto findName = record.find("Name"); in logDeviceAdded() 56 if (findName != record.end()) in logDeviceAdded() 68 void logDeviceRemoved(const nlohmann::json& record) in logDeviceRemoved() argument 70 if (!deviceHasLogging(record)) in logDeviceRemoved() [all …]
|
/openbmc/ipmitool/lib/ |
H A D | ipmi_ekanalyzer.c | 63 * Mfg.ID, 1 byte of Picmg record Id, and 162 { 0x04, "Backplane Point to Point Connectivity Record" }, 163 { 0x10, "Address Table Record" }, 164 { 0x11, "Shelf Power Distribution Record" }, 165 { 0x12, "Shelf Activation and Power Management Record" }, 166 { 0x13, "Shelf Manager IP Connection Record" }, 167 { 0x14, "Board Point to Point Connectivity Record" }, 168 { 0x15, "Radial IPMB-0 Link Mapping Record" }, 169 { 0x16, "Module Current Requirements Record" }, 170 { 0x17, "Carrier Activation and Power Management Record" }, [all …]
|
/openbmc/openbmc-test-automation/ipmi/ |
H A D | test_ipmi_inband_sdr.robot | 23 Verify Get SDR For Maximum Record Via IPMI 24 [Documentation] Verify Get SDR for each and every record one by one via IPMI lanplus. 27 # Gets the Total Record Count from SDR Info and the last Record entry number. 28 ${record_count} ${last_record}= Get Record Count And Last Record From SDR 30 # Validate each and every record till the last record. 31 FOR ${record} IN RANGE 0 ${record_count} 32 # Convert number to hexadecimal record ID. 33 ${recordhex}= Convert To Hex ${record} length=4 lowercase=yes 42 # If the record ID reaches the last data available, the next record ID will be ff ff. 43 # eg, If total record ID available is 115, record IDs : 0 - 114, [all …]
|
/openbmc/pldm/libpldmresponder/ |
H A D | pdr_utils.hpp | 58 * PDR entry structure that acts as a PDR record structure in the PDR 139 /** @brief Add a PDR record to a PDR repository 143 * @return uint32_t - record handle assigned to PDR record 147 /** @brief Get the first PDR record from a PDR repository 151 * @return opaque pointer acting as PDR record handle, will be NULL if 152 * record was not found 156 /** @brief Get the next PDR record from a PDR repository 158 * @param[in] currRecord - opaque pointer acting as a PDR record handle 161 * @return opaque pointer acting as PDR record handle, will be NULL if 162 * record was not found [all …]
|
H A D | pdr.cpp | 19 auto record = pldm_pdr_find_record_by_type(inRepo.getPdr(), pdrType, in getRepoByType() local 21 while (record) in getRepoByType() 26 pdrEntry.handle.recordHandle = inRepo.getRecordHandle(record); in getRepoByType() 31 record = pldm_pdr_find_record_by_type(inRepo.getPdr(), pdrType, record, in getRepoByType() 40 auto record = in getRecordByHandle() local 43 if (record) in getRecordByHandle() 48 return record; in getRecordByHandle()
|
/openbmc/qemu/tests/migration-stress/guestperf/ |
H A D | plot.py | 93 for record in report._guest_timings._records: 94 if record._value > maxvalue: 95 maxvalue = record._value 102 for record in report._qemu_timings._records: 104 cpudelta = (record._value - oldvalue) / 1000.0 105 timedelta = record._timestamp - oldtime 111 oldvalue = record._value 112 oldtime = record._timestamp 123 for record in report._guest_timings._records: 125 report._progress_history[progress_idx + 1]._now < record._timestamp): [all …]
|
/openbmc/docs/designs/ |
H A D | guard-on-bmc.md | 30 The guard in the servers is for managing a record of faulty components to keep 33 record or manage the record will be decided by the respective component. Some of 39 can be isolated. The decision to create a record is based on the type of error, 41 system in a usable state. The record which gets created to isolate the component 42 is named as Guard Record. The guard record will be deleted after a repair action 44 record since the host is responsible for the initialization and use of the 50 various guard record sources. 58 - When user requests, create a record in the right guard record repository, 60 - An option should be given to user to create guard record for DIMM and 62 - An option should be given to the user to delete a guard record. [all …]
|
/openbmc/phosphor-host-ipmid/ |
H A D | selutility.cpp | 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() [all …]
|
/openbmc/phosphor-dbus-interfaces/yaml/xyz/openbmc_project/Logging/ |
H A D | IPMI.interface.yaml | 5 SEL records store system event information and will contain a record ID and 8 adding the SEL record), sensor number, event direction and event-specific 14 events, it requires the record type and OEM data. 16 It will assign a record ID and timestamp automatically and return the 17 assigned record ID. 21 Log a system event record type SEL entry. 48 The Record ID of the new SEL entry. 55 Log a system event record SEL entry with custom SensorType/EventType. 90 The Record ID of the new SEL entry. 97 Log an OEM record type SEL entry requested from external to the BMC. [all …]
|
/openbmc/libcper/specification/json/ |
H A D | cper-json-header.json | 4 "description": "Common Platform Record Header as defined in UEFI Appendix N section 2.1", 21 …2-byte field representing a major and minor version number for the error record definition in BCD … 37 …": "his field indicates the number of valid sections associated with the record, corresponding to … 42 …Indicates the severity of the error condition. The severity of the error record corresponds to the… 57 …"description": "Indicates the size of the actual error record, including the size of the record he… 78 …UID indicating the creator of the error record. This value may be overwritten by subsequent owners… 82 …"description": "This field holds a pre-assigned GUID value indicating the record association with … 97 … value, when combined with the Creator ID, uniquely identifies the error record across other error… 101 "description": "Flags field contains information that describes the error record.", 106 …"description": "This field is produced and consumed by the creator of the error record identified …
|
/openbmc/openpower-vpd-parser/vpd-manager/src/ |
H A D | ipz_parser.cpp | 145 throw(DataException("Invalid record offset or length")); in recordEccCheck() 172 "One bit correction for record performed", std::nullopt, in recordEccCheck() 193 std::string record(itrToVPD, stop); in checkHeader() local 194 if ("VHDR" != record) in checkHeader() 196 throw(DataException("VHDR record not found")); in checkHeader() 211 // Got the offset to VTOC, skip past record header and keyword header in readTOC() 212 // to get to the record name. in readTOC() 216 // the record name. in readTOC() 219 std::string record(itrToVPD, std::next(itrToVPD, Length::RECORD_NAME)); in readTOC() local 220 if ("VTOC" != record) in readTOC() [all …]
|
/openbmc/phosphor-host-ipmid/app/ |
H A D | channel.cpp | 36 * 1. cipher suite record format mentioned in the IPMI specification. The 38 * converted into the cipher record format and pushed into the vector. 66 for (const auto& record : data) in getCipherRecords() local 68 if (record.find(oem) != record.end()) in getCipherRecords() 73 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords() 75 cipherRecords.push_back(record.value(oem, 0)); in getCipherRecords() 76 cipherRecords.push_back(record.value(oem, 0) >> 8); in getCipherRecords() 77 cipherRecords.push_back(record.value(oem, 0) >> 16); in getCipherRecords() 84 cipherRecords.push_back(record.value(cipher, 0)); in getCipherRecords() 88 cipherRecords.push_back(record.value(auth, 0)); in getCipherRecords() [all …]
|
/openbmc/phosphor-power/power-supply/ |
H A D | record_manager.hpp | 20 using Record = std::tuple<size_t, int64_t, int64_t, int64_t>; typedef 25 * The exception that is thrown when a raw history record 31 InvalidRecordException() : std::runtime_error("Invalid history record") {} in InvalidRecordException() 41 * intervals. Every 30s, a new record will be available from the 92 * cleared, such as when there is an invalid record 95 * @param[in] rawRecord - the record data straight 156 * @brief returns the sequence ID from a raw history record 160 * @param[in] data - the raw record data as the PS returns it 167 * @brief Creates an instance of a Record from the raw PS data 169 * @param[in] data - the raw record data as the PS returns it [all …]
|
/openbmc/witherspoon-pfault-analysis/power-supply/ |
H A D | record_manager.hpp | 20 using Record = std::tuple<size_t, int64_t, int64_t, int64_t>; typedef 25 * The exception that is thrown when a raw history record 31 InvalidRecordException() : std::runtime_error("Invalid history record") {} in InvalidRecordException() 41 * intervals. Every 30s, a new record will be available from the 90 * cleared, such as when there is an invalid record 93 * @param[in] rawRecord - the record data straight 154 * @brief returns the sequence ID from a raw history record 158 * @param[in] data - the raw record data as the PS returns it 165 * @brief Creates an instance of a Record from the raw PS data 167 * @param[in] data - the raw record data as the PS returns it [all …]
|