| /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_cmd_helper.hpp | 71 uint8_t pldmType); 91 pldmType(type), commandName(name), mctp_eid(PLDM_ENTITY_ID), in CommandInterface() 130 return pldmType; in getPLDMType() 144 const std::string pldmType; member in pldmtool::helper::CommandInterface
|
| H A D | pldm_cmd_helper.cpp | 62 uint8_t pldmType) in fillCompletionCode() argument 73 switch (pldmType) in fillCompletionCode() 97 std::cerr << "Failed to encode request message for " << pldmType << ":" in exec() 121 if (CommandInterface::pldmType == "raw") in pldmSendRecv()
|
| H A D | pldm_base_cmd.cpp | 201 app->add_option("-t,--type", pldmType, "pldm supported type") in GetPLDMVersion() 212 pldmType, request); in createRequestMsg() 238 return typePair.second == pldmType; in parseResponseMsg() 251 pldm_supported_types pldmType; member in pldmtool::base::GetPLDMVersion 305 app->add_option("-t,--type", pldmType, "pldm supported type") in GetPLDMCommands() 337 encode_get_commands_req(instanceId, pldmType, version, request); in createRequestMsg() 353 printPldmCommands(cmdTypes, pldmType); in parseResponseMsg() 357 pldm_supported_types pldmType; member in pldmtool::base::GetPLDMCommands 374 pldm_supported_types pldmType) in printPldmCommands() argument 383 switch (pldmType) in printPldmCommands()
|
| 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/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()
|
| /openbmc/libpldm/tests/dsp/ |
| H A D | base.cpp | 201 uint8_t pldmType = 0x05; in TEST() local 208 auto rc = encode_get_commands_req(0, pldmType, version, request); in TEST() 210 EXPECT_EQ(0, memcmp(request->payload, &pldmType, sizeof(pldmType))); in TEST() 211 EXPECT_EQ(0, memcmp(request->payload + sizeof(pldmType), &version, in TEST() 217 uint8_t pldmType = 0x05; in TEST() local 223 memcpy(requestMsg.data() + hdrSize, &pldmType, sizeof(pldmType)); in TEST() 224 memcpy(requestMsg.data() + sizeof(pldmType) + hdrSize, &version, in TEST() 233 EXPECT_EQ(pldmTypeOut, pldmType); in TEST() 378 uint8_t pldmType = 0x03; in TEST() local 383 encode_get_version_req(0, transferHandle, opFlag, pldmType, request); in TEST() [all …]
|