Home
last modified time | relevance | path

Searched refs:readBuffer (Results 1 – 8 of 8) sorted by relevance

/openbmc/phosphor-ipmi-flash/tools/
H A Dbt.cpp26 std::uint8_t readBuffer[btBufferLen]; in sendContents() local
32 bytesRead = sys->read(inputFd, readBuffer, sizeof(readBuffer)); in sendContents()
36 std::vector<std::uint8_t> buffer(&readBuffer[0], in sendContents()
37 &readBuffer[bytesRead]); in sendContents()
H A Dp2a.cpp98 std::vector<std::uint8_t> readBuffer(bridge->getDataLength()); in sendContents() local
105 bytesRead = sys->read(*inputFd, readBuffer.data(), readBuffer.size()); in sendContents()
109 std::span<const std::uint8_t>(readBuffer.data(), bytesRead)); in sendContents()
H A Dlpc.cpp109 auto readBuffer = std::make_unique<std::uint8_t[]>(host_lpc_buf.length); in sendContents() local
110 if (nullptr == readBuffer) in sendContents()
129 sys->read(inputFd, readBuffer.get(), host_lpc_buf.length); in sendContents()
133 readBuffer.get())) in sendContents()
/openbmc/phosphor-buttons/src/
H A Dgpio.cpp61 char readBuffer = '0'; in getGpioState() local
72 result = ::read(fd, &readBuffer, sizeof(readBuffer)); in getGpioState()
80 GpioState gpioState = (readBuffer == GpioValueMap[polarity].assert) in getGpioState()
/openbmc/bmcweb/redfish-core/src/
H A Dfilesystem_log_watcher.cpp130 *std::bit_cast<struct inotify_event*>(&readBuffer[index]); in onINotify()
140 std::string fileName(&readBuffer[index + iEventSize]); in onINotify()
201 boost::asio::buffer(readBuffer), in watchRedfishEventLogFile()
/openbmc/phosphor-power/tools/i2c/
H A Di2c.cpp190 uint8_t readBuffer[readBufferSize]; in processCallI2C() local
216 readBuffer[0] = 1; in processCallI2C()
223 messages[1].buf = readBuffer; in processCallI2C()
244 readSize = readBuffer[0]; in processCallI2C()
245 std::memcpy(readData, &(readBuffer[1]), readSize); in processCallI2C()
/openbmc/bmcweb/redfish-core/include/
H A Dfilesystem_log_watcher.hpp32 std::array<char, 1024> readBuffer{}; member in redfish::FilesystemLogWatcher
/openbmc/entity-manager/src/
H A Dfru_device.cpp1468 std::array<char, 4096> readBuffer{}; in main() local
1482 const char* p = &readBuffer[index]; in main()
1523 dirWatch.async_read_some(boost::asio::buffer(readBuffer), in main()
1527 dirWatch.async_read_some(boost::asio::buffer(readBuffer), watchI2cBusses); in main()