Home
last modified time | relevance | path

Searched refs:fruInventoryOffset (Results 1 – 4 of 4) sorted by relevance

/openbmc/fb-ipmi-oem/include/
H A Dstoragecommands.hpp52 uint16_t fruInventoryOffset; member
59 uint16_t fruInventoryOffset; member
/openbmc/intel-ipmi-oem/src/
H A Dstoragecommands.cpp380 uint16_t fruInventoryOffset, uint8_t countToRead) in ipmiStorageReadFruData() argument
395 if (countToRead + fruInventoryOffset < fruCache.size()) in ipmiStorageReadFruData()
399 else if (fruCache.size() > fruInventoryOffset) in ipmiStorageReadFruData()
401 fromFruByteLen = fruCache.size() - fruInventoryOffset; in ipmiStorageReadFruData()
411 requestedData.begin(), fruCache.begin() + fruInventoryOffset, in ipmiStorageReadFruData()
412 fruCache.begin() + fruInventoryOffset + fromFruByteLen); in ipmiStorageReadFruData()
427 ipmi::Context::ptr& ctx, uint8_t fruDeviceId, uint16_t fruInventoryOffset, in ipmiStorageWriteFruData() argument
442 size_t lastWriteAddr = fruInventoryOffset + writeLen; in ipmiStorageWriteFruData()
445 fruCache.resize(fruInventoryOffset + writeLen); in ipmiStorageWriteFruData()
449 fruCache.begin() + fruInventoryOffset); in ipmiStorageWriteFruData()
/openbmc/phosphor-host-ipmid/dbus-sdr/
H A Dstoragecommands.cpp366 uint16_t fruInventoryOffset, uint8_t countToRead) in ipmiStorageReadFruData() argument
380 if (countToRead + fruInventoryOffset < fru.size()) in ipmiStorageReadFruData()
384 else if (fru.size() > fruInventoryOffset) in ipmiStorageReadFruData()
386 fromFruByteLen = fru.size() - fruInventoryOffset; in ipmiStorageReadFruData()
396 fru.begin() + fruInventoryOffset, in ipmiStorageReadFruData()
397 fru.begin() + fruInventoryOffset + fromFruByteLen); in ipmiStorageReadFruData()
412 ipmi::Context::ptr ctx, uint8_t fruDeviceId, uint16_t fruInventoryOffset, in ipmiStorageWriteFruData() argument
427 size_t lastWriteAddr = fruInventoryOffset + writeLen; in ipmiStorageWriteFruData()
430 fru.resize(fruInventoryOffset + writeLen); in ipmiStorageWriteFruData()
434 fru.begin() + fruInventoryOffset); in ipmiStorageWriteFruData()
/openbmc/fb-ipmi-oem/src/
H A Dstoragecommands.cpp332 if (req->countToRead + req->fruInventoryOffset < fruCache.size()) in ipmiStorageReadFRUData()
336 else if (fruCache.size() > req->fruInventoryOffset) in ipmiStorageReadFRUData()
338 fromFRUByteLen = fruCache.size() - req->fruInventoryOffset; in ipmiStorageReadFRUData()
343 std::copy(fruCache.begin() + req->fruInventoryOffset, in ipmiStorageReadFRUData()
344 fruCache.begin() + req->fruInventoryOffset + fromFRUByteLen, in ipmiStorageReadFRUData()
379 size_t lastWriteAddr = req->fruInventoryOffset + writeLen; in ipmiStorageWriteFRUData()
382 fruCache.resize(req->fruInventoryOffset + writeLen); in ipmiStorageWriteFRUData()
386 fruCache.begin() + req->fruInventoryOffset); in ipmiStorageWriteFRUData()