Home
last modified time | relevance | path

Searched refs:RemainLength (Results 1 – 2 of 2) sorted by relevance

/device/linaro/bootloader/edk2/ArmPkg/Library/ArmMmuLib/Arm/
DArmMmuLibCore.c110 IN UINT32 RemainLength, in PopulateLevel2PageTable() argument
193 Pages = RemainLength / TT_DESCRIPTOR_PAGE_SIZE; in PopulateLevel2PageTable()
212 UINT64 RemainLength; in FillTranslationTable() local
221 RemainLength = MIN(MemoryRegion->Length, SIZE_4GB - PhysicalBase); in FillTranslationTable()
260 while (RemainLength != 0) { in FillTranslationTable()
262 if (RemainLength >= TT_DESCRIPTOR_SECTION_SIZE) { in FillTranslationTable()
268 … PopulateLevel2PageTable (SectionEntry++, PhysicalBase, RemainLength, MemoryRegion->Attributes); in FillTranslationTable()
275 … PopulateLevel2PageTable (SectionEntry++, PhysicalBase, RemainLength, MemoryRegion->Attributes); in FillTranslationTable()
280 if (RemainLength < TT_DESCRIPTOR_SECTION_SIZE) { in FillTranslationTable()
284 RemainLength -= TT_DESCRIPTOR_SECTION_SIZE; in FillTranslationTable()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Spi/Devices/
DMvSpiFlash.c225 UINT32 AddrSize, ReadAddr, ReadLength, RemainLength; in MvSpiFlashRead() local
240 RemainLength = (SPI_FLASH_16MB_BOUN * (BankSel + 1)) - Offset; in MvSpiFlashRead()
241 if (Length < RemainLength) { in MvSpiFlashRead()
244 ReadLength = RemainLength; in MvSpiFlashRead()