Home
last modified time | relevance | path

Searched refs:NumOfLba (Results 1 – 11 of 11) sorted by relevance

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/NorFlashDxe/
DNorFlashFvbDxe.c601 UINTN NumOfLba; // Number of Lba blocks to erase in FvbEraseBlocks() local
631 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
634 …umOfLba=%d - 1 ) > LastBlock=%ld.\n", Instance->StartLba + StartingLba, NumOfLba, Instance->Media.… in FvbEraseBlocks()
635 …if ((NumOfLba == 0) || ((Instance->StartLba + StartingLba + NumOfLba - 1) > Instance->Media.LastBl… in FvbEraseBlocks()
659 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
662 while (NumOfLba > 0) { in FvbEraseBlocks()
682 NumOfLba--; in FvbEraseBlocks()
/device/linaro/bootloader/edk2/Vlv2TbltDevicePkg/FvbRuntimeDxe/
DFvbSmmDxe.c649 IN UINTN NumOfLba in EraseBlock()
678 SmmFvbBlocksHeader->NumOfLba = NumOfLba; in EraseBlock()
723 UINTN NumOfLba; in FvbEraseBlocks()
737 NumOfLba = VA_ARG (Marker, UINT32); in FvbEraseBlocks()
738 if (NumOfLba == 0) { in FvbEraseBlocks()
754 NumOfLba = VA_ARG (Marker, UINT32); in FvbEraseBlocks()
755 Status = EraseBlock (This, StartingLba, NumOfLba); in FvbEraseBlocks()
DFvbService.c785 UINTN NumOfLba; in FvbProtocolEraseBlocks()
805 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
810 if (NumOfLba == 0) { in FvbProtocolEraseBlocks()
815 if ( ( StartingLba + NumOfLba ) > NumOfBlocks ) { in FvbProtocolEraseBlocks()
829 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
831 while ( NumOfLba > 0 ) { in FvbProtocolEraseBlocks()
838 NumOfLba --; in FvbProtocolEraseBlocks()
DFvbSmmCommon.h84 UINTN NumOfLba;
/device/linaro/bootloader/edk2/OvmfPkg/EmuVariableFvbRuntimeDxe/
DFvb.c327 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
343 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
348 if ((NumOfLba == 0) || (StartingLba > 1) || ((StartingLba + NumOfLba) > 2)) { in FvbProtocolEraseBlocks()
356 if ((StartingLba + NumOfLba) == 2) { in FvbProtocolEraseBlocks()
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
DFwBlockService.c629 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
648 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
653 if ((NumOfLba == 0) || ((StartingLba + NumOfLba) > NumOfBlocks)) { in FvbProtocolEraseBlocks()
668 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
670 while (NumOfLba > 0) { in FvbProtocolEraseBlocks()
678 NumOfLba--; in FvbProtocolEraseBlocks()
/device/linaro/bootloader/edk2/EmulatorPkg/FvbServicesRuntimeDxe/
DFWBlockService.c891 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
909 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
914 if (NumOfLba == 0 || (StartingLba + NumOfLba) > NumOfBlocks) { in FvbProtocolEraseBlocks()
929 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
931 while (NumOfLba > 0) { in FvbProtocolEraseBlocks()
939 NumOfLba--; in FvbProtocolEraseBlocks()
/device/linaro/bootloader/edk2/Nt32Pkg/FvbServicesRuntimeDxe/
DFWBlockService.c930 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
948 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
953 if ((NumOfLba == 0) || ((StartingLba + NumOfLba) > NumOfBlocks)) { in FvbProtocolEraseBlocks()
968 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
970 while (NumOfLba > 0) { in FvbProtocolEraseBlocks()
978 NumOfLba--; in FvbProtocolEraseBlocks()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/FlashFvbDxe/
DFlashFvbDxe.c742 UINTN NumOfLba; // Number of Lba blocks to erase in FvbEraseBlocks() local
771 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
774 …if ((NumOfLba == 0) || ((Instance->StartLba + StartingLba + NumOfLba - 1) > Instance->Media.LastBl… in FvbEraseBlocks()
801 NumOfLba = VA_ARG (Args, UINT32); in FvbEraseBlocks()
804 while (NumOfLba > 0) in FvbEraseBlocks()
826 NumOfLba--; in FvbEraseBlocks()
/device/linaro/bootloader/edk2/DuetPkg/FvbRuntimeService/
DFWBlockService.c976 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
994 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
999 if ((NumOfLba == 0) || ((StartingLba + NumOfLba) > NumOfBlocks)) { in FvbProtocolEraseBlocks()
1014 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
1016 while (NumOfLba > 0) { in FvbProtocolEraseBlocks()
1024 NumOfLba--; in FvbProtocolEraseBlocks()
/device/linaro/bootloader/edk2/QuarkPlatformPkg/Platform/SpiFvbServices/
DFwBlockService.c1195 UINTN NumOfLba; in FvbProtocolEraseBlocks() local
1214 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
1219 if (NumOfLba == 0) { in FvbProtocolEraseBlocks()
1224 if ((StartingLba + NumOfLba) > NumOfBlocks) { in FvbProtocolEraseBlocks()
1238 NumOfLba = VA_ARG (args, UINT32); in FvbProtocolEraseBlocks()
1240 while (NumOfLba > 0) { in FvbProtocolEraseBlocks()
1248 NumOfLba--; in FvbProtocolEraseBlocks()