Lines Matching refs:LbaAddress
199 OUT UINTN *LbaAddress, in FvbGetLbaAddress()
242 if ( LbaAddress && FwhInstance ) { in FvbGetLbaAddress()
243 *LbaAddress = FwhInstance->FvBase + Offset; in FvbGetLbaAddress()
298 UINTN LbaAddress; in FvbReadBlock()
309 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL); in FvbReadBlock()
329 LibFvbFlashDeviceRead (LbaAddress + BlockOffset, NumBytes, Buffer); in FvbReadBlock()
366 UINTN LbaAddress; in FvbWriteBlock()
378 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL); in FvbWriteBlock()
408 LibFvbFlashDeviceBlockLock (LbaAddress, LbaLength, FALSE); in FvbWriteBlock()
410 Status1 = LibFvbFlashDeviceWrite (LbaAddress + BlockOffset, NumBytes, Buffer); in FvbWriteBlock()
412 LibFvbFlashDeviceBlockLock (LbaAddress, LbaLength, TRUE); in FvbWriteBlock()
413 WriteBackInvalidateDataCacheRange ((VOID *) (LbaAddress + BlockOffset), *NumBytes); in FvbWriteBlock()
444 UINTN LbaAddress; in FvbEraseBlock()
460 Status = FvbGetLbaAddress (Instance, Lba, &LbaAddress, &LbaLength, NULL); in FvbEraseBlock()
465 LibFvbFlashDeviceBlockLock (LbaAddress, LbaLength, FALSE); in FvbEraseBlock()
467 Status = LibFvbFlashDeviceBlockErase (LbaAddress, LbaLength); in FvbEraseBlock()
469 LibFvbFlashDeviceBlockLock (LbaAddress, LbaLength, TRUE); in FvbEraseBlock()
471 WriteBackInvalidateDataCacheRange ((VOID *) LbaAddress, LbaLength); in FvbEraseBlock()