Lines Matching full:terminus

19     for (auto& [tid, terminus] : termini)  in initTerminus()
21 if (terminus->initialized) in initTerminus()
28 if (terminus->doesSupportCommand(PLDM_FRU, in initTerminus()
36 "Failed to get FRU Metadata for terminus {TID}, error {ERROR}", in initTerminus()
47 terminus->doesSupportCommand(PLDM_FRU, PLDM_GET_FRU_RECORD_TABLE)) in initTerminus()
54 "Failed to get Fru Record table for terminus {TID}, error {ERROR}", in initTerminus()
59 if (terminus->doesSupportCommand(PLDM_PLATFORM, PLDM_GET_PDR)) in initTerminus()
61 auto rc = co_await getPDRs(terminus); in initTerminus()
65 "Failed to fetch PDRs for terminus with TID: {TID}, error: {ERROR}", in initTerminus()
67 continue; // Continue to next terminus in initTerminus()
70 terminus->parseTerminusPDRs(); in initTerminus()
74 * Need terminus name from PDRs before updating Inventory object with in initTerminus()
82 uint16_t terminusMaxBufferSize = terminus->maxBufferSize; in initTerminus()
83 if (!terminus->doesSupportCommand(PLDM_PLATFORM, in initTerminus()
92 tid, terminus->maxBufferSize, terminusMaxBufferSize); in initTerminus()
96 … "Failed to get message buffer size for terminus with TID: {TID}, error: {ERROR}", in initTerminus()
102 terminus->maxBufferSize = in initTerminus()
103 std::min(terminus->maxBufferSize, terminusMaxBufferSize); in initTerminus()
109 "Failed to config event receiver for terminus with TID: {TID}, error: {ERROR}", in initTerminus()
112 terminus->initialized = true; in initTerminus()
135 auto& terminus = termini[tid]; in configEventReceiver() local
136 if (!terminus->doesSupportCommand(PLDM_PLATFORM, in configEventReceiver()
139 terminus->synchronyConfigurationSupported.byte = in configEventReceiver()
153 terminus->synchronyConfigurationSupported, numberEventClassReturned, in configEventReceiver()
158 … "Failed to get event message supported for terminus with TID: {TID}, error: {ERROR}", in configEventReceiver()
160 terminus->synchronyConfigurationSupported.byte = 0; in configEventReceiver()
164 if (!terminus->doesSupportCommand(PLDM_PLATFORM, PLDM_SET_EVENT_RECEIVER)) in configEventReceiver()
166 lg2::error("Terminus {TID} does not support Event", "TID", tid); in configEventReceiver()
179 * for eventMessageGlobalEnable when the terminus supports that type in configEventReceiver()
181 if (terminus->synchronyConfigurationSupported.byte & in configEventReceiver()
189 * for eventMessageGlobalEnable when the terminus does not support in configEventReceiver()
193 else if (terminus->synchronyConfigurationSupported.byte & in configEventReceiver()
199 * for eventMessageGlobalEnable when the terminus only supports in configEventReceiver()
202 else if (terminus->synchronyConfigurationSupported.byte & in configEventReceiver()
216 "Failed to set event receiver for terminus with TID: {TID}, error: {ERROR}", in configEventReceiver()
224 exec::task<int> PlatformManager::getPDRs(std::shared_ptr<Terminus> terminus) in getPDRs() argument
226 pldm_tid_t tid = terminus->getTid(); in getPDRs()
234 if (terminus->doesSupportCommand(PLDM_PLATFORM, in getPDRs()
243 "Failed to get PDR Repository Info for terminus with TID: {TID}, error: {ERROR}", in getPDRs()
269 terminus->pdrs.clear(); in getPDRs()
282 … "Failed to get PDRs for terminus {TID}, error: {RC}, first part of record handle {RECORD}", in getPDRs()
284 terminus->pdrs.clear(); in getPDRs()
291 terminus->pdrs.emplace_back(std::vector<uint8_t>( in getPDRs()
313 … "Failed to get PDRs for terminus {TID}, error: {RC}, get middle part of record handle {RECORD}", in getPDRs()
315 terminus->pdrs.clear(); in getPDRs()
325 terminus->pdrs.emplace_back(std::move(receivedPdr)); in getPDRs()
353 "Failed to encode request GetPDR for terminus ID {TID}, error {RC} ", in getPDR()
365 "Failed to send GetPDR message for terminus {TID}, error {RC}", in getPDR()
378 "Failed to decode response GetPDR for terminus ID {TID}, error {RC} ", in getPDR()
385 lg2::error("Error : GetPDR for terminus ID {TID}, complete code {CC}.", in getPDR()
404 "Failed to encode request GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in getPDRRepositoryInfo()
416 "Failed to send GetPDRRepositoryInfo message for terminus {TID}, error {RC}", in getPDRRepositoryInfo()
433 "Failed to decode response GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in getPDRRepositoryInfo()
441 "Error : GetPDRRepositoryInfo for terminus ID {TID}, complete code {CC}.", in getPDRRepositoryInfo()
461 "Failed to encode request GetPDRRepositoryInfo for terminus ID {TID}, error {RC} ", in eventMessageBufferSize()
473 "Failed to send EventMessageBufferSize message for terminus {TID}, error {RC}", in eventMessageBufferSize()
484 "Failed to decode response EventMessageBufferSize for terminus ID {TID}, error {RC} ", in eventMessageBufferSize()
492 "Error : EventMessageBufferSize for terminus ID {TID}, complete code {CC}.", in eventMessageBufferSize()
522 "Failed to encode request SetEventReceiver for terminus ID {TID}, error {RC} ", in setEventReceiver()
534 "Failed to send SetEventReceiver message for terminus {TID}, error {RC}", in setEventReceiver()
545 "Failed to decode response SetEventReceiver for terminus ID {TID}, error {RC} ", in setEventReceiver()
553 "Error : SetEventReceiver for terminus ID {TID}, complete code {CC}.", in setEventReceiver()
573 "Failed to encode request EventMessageSupported for terminus ID {TID}, error {RC} ", in eventMessageSupported()
585 "Failed to send EventMessageSupported message for terminus {TID}, error {RC}", in eventMessageSupported()
602 "Failed to decode response EventMessageSupported for terminus ID {TID}, error {RC} ", in eventMessageSupported()
610 "Error : EventMessageSupported for terminus ID {TID}, complete code {CC}.", in eventMessageSupported()
630 "Failed to encode request GetFRURecordTableMetadata for terminus ID {TID}, error {RC} ", in getFRURecordTableMetadata()
643 "Failed to send GetFRURecordTableMetadata message for terminus {TID}, error {RC}", in getFRURecordTableMetadata()
652 "No response data for GetFRURecordTableMetadata for terminus {TID}", in getFRURecordTableMetadata()
669 … "Failed to decode response GetFRURecordTableMetadata for terminus ID {TID}, error {RC} ", in getFRURecordTableMetadata()
677 "Error : GetFRURecordTableMetadata for terminus ID {TID}, complete code {CC}.", in getFRURecordTableMetadata()
700 "Failed to encode request GetFRURecordTable for terminus ID {TID}, error {RC} ", in getFRURecordTable()
713 "Failed to send GetFRURecordTable message for terminus {TID}, error {RC}", in getFRURecordTable()
721 lg2::error("No response data for GetFRURecordTable for terminus {TID}", in getFRURecordTable()
734 "Failed to decode response GetFRURecordTable for terminus ID {TID}, error {RC} ", in getFRURecordTable()
742 "Error : GetFRURecordTable for terminus ID {TID}, complete code {CC}.", in getFRURecordTable()
755 lg2::error("Invalid terminus {TID}", "TID", tid); in updateInventoryWithFru()
790 …"Failed to get Fru Record Data for terminus {TID}, error: {RC}, first part of data handle {RECORD}… in getFRURecordTables()
813 … "Size of Fru Record Data {SIZE} for terminus {TID} is different the responded size {RSPSIZE}.", in getFRURecordTables()