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.cpp368 uint16_t fruInventoryOffset, uint8_t countToRead) in ipmiStorageReadFruData() argument
382 if (countToRead + fruInventoryOffset < fru.size()) in ipmiStorageReadFruData()
386 else if (fru.size() > fruInventoryOffset) in ipmiStorageReadFruData()
388 fromFruByteLen = fru.size() - fruInventoryOffset; in ipmiStorageReadFruData()
398 fru.begin() + fruInventoryOffset, in ipmiStorageReadFruData()
399 fru.begin() + fruInventoryOffset + fromFruByteLen); in ipmiStorageReadFruData()
414 ipmi::Context::ptr ctx, uint8_t fruDeviceId, uint16_t fruInventoryOffset, in ipmiStorageWriteFruData() argument
429 size_t lastWriteAddr = fruInventoryOffset + writeLen; in ipmiStorageWriteFruData()
432 fru.resize(fruInventoryOffset + writeLen); in ipmiStorageWriteFruData()
436 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()