Lines Matching +full:auto +full:- +full:poll
4 #include <poll.h>
18 constexpr auto SBE_OPERATION_SUCCESSFUL = 0;
19 constexpr auto LENGTH_OF_DISTANCE_HEADER_IN_WORDS = 0x1;
20 constexpr auto LENGTH_OF_RESP_HEADER_IN_WORDS = 0x2;
21 constexpr auto DISTANCE_TO_RESP_CODE = 0x1;
22 constexpr auto MAX_FFDC_LEN_IN_WORDS = 5120;
23 constexpr auto WORD_SIZE = 4;
24 constexpr auto MAGIC_CODE_BITS = 16;
42 if ((rc = poll(&poll_fd, 1, -1)) < 0) in writeToFifo()
55 auto bytesToWrite = (cmdBufLen * WORD_SIZE); in writeToFifo()
70 if ((rc = poll(&poll_fd, 1, -1) < 0)) in writeToFifo()
100 for (auto i = 0; i < (len / WORD_SIZE); ++i) in writeToFifo()
112 // Number of 32-bit words obtained from the SBE in parseResponse()
117 size_t distanceToStatusHeader = sbeDataBuf[sbeDataBuf.size() - 1]; in parseResponse()
132 auto iter = sbeDataBuf.begin(); in parseResponse()
133 std::advance(iter, (lengthObtained - distanceToStatusHeader)); in parseResponse()
137 //| MAGIC BYTES:0xCODE | COMMAND-CLASS | COMMAND-TYPE| in parseResponse()
142 auto l_priSecResp = *iter; in parseResponse()
159 (distanceToStatusHeader - LENGTH_OF_RESP_HEADER_IN_WORDS - in parseResponse()
165 auto ffdcOffset = (lengthObtained - distanceToStatusHeader) + in parseResponse()
182 auto respLen = (lengthObtained - distanceToStatusHeader); in parseResponse()