Lines Matching refs:macOffset
886 bool findFruDevice(ipmi::Context::ptr& ctx, uint64_t& macOffset, in findFruDevice() argument
928 macOffset = *macFruOffset; in findFruDevice()
956 uint64_t macOffset = fruEnd; in readMacFromFru() local
960 if (findFruDevice(ctx, macOffset, fruBus, fruAddress)) in readMacFromFru()
966 if (macOffset % fruPageSize) in readMacFromFru()
968 macOffset = (macOffset / fruPageSize + 1) * fruPageSize; in readMacFromFru()
970 macOffset += macIndex * fruPageSize; in readMacFromFru()
971 if ((macOffset + macRecordSize) > fruEnd) in readMacFromFru()
977 writeData.push_back(static_cast<uint8_t>(macOffset)); in readMacFromFru()
998 uint64_t macOffset = fruEnd; in writeMacToFru() local
1002 if (findFruDevice(ctx, macOffset, fruBus, fruAddress)) in writeMacToFru()
1008 if (macOffset % fruPageSize) in writeMacToFru()
1010 macOffset = (macOffset / fruPageSize + 1) * fruPageSize; in writeMacToFru()
1012 macOffset += macIndex * fruPageSize; in writeMacToFru()
1013 if ((macOffset + macRecordSize) > fruEnd) in writeMacToFru()
1020 writeData.push_back(static_cast<uint8_t>(macOffset)); in writeMacToFru()