/openbmc/dbus-sensors/src/hwmon-temp/ |
H A D | HwmonTempSensor.cpp | 141 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 D | HwmonTempSensor.hpp | 52 std::array<char, 128> readBuf{}; member in HwmonTempSensor
|
/openbmc/intel-ipmi-oem/src/ |
H A D | manufacturingcommands.cpp | 978 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 D | oemcommands.cpp | 270 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 D | ADCSensor.cpp | 138 self->readBuf = buffer; in setupRead() 154 self->readBuf = buffer; in setupRead() 169 std::istream responseStream(readBuf.get()); in handleResponse()
|
H A D | ADCSensor.hpp | 84 std::shared_ptr<boost::asio::streambuf> readBuf; member in ADCSensor
|
/openbmc/dbus-sensors/src/fan/ |
H A D | TachSensor.cpp | 119 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 D | TachSensor.hpp | 80 std::array<char, 128> readBuf{}; member in TachSensor
|
/openbmc/phosphor-host-ipmid/libipmid/ |
H A D | utils.cpp | 555 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 D | IntelCPUSensor.hpp | 41 boost::asio::streambuf readBuf; member in IntelCPUSensor
|
/openbmc/phosphor-host-ipmid/include/ipmid/ |
H A D | utils.hpp | 480 std::vector<uint8_t>& readBuf);
|
/openbmc/phosphor-host-ipmid/ |
H A D | apphandler.cpp | 1772 std::vector<uint8_t> readBuf(readCount); in ipmiControllerWriteRead() local 1777 writeData, readBuf); in ipmiControllerWriteRead() 1782 return ipmi::responseSuccess(readBuf); in ipmiControllerWriteRead()
|