Lines Matching refs:BlockOffset
292 IN UINTN BlockOffset, in FvbReadBlock()
320 if (BlockOffset > LbaLength) { in FvbReadBlock()
324 if (LbaLength < ( *NumBytes + BlockOffset ) ) { in FvbReadBlock()
325 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer); in FvbReadBlock()
360 IN UINTN BlockOffset, in FvbWriteBlock()
394 if (BlockOffset > LbaLength) { in FvbWriteBlock()
398 if ( LbaLength < ( *NumBytes + BlockOffset ) ) { in FvbWriteBlock()
402 (UINT32)(LbaLength-BlockOffset)) in FvbWriteBlock()
404 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
410 Status1 = LibFvbFlashDeviceWrite (LbaAddress + BlockOffset, NumBytes, Buffer); in FvbWriteBlock()
413 WriteBackInvalidateDataCacheRange ((VOID *) (LbaAddress + BlockOffset), *NumBytes); in FvbWriteBlock()