Home
last modified time | relevance | path

Searched refs:pldmFd (Results 1 – 3 of 3) sorted by relevance

/openbmc/openpower-hw-diags/util/
H A Dpldm.cpp21 bool sendPldm(const std::vector<uint8_t>& request, uint8_t mctpEid, int& pldmFd) in sendPldm() argument
24 pldmFd = pldm_open(); in sendPldm()
25 if (-1 == pldmFd) in sendPldm()
32 auto pldmRc = pldm_send(mctpEid, pldmFd, request.data(), request.size()); in sendPldm()
352 int pldmFd = -1; // mctp socket file descriptor in hresetSbe() local
353 if (!sendPldm(request, hbrtMctpEid, pldmFd)) in hresetSbe()
356 if (-1 != pldmFd) in hresetSbe()
358 close(pldmFd); in hresetSbe()
389 close(pldmFd); // close pldm socket in hresetSbe()
/openbmc/openpower-occ-control/
H A Dpldm.cpp197 if ((pldmFd > 0) && (instance == pldmResponseOcc)) in sensorEvent()
598 pldmFd = pollfd.fd; in openMctpDemuxTransport()
601 lg2::info("openMctpDemuxTransport: pldmFd has fd={FD}", "FD", pldmFd); in openMctpDemuxTransport()
637 pldmFd = pollfd.fd; in openAfMctpTransport()
640 lg2::info("openAfMctpTransport: pldmFd has fd={FD}", "FD", pldmFd); in openAfMctpTransport()
738 "ID", mctpEid, "FD", pldmFd, "LEN", request.size(), "INST", in sendPldm()
749 "ID", mctpEid, "FD", pldmFd, "LEN", request.size(), "RC", in sendPldm()
765 rc = sd_event_add_io(event.get(), &sourcePtr, pldmFd, EPOLLIN, in registerPldmRspCallback()
770 rc = sd_event_add_io(event.get(), &sourcePtr, pldmFd, EPOLLIN, in registerPldmRspCallback()
777 "ERR", rc, "STR", strerror(-rc), "FD", pldmFd, "MSG", msgType); in registerPldmRspCallback()
[all …]
H A Dpldm.hpp268 int pldmFd = -1; member in pldm::Interface