/openbmc/pldm/pldmd/ |
H A D | invoker.hpp | 26 void registerHandler(Type pldmType, std::unique_ptr<CmdHandler> handler) in registerHandler() argument 28 handlers.emplace(pldmType, std::move(handler)); in registerHandler() 40 Response handle(pldm_tid_t tid, Type pldmType, Command pldmCommand, in handle() argument 43 return handlers.at(pldmType)->handle(tid, pldmCommand, request, in handle()
|
/openbmc/pldm/pldmtool/ |
H A D | pldm_base_cmd.cpp | 194 app->add_option("-t,--type", pldmType, "pldm supported type") in GetPLDMVersion() 205 pldmType, request); in createRequestMsg() 228 [&](const auto& typePair) { return typePair.second == pldmType; }); in parseResponseMsg() 238 pldm_supported_types pldmType; member in pldmtool::base::GetPLDMVersion 292 app->add_option("-t,--type", pldmType, "pldm supported type") in GetPLDMCommands() 323 encode_get_commands_req(instanceId, pldmType, version, request); in createRequestMsg() 339 printPldmCommands(cmdTypes, pldmType); in parseResponseMsg() 343 pldm_supported_types pldmType; member in pldmtool::base::GetPLDMCommands 360 pldm_supported_types pldmType) in printPldmCommands() argument 369 switch (pldmType) in printPldmCommands()
|
H A D | pldm_cmd_helper.hpp | 81 pldmType(type), commandName(name), mctp_eid(PLDM_ENTITY_ID), in CommandInterface() 120 return pldmType; in getPLDMType() 134 const std::string pldmType; member in pldmtool::helper::CommandInterface
|
H A D | pldm_cmd_helper.cpp | 31 std::cerr << "Failed to encode request message for " << pldmType << ":" in exec() 55 if (CommandInterface::pldmType == "raw") in pldmSendRecv()
|
H A D | README.md | 74 pldmtool <pldmType> -h 101 pldmtool <pldmType> <commandName> -h 138 pldmtool raw --data 0x80 <pldmType> <cmdType> <payloadReq> 147 <instanceId> <hdrVersion> <pldmType> <cmdType> <completionCode> <payloadResp> 223 pldmtool <pldmType> <cmdType> -m <mctpId> 226 pldmtool raw -d 0x80 <pldmType> <cmdType> <payloadReq> -m <mctpId>
|
/openbmc/libpldm/tests/dsp/ |
H A D | base.cpp | 199 uint8_t pldmType = 0x05; in TEST() local 208 EXPECT_EQ(0, memcmp(request->payload, &pldmType, sizeof(pldmType))); in TEST() 215 uint8_t pldmType = 0x05; in TEST() local 221 memcpy(requestMsg.data() + hdrSize, &pldmType, sizeof(pldmType)); in TEST() 231 EXPECT_EQ(pldmTypeOut, pldmType); in TEST() 376 uint8_t pldmType = 0x03; in TEST() local 389 &pldmType, sizeof(pldmType))); in TEST() 394 uint8_t pldmType = 0x03; in TEST() local 437 uint8_t pldmType = PLDM_BASE; in TEST() local 445 &pldmType, sizeof(pldmType)); in TEST() [all …]
|
/openbmc/pldm/libpldmresponder/test/ |
H A D | libpldmresponder_base_test.cpp | 79 uint8_t pldmType = PLDM_BASE; in TEST_F() local 86 encode_get_version_req(0, transferHandle, flag, pldmType, request); in TEST_F() 112 uint8_t pldmType = 7; in TEST_F() local 117 encode_get_version_req(0, transferHandle, flag, pldmType, request); in TEST_F() 130 rc = encode_get_version_req(0, transferHandle, flag, pldmType, request); in TEST_F()
|