Home
last modified time | relevance | path

Searched refs:readBuf (Results 1 – 12 of 12) sorted by relevance

/openbmc/dbus-sensors/src/hwmon-temp/
H A DHwmonTempSensor.cpp141 0, boost::asio::buffer(readBuf), in setupRead()
182 const char* bufEnd = readBuf.data() + bytesRead; in handleResponse()
185 std::from_chars(readBuf.data(), bufEnd, nvalue); in handleResponse()
H A DHwmonTempSensor.hpp52 std::array<char, 128> readBuf{}; member in HwmonTempSensor
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp978 std::vector<uint8_t> readBuf(macRecordSize); in readMacFromFru() local
984 uint8_t cs = calculateChecksum(readBuf.cbegin(), readBuf.cend()); in readMacFromFru()
987 std::copy(++readBuf.begin(), --readBuf.end(), ethData.data()); in readMacFromFru()
1029 std::vector<uint8_t> readBuf; in writeMacToFru() local
1035 readBuf.resize(maxEthSize + 1); // include macHeader in writeMacToFru()
1052 readBuf) == ipmi::ccSuccess) in writeMacToFru()
1065 readBuf) == ipmi::ccSuccess) in writeMacToFru()
1260 std::vector<uint8_t> readBuf(readCount); in appSlotI2CControllerWriteRead() local
1263 ipmi::i2cWriteRead(i2cBus, targetAddr, writeData, readBuf); in appSlotI2CControllerWriteRead()
1269 return ipmi::responseSuccess(readBuf); in appSlotI2CControllerWriteRead()
[all …]
H A Doemcommands.cpp270 std::vector<uint8_t> readBuf(0); in writefifo() local
619 std::string readBuf = {0}; in ipmiOEMGetDeviceInfo() local
620 readBuf.resize(length); in ipmiOEMGetDeviceInfo()
622 (readBuf.begin())); in ipmiOEMGetDeviceInfo()
623 return ipmi::responseSuccess(readBuf); in ipmiOEMGetDeviceInfo()
3746 std::vector<uint8_t> readBuf(verLen); in ipmiOEMGetPSUVersion() local
3760 for (const uint8_t& data : readBuf) in ipmiOEMGetPSUVersion()
3936 std::vector<uint8_t> readBuf(1); in ipmiOEMReadPFRMailbox() local
3951 for (const uint8_t& data : readBuf) in ipmiOEMReadPFRMailbox()
3967 std::vector<uint8_t> readBuf(numOfBytes); in ipmiOEMReadPFRMailbox() local
[all …]
/openbmc/dbus-sensors/src/adc/
H A DADCSensor.cpp138 self->readBuf = buffer; in setupRead()
154 self->readBuf = buffer; in setupRead()
169 std::istream responseStream(readBuf.get()); in handleResponse()
H A DADCSensor.hpp84 std::shared_ptr<boost::asio::streambuf> readBuf; member in ADCSensor
/openbmc/dbus-sensors/src/fan/
H A DTachSensor.cpp119 0, boost::asio::buffer(readBuf), in setupRead()
173 const char* bufEnd = readBuf.data() + bytesRead; in handleResponse()
176 std::from_chars(readBuf.data(), bufEnd, nvalue); in handleResponse()
H A DTachSensor.hpp80 std::array<char, 128> readBuf{}; member in TachSensor
/openbmc/phosphor-host-ipmid/libipmid/
H A Dutils.cpp555 std::vector<uint8_t>& readBuf) in i2cWriteRead() argument
566 const size_t readCount = readBuf.size(); in i2cWriteRead()
584 i2cmsg[msgCount].buf = readBuf.data(); in i2cWriteRead()
603 readBuf.resize(msgReadWrite.msgs[msgCount - 1].len); in i2cWriteRead()
/openbmc/dbus-sensors/src/intel-cpu/
H A DIntelCPUSensor.hpp41 boost::asio::streambuf readBuf; member in IntelCPUSensor
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutils.hpp480 std::vector<uint8_t>& readBuf);
/openbmc/phosphor-host-ipmid/
H A Dapphandler.cpp1772 std::vector<uint8_t> readBuf(readCount); in ipmiControllerWriteRead() local
1777 writeData, readBuf); in ipmiControllerWriteRead()
1782 return ipmi::responseSuccess(readBuf); in ipmiControllerWriteRead()