Lines Matching refs:readBuf
978 std::vector<uint8_t> readBuf(macRecordSize); in readMacFromFru() local
981 ipmi::i2cWriteRead(i2cBus, fruAddress, writeData, readBuf); in readMacFromFru()
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
1031 ipmi::i2cWriteRead(i2cBus, fruAddress, writeData, readBuf); in writeMacToFru()
1035 readBuf.resize(maxEthSize + 1); // include macHeader in writeMacToFru()
1052 readBuf) == ipmi::ccSuccess) in writeMacToFru()
1055 ++readBuf.begin())) // skip macHeader 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()
1280 std::vector<uint8_t> readBuf(0); in clearCMOS() local
1283 ipmi::i2cWriteRead(i2cBus, targetAddr, writeData, readBuf); in clearCMOS()