Home
last modified time | relevance | path

Searched refs:writeData (Results 1 – 23 of 23) sorted by relevance

/openbmc/phosphor-power/tools/i2c/
H A Di2c.hpp134 const uint8_t* writeData, uint8_t& readSize,
161 const uint8_t* writeData, uint8_t& readSize,
214 void processCall(uint8_t addr, uint16_t writeData,
219 void processCall(uint8_t addr, uint8_t writeSize, const uint8_t* writeData,
H A Di2c.cpp155 const uint8_t* writeData, uint8_t& readSize, in processCallSMBus() argument
164 std::memcpy(buffer, writeData, writeSize); in processCallSMBus()
179 const uint8_t* writeData, uint8_t& readSize, in processCallI2C() argument
205 std::memcpy(&(writeBuffer[2]), writeData, writeSize); in processCallI2C()
476 void I2CDevice::processCall(uint8_t addr, uint16_t writeData, in processCall() argument
485 ret = i2c_smbus_process_call(fd, addr, writeData); in processCall()
498 const uint8_t* writeData, uint8_t& readSize, in processCall() argument
508 processCallSMBus(addr, writeSize, writeData, readSize, readData); in processCall()
513 processCallI2C(addr, writeSize, writeData, readSize, readData); in processCall()
H A Di2c_interface.hpp196 virtual void processCall(uint8_t addr, uint16_t writeData,
223 const uint8_t* writeData, uint8_t& readSize,
/openbmc/phosphor-host-ipmid/user_channel/
H A Dcipher_mgmt.cpp136 const auto& writeData = jsonData.dump(); in writeCSPrivilegeLevels() local
137 if (write(fd, writeData.c_str(), writeData.size()) != in writeCSPrivilegeLevels()
138 static_cast<ssize_t>(writeData.size())) in writeCSPrivilegeLevels()
H A Dchannel_mgmt.cpp842 const auto& writeData = jsonData.dump(); in writeJsonFile() local
843 if (write(fd, writeData.c_str(), writeData.size()) != in writeJsonFile()
844 static_cast<ssize_t>(writeData.size())) in writeJsonFile()
/openbmc/intel-ipmi-oem/src/
H A Dmanufacturingcommands.cpp976 std::vector<uint8_t> writeData; in readMacFromFru() local
977 writeData.push_back(static_cast<uint8_t>(macOffset)); in readMacFromFru()
1018 std::vector<uint8_t> writeData; in writeMacToFru() local
1020 writeData.push_back(static_cast<uint8_t>(macOffset)); in writeMacToFru()
1021 writeData.push_back(macHeader); in writeMacToFru()
1025 calculateChecksum(++writeData.cbegin(), writeData.cend()); in writeMacToFru()
1026 writeData.push_back(macCheckSum); in writeMacToFru()
1034 writeData.resize(1); in writeMacToFru()
1177 uint8_t readCount, std::vector<uint8_t> writeData) in appSlotI2CControllerWriteRead() argument
1183 const size_t writeCount = writeData.size(); in appSlotI2CControllerWriteRead()
[all …]
H A Dfirmware-update.cpp1594 ipmiFwImageWriteData(const std::vector<uint8_t>& writeData) in ipmiFwImageWriteData() argument
1597 size_t writeDataLen = writeData.size(); in ipmiFwImageWriteData()
1629 const char* data = reinterpret_cast<const char*>(writeData.data()); in ipmiFwImageWriteData()
1635 if (!xferHashCheck->hash(writeData)) in ipmiFwImageWriteData()
H A Doemcommands.cpp269 std::vector<uint8_t> writeData = {cmdReg, val}; in writefifo() local
272 ipmi::i2cWriteRead(i2cBus, targetAddr, writeData, readBuf); in writefifo()
848 std::optional<std::vector<uint8_t>> writeData) in ipmiOEMSlotIpmb() argument
863 *writeData); in ipmiOEMSlotIpmb()
3745 std::vector<uint8_t> writeData = {psuRevision}; in ipmiOEMGetPSUVersion() local
3750 auto retI2C = ipmi::i2cWriteRead(i2cBus, addr, writeData, readBuf); in ipmiOEMGetPSUVersion()
3935 std::vector<uint8_t> writeData = {ipmi::mailbox::readFifo}; in ipmiOEMReadPFRMailbox() local
3943 writeData, readBuf); in ipmiOEMReadPFRMailbox()
3966 std::vector<uint8_t> writeData = {readRegister}; in ipmiOEMReadPFRMailbox() local
3971 writeData, readBuf); in ipmiOEMReadPFRMailbox()
H A Dbiosconfigcommands.cpp1112 const auto& writeData = json.dump(); in ipmiOEMSetBIOSHashInfo() local
1113 ofs << writeData; in ipmiOEMSetBIOSHashInfo()
/openbmc/phosphor-power/tools/i2c/test/
H A Dmocked_i2c_interface.hpp34 (uint8_t addr, uint16_t writeData, uint16_t& readData),
37 (uint8_t addr, uint8_t writeSize, const uint8_t* writeData,
/openbmc/phosphor-net-ipmid/
H A Dmessage_handler.cpp143 void Handler::writeData(const std::vector<uint8_t>& packet) in writeData() function in message::Handler
159 writeData(packet); in sendASF()
169 writeData(packet); in send()
H A Dmessage_handler.hpp139 void writeData(const std::vector<uint8_t>& packet);
/openbmc/bmcweb/include/
H A Dpersistent_data.hpp40 writeData(); in ~ConfigFile()
207 writeData(); in readData()
211 void writeData() in writeData() function in persistent_data::ConfigFile
/openbmc/phosphor-host-ipmid/
H A Dapphandler.cpp1649 const std::vector<uint8_t>& writeData = in populateI2CControllerWRAllowlist() local
1653 if (writeDataMask.size() != writeData.size()) in populateI2CControllerWRAllowlist()
1668 writeData, writeDataMask}); in populateI2CControllerWRAllowlist()
1693 std::transform(writeData.begin(), writeData.end(), dataMask.begin(), in isWriteDataAllowlisted()
1702 std::vector<uint8_t>& writeData) in isCmdAllowlisted() argument
1714 if (writeData.size() > dataMask.size()) in isCmdAllowlisted()
1718 if (isWriteDataAllowlisted(wlEntry.data, dataMask, writeData)) in isCmdAllowlisted()
1750 uint8_t readCount, std::vector<uint8_t> writeData) in ipmiControllerWriteRead() argument
1756 const size_t writeCount = writeData.size(); in ipmiControllerWriteRead()
1764 static_cast<uint8_t>(targetAddr), writeData)) in ipmiControllerWriteRead()
[all …]
/openbmc/bios-settings-mgr/src/
H A Dpassword.cpp226 const auto& writeData = json.dump(); in changePassword() local
227 ofs << writeData; in changePassword()
/openbmc/phosphor-logging/test/openpower-pels/
H A Dregistry_test.cpp198 static std::string writeData(const char* data) in writeData() function in RegistryTest
213 auto path = RegistryTest::writeData(registryData); in TEST_F()
222 auto path = RegistryTest::writeData(registryData); in TEST_F()
298 auto path = RegistryTest::writeData(registryData); in TEST_F()
324 auto path = RegistryTest::writeData("bad {} json"); in TEST_F()
1173 auto path = RegistryTest::writeData(registryData); in TEST_F()
1184 auto path = RegistryTest::writeData(registryData); in TEST_F()
H A Dsrc_test.cpp96 static std::string writeData(const char* data) in writeData() function in SRCTest
300 auto path = SRCTest::writeData(testRegistry); in TEST_F()
/openbmc/linux/drivers/platform/x86/
H A Dcompal-laptop.c286 unsigned char writeData = PWM_ENABLE_DATA; in pwm_enable_control() local
287 ec_transaction(PWM_ENABLE_ADDR, &writeData, 1, NULL, 0); in pwm_enable_control()
292 unsigned char writeData = PWM_DISABLE_DATA; in pwm_disable_control() local
293 ec_transaction(PWM_DISABLE_ADDR, &writeData, 1, NULL, 0); in pwm_disable_control()
/openbmc/openbmc/meta-openembedded/meta-filesystems/recipes-utils/fatcat/fatcat/
H A D0002-Enable-64bit-off_t.patch47 @@ -112,7 +112,7 @@ int FatSystem::writeData(unsigned long long address, const char *buffer, int siz
/openbmc/phosphor-host-ipmid/libipmid/
H A Dutils.cpp554 std::vector<uint8_t> writeData, in i2cWriteRead() argument
565 const size_t writeCount = writeData.size(); in i2cWriteRead()
575 i2cmsg[msgCount].buf = writeData.data(); in i2cWriteRead()
/openbmc/bmcweb/redfish-core/include/
H A Devent_service_manager.hpp244 persistent_data::getConfig().writeData(); in loadOldBehavior()
268 persistent_data::getConfig().writeData(); in updateSubscriptionData()
/openbmc/phosphor-host-ipmid/include/ipmid/
H A Dutils.hpp479 std::vector<uint8_t> writeData,
/openbmc/bmcweb/redfish-core/lib/
H A Daccount_service.hpp932 persistent_data::getConfig().writeData(); in handleAuthMethodsPatch()
1523 persistent_data::getConfig().writeData(); in handleRespondToUnauthenticatedClientsPatch()