Lines Matching full:numbytes
516 UINTN NumBytes;
518 NumBytes = BLOCK_SIZE;
520 Status = SpiFlashBlockErase ((UINTN) BaseAddress, &NumBytes);
553 UINT32 NumBytes;
556 NumBytes = BLOCK_SIZE;
557 CompareBuffer = AllocatePool (NumBytes);
563 Status = SpiFlashRead ((UINTN) BaseAddress, &NumBytes, CompareBuffer);
727 Read NumBytes bytes of data from the address specified by
731 @param[in,out] NumBytes On input, the number of bytes to read. On output, the number
743 IN OUT UINT32 *NumBytes,
750 ASSERT ((NumBytes != NULL) && (Buffer != NULL));
771 Write NumBytes bytes of data from Buffer to the address specified by
775 @param[in,out] NumBytes On input, the number of bytes to write. On output,
787 IN OUT UINT32 *NumBytes,
796 ASSERT ((NumBytes != NULL) && (Buffer != NULL));
801 ASSERT ((*NumBytes + Offset) <= (UINTN)PcdGet32 (PcdFlashChipSize));
804 RemainingBytes = *NumBytes;
835 *NumBytes -= RemainingBytes;
846 @param[in] NumBytes On input, the number of bytes of the logical block to be erased.
857 IN UINTN *NumBytes
864 ASSERT (NumBytes != NULL);
869 ASSERT ((*NumBytes % SIZE_4KB) == 0);
870 ASSERT ((*NumBytes + Offset) <= (UINTN)PcdGet32 (PcdFlashChipSize));
873 RemainingBytes = *NumBytes;
898 *NumBytes -= RemainingBytes;