Lines Matching refs:RemainingBytes
794 UINT32 RemainingBytes; in SpiFlashWrite()
804 RemainingBytes = *NumBytes; in SpiFlashWrite()
806 while (RemainingBytes > 0) { in SpiFlashWrite()
807 if (RemainingBytes > SIZE_4KB) { in SpiFlashWrite()
810 Length = RemainingBytes; in SpiFlashWrite()
827 RemainingBytes -= Length; in SpiFlashWrite()
835 *NumBytes -= RemainingBytes; in SpiFlashWrite()
862 UINTN RemainingBytes; in SpiFlashBlockErase()
873 RemainingBytes = *NumBytes; in SpiFlashBlockErase()
875 while (RemainingBytes > 0) { in SpiFlashBlockErase()
891 RemainingBytes -= SIZE_4KB; in SpiFlashBlockErase()
898 *NumBytes -= RemainingBytes; in SpiFlashBlockErase()