Lines Matching refs:NumBytes
72 IN OUT UINTN *NumBytes, in FlashFdWrite() argument
93 CopyMem ((VOID *) Address, Buffer, *NumBytes); in FlashFdWrite()
102 Length = *NumBytes - (FwhInstance->Offset - (Address - FwhInstance->FvBase[FVB_PHYSICAL])); in FlashFdWrite()
106 Length = *NumBytes; in FlashFdWrite()
441 IN OUT UINTN *NumBytes, in FvbReadBlock() argument
485 if ((NumBytes == NULL) || (Buffer == NULL)) { in FvbReadBlock()
489 if (*NumBytes == 0) { in FvbReadBlock()
512 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbReadBlock()
513 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbReadBlock()
517 CopyMem (Buffer, (VOID *) (LbaAddress + BlockOffset), (UINTN) *NumBytes); in FvbReadBlock()
526 IN OUT UINTN *NumBytes, in FvbWriteBlock() argument
583 if ((NumBytes == NULL) || (Buffer == NULL)) { in FvbWriteBlock()
587 if (*NumBytes == 0) { in FvbWriteBlock()
610 if (LbaLength < (*NumBytes + BlockOffset)) { in FvbWriteBlock()
611 *NumBytes = (UINT32) (LbaLength - BlockOffset); in FvbWriteBlock()
618 NumBytes, in FvbWriteBlock()
1040 IN OUT UINTN *NumBytes, in FvbProtocolWrite() argument
1079 …return FvbWriteBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGon… in FvbProtocolWrite()
1088 IN OUT UINTN *NumBytes, in FvbProtocolRead() argument
1128 …return FvbReadBlock (FvbDevice->Instance, Lba, Offset, NumBytes, Buffer, mFvbModuleGlobal, EfiGone… in FvbProtocolRead()