Home
last modified time | relevance | path

Searched refs:pldmTransport (Results 1 – 18 of 18) sorted by relevance

/openbmc/pldm/common/
H A Dtransport.cpp55 pldm_transport* pldmTransport = in pldm_transport_impl_mctp_demux_init() local
58 if (pldmTransport != nullptr) in pldm_transport_impl_mctp_demux_init()
60 pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in pldm_transport_impl_mctp_demux_init()
63 return pldmTransport; in pldm_transport_impl_mctp_demux_init()
93 pldm_transport* pldmTransport = pldm_transport_af_mctp_core(impl.af_mctp); in pldm_transport_impl_af_mctp_init() local
95 if (pldmTransport != nullptr) in pldm_transport_impl_af_mctp_init()
97 pldm_transport_af_mctp_init_pollfd(pldmTransport, &pollfd); in pldm_transport_impl_af_mctp_init()
100 return pldmTransport; in pldm_transport_impl_af_mctp_init()
/openbmc/pldm/utilities/requester/
H A Dset_state_effecter_async.cpp48 PldmTransport pldmTransport{}; in main() local
53 &pldmTransport](IO& io, int fd, uint32_t revents) mutable { in main()
59 if (pldmTransport.getEventSource() != fd) in main()
67 auto rc = pldmTransport.recvMsg(srcTid, responseMsg, responseMsgSize); in main()
84 IO io(event, pldmTransport.getEventSource(), EPOLLIN, std::move(callback)); in main()
86 rc = pldmTransport.sendMsg(dstTid, requestMsg.data(), requestMsg.size()); in main()
H A Dset_state_effecter.cpp41 PldmTransport pldmTransport{}; in main() local
46 rc = pldmTransport.sendRecvMsg(static_cast<pldm_tid_t>(mctpEid), in main()
/openbmc/pldm/requester/
H A Drequest.hpp153 explicit Request(PldmTransport* pldmTransport, mctp_eid_t eid, in Request() argument
158 pldmTransport(pldmTransport), eid(eid), in Request()
163 PldmTransport* pldmTransport; //!< PLDM transport member in pldm::requester::Request
187 if (pldmTransport == nullptr) in send()
193 auto rc = pldmTransport->sendMsg(static_cast<pldm_tid_t>(eid), in send()
H A Dhandler.hpp142 PldmTransport* pldmTransport, sdeventplus::Event& event, in Handler() argument
149 pldmTransport(pldmTransport), event(event), instanceIdDb(instanceIdDb), in Handler()
210 pldmTransport, requestMsg->key.eid, event, in pollEndpointQueue()
414 PldmTransport* pldmTransport; //!< PLDM transport object member in pldm::requester::Handler
/openbmc/pldm/requester/test/
H A Drequest_test.cpp45 PldmTransport* pldmTransport = nullptr; member in RequestIntfTest
52 MockRequest request(pldmTransport, eid, event, std::move(requestMsg), 0,
64 MockRequest request(pldmTransport, eid, event, std::move(requestMsg), 2,
76 MockRequest request(pldmTransport, eid, event, std::move(requestMsg), 9,
100 MockRequest request(pldmTransport, eid, event, std::move(requestMsg), 2,
H A Dhandler_test.cpp32 PldmTransport* pldmTransport = nullptr; member in HandlerTest
79 pldmTransport, event, instanceIdDb, false, seconds(1), 2, in TEST_F()
100 pldmTransport, event, instanceIdDb, false, seconds(1), 2, in TEST_F()
119 pldmTransport, event, instanceIdDb, false, seconds(2), 2, in TEST_F()
160 pldmTransport, event, instanceIdDb, false, seconds(1), 2, in TEST_F()
207 pldmTransport, event, instanceIdDb, false, seconds(1), 2, in TEST_F()
264 Handler<MockRequest> reqHandler(pldmTransport, event, instanceIdDb, false, in TEST_F()
/openbmc/pldm/pldmd/
H A Dpldmd.cpp198 PldmTransport pldmTransport{}; in main() local
213 requester::Handler<requester::Request> reqHandler(&pldmTransport, event, in main()
226 &instanceIdDb, pldmTransport.getEventSource(), pdrRepo.get(), in main()
258 pldmTransport.getEventSource(), hostEID, event, pdrRepo.get(), in main()
267 pldmTransport.getEventSource(), hostEID, instanceIdDb, &reqHandler); in main()
311 pldmTransport.getEventSource(), hostEID, &instanceIdDb, &reqHandler, in main()
318 &dbusHandler, pldmTransport.getEventSource(), pdrRepo.get(), in main()
326 &dbusHandler, pldmTransport.getEventSource(), hostEID, pdrRepo.get(), in main()
363 returnCode = pldmTransport.recvMsg(TID, requestMsg, recvDataLength); in main()
386 returnCode = pldmTransport.sendMsg(TID, (*response).data(), in main()
[all …]
/openbmc/phosphor-logging/extensions/openpower-pels/
H A Dpldm_interface.cpp54 pldmTransport = nullptr; in closeFD()
83 if (pldmTransport) in open()
119 pldmTransport = pldm_transport_mctp_demux_core(mctpDemux); in openMctpDemuxTransport()
122 rc = pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd); in openMctpDemuxTransport()
232 std::placeholders::_3, pldmTransport)); in registerReceiveCallback()
251 rc = pldm_transport_send_msg(pldmTransport, pldmTID, requestMsg.data(), in doSend()
H A Dpldm_interface.hpp215 pldm_transport* pldmTransport = nullptr; member in openpower::pels::PLDMInterface
/openbmc/pldm/softoff/
H A Dsoftoff.cpp275 PldmTransport pldmTransport{}; in hostSoftOff() local
318 auto callback = [=, &pldmTransport, in hostSoftOff()
320 if (fd != pldmTransport.getEventSource()) in hostSoftOff()
334 auto rc = pldmTransport.recvMsg(pldmTID, responseMsg, responseMsgSize); in hostSoftOff()
392 IO io(event, pldmTransport.getEventSource(), EPOLLIN, std::move(callback)); in hostSoftOff()
395 rc = pldmTransport.sendMsg(pldmTID, requestMsg.data(), requestMsg.size()); in hostSoftOff()
/openbmc/pldm/pldmtool/
H A Dpldm_cmd_helper.cpp67 PldmTransport pldmTransport{}; in pldmSendRecv() local
77 pldmTransport.sendRecvMsg(tid, requestMsg.data(), requestMsg.size(), in pldmSendRecv()
/openbmc/openpower-occ-control/
H A Dpldm.cpp587 pldmTransport = pldm_transport_mctp_demux_core(impl.mctpDemux); in openMctpDemuxTransport()
590 if (pldm_transport_mctp_demux_init_pollfd(pldmTransport, &pollfd)) in openMctpDemuxTransport()
626 pldmTransport = pldm_transport_af_mctp_core(impl.afMctp); in openAfMctpTransport()
629 if (pldm_transport_af_mctp_init_pollfd(pldmTransport, &pollfd)) in openAfMctpTransport()
647 if (pldmTransport) in pldmOpen()
711 auto pldmRc = pldm_transport_send_msg(pldmTransport, pldmTID, in sendPldm()
741 auto rc = pldm_transport_send_msg(pldmTransport, pldmTID, in sendPldm()
831 pldmTransport = NULL; in pldmClose()
863 auto rc = pldm_transport_recv_msg(pldmIface->pldmTransport, &pldmTID, in pldmRspCallback()
1003 auto rc = pldm_transport_recv_msg(pldmIface->pldmTransport, &pldmTID, in pldmResetCallback()
H A Dpldm.hpp271 struct pldm_transport* pldmTransport = NULL; member in pldm::Interface
/openbmc/pldm/platform-mc/test/
H A Dsensor_manager_test.cpp19 reqHandler(pldmTransport, event, instanceIdDb, false), in SensorManagerTest()
43 PldmTransport* pldmTransport = nullptr; member in SensorManagerTest
H A Dplatform_manager_test.cpp18 reqHandler(pldmTransport, event, instanceIdDb, false, in PlatformManagerTest()
24 PldmTransport* pldmTransport = nullptr; member in PlatformManagerTest
H A Devent_manager_test.cpp24 reqHandler(pldmTransport, event, instanceIdDb, false, in EventManagerTest()
31 PldmTransport* pldmTransport = nullptr; member in EventManagerTest
H A Dterminus_manager_test.cpp33 reqHandler(pldmTransport, event, instanceIdDb, false, in TerminusManagerTest()
40 PldmTransport* pldmTransport = nullptr; member in TerminusManagerTest