Home
last modified time | relevance | path

Searched refs:Loop (Results 1 – 25 of 42) sorted by relevance

12

/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
DPL180Mci.c73 UINTN Loop; in GetPow2BlockLen() local
76 Loop = 0x8000; in GetPow2BlockLen()
79 Loop = (Loop >> 1) & 0xFFFF; in GetPow2BlockLen()
81 } while (Pow2BlockLen && (!(Loop & BlockLen))); in GetPow2BlockLen()
226 UINTN Loop; in MciReadBlockData() local
236 Loop = 0; in MciReadBlockData()
252 Buffer[Loop] = MmioRead32(MCI_FIFO_REG); in MciReadBlockData()
253 Loop++; in MciReadBlockData()
254 Buffer[Loop] = MmioRead32(MCI_FIFO_REG); in MciReadBlockData()
255 Loop++; in MciReadBlockData()
[all …]
/device/linaro/bootloader/edk2/OptionRomPkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c47 UINTN Loop; in ConfigurePixelBitMaskFormat() local
53 for (Loop = 0; Loop < 3; Loop++) { in ConfigurePixelBitMaskFormat()
54 ASSERT ((Loop == 3) || (Masks[Loop] != 0)); in ConfigurePixelBitMaskFormat()
55 ASSERT ((MergedMasks & Masks[Loop]) == 0); in ConfigurePixelBitMaskFormat()
56 mPixelShl[Loop] = HighBitSet32 (Masks[Loop]) - 23 + (Loop * 8); in ConfigurePixelBitMaskFormat()
57 if (mPixelShl[Loop] < 0) { in ConfigurePixelBitMaskFormat()
58 mPixelShr[Loop] = -mPixelShl[Loop]; in ConfigurePixelBitMaskFormat()
59 mPixelShl[Loop] = 0; in ConfigurePixelBitMaskFormat()
61 mPixelShr[Loop] = 0; in ConfigurePixelBitMaskFormat()
63 MergedMasks = (UINT32) (MergedMasks | Masks[Loop]); in ConfigurePixelBitMaskFormat()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Library/FrameBufferBltLib/
DFrameBufferBltLib.c57 UINTN Loop; in ConfigurePixelBitMaskFormat() local
63 for (Loop = 0; Loop < 3; Loop++) { in ConfigurePixelBitMaskFormat()
64 ASSERT ((Loop == 3) || (Masks[Loop] != 0)); in ConfigurePixelBitMaskFormat()
65 ASSERT ((MergedMasks & Masks[Loop]) == 0); in ConfigurePixelBitMaskFormat()
66 Configure->PixelShl[Loop] = HighBitSet32 (Masks[Loop]) - 23 + (Loop * 8); in ConfigurePixelBitMaskFormat()
67 if (Configure->PixelShl[Loop] < 0) { in ConfigurePixelBitMaskFormat()
68 Configure->PixelShr[Loop] = -Configure->PixelShl[Loop]; in ConfigurePixelBitMaskFormat()
69 Configure->PixelShl[Loop] = 0; in ConfigurePixelBitMaskFormat()
71 Configure->PixelShr[Loop] = 0; in ConfigurePixelBitMaskFormat()
73 MergedMasks = (UINT32) (MergedMasks | Masks[Loop]); in ConfigurePixelBitMaskFormat()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/AcpiPlatformDxe/
DQemu.c81 UINTN Loop; in QemuInstallAcpiMadtTable() local
115 for (Loop = 0; Loop < CpuCount; ++Loop) { in QemuInstallAcpiMadtTable()
118 LocalApic->AcpiProcessorId = (UINT8) Loop; in QemuInstallAcpiMadtTable()
119 LocalApic->ApicId = (UINT8) Loop; in QemuInstallAcpiMadtTable()
149 for (Loop = 0; Loop < 16; ++Loop) { in QemuInstallAcpiMadtTable()
150 if ((PcdGet16 (Pcd8259LegacyModeEdgeLevel) & (1 << Loop)) == 0) { in QemuInstallAcpiMadtTable()
156 Iso->Source = (UINT8) Loop; in QemuInstallAcpiMadtTable()
157 Iso->GlobalSystemInterruptVector = (UINT32) Loop; in QemuInstallAcpiMadtTable()
/device/linaro/bootloader/edk2/EmbeddedPkg/Universal/MmcDxe/
DMmcDebug.c92 UINTN Loop; in PrintOCR() local
99 for (Loop = 8; Loop < 24; Loop++) { in PrintOCR()
100 if (Ocr & (1 << Loop)) { in PrintOCR()
/device/linaro/bootloader/OpenPlatformPkg/Chips/Hisilicon/Drivers/NorFlashDxe/
DNorFlashDxe.c145 UINT32 Loop; in WriteAfterErase_Fill() local
178 for (Loop = 0; Loop < Length; Loop ++) in WriteAfterErase_Fill()
180 NewDataUnit[(UINT32)(DataOffset + Loop)] = Buffer[Loop]; in WriteAfterErase_Fill()
202 UINT32 Loop; in WriteAfterErase_Final() local
219 Loop = Length / FlashUnitLength; in WriteAfterErase_Final()
220 while (Loop --) in WriteAfterErase_Final()
398 UINT32 Loop; in Erase() local
422 for (Loop = 0; Loop <= Sectors; Loop ++) in Erase()
466 UINT32 Loop; in Write() local
490 for (Loop = 0; Loop <= Sectors; Loop ++) in Write()
/device/linaro/bootloader/edk2/OvmfPkg/PlatformPei/
DXen.c181 UINT32 Loop; in XenPublishRamRegions() local
183 for (Loop = 0; Loop < E820EntriesCount; Loop++) { in XenPublishRamRegions()
184 Entry = E820Map + Loop; in XenPublishRamRegions()
DPlatform.c534 UINT32 Loop; in DebugDumpCmos() local
538 for (Loop = 0; Loop < 0x80; Loop++) { in DebugDumpCmos()
539 if ((Loop % 0x10) == 0) { in DebugDumpCmos()
540 DEBUG ((EFI_D_INFO, "%02x:", Loop)); in DebugDumpCmos()
542 DEBUG ((EFI_D_INFO, " %02x", CmosRead8 (Loop))); in DebugDumpCmos()
543 if ((Loop % 0x10) == 0xf) { in DebugDumpCmos()
/device/linaro/bootloader/OpenPlatformPkg/Platforms/AMD/Styx/Drivers/StyxRngDxe/
DStyxRngDxe.c134 UINT32 Loop; in StyxRngGetRNG() local
158 for (Loop = 0; Loop < 4 && RNGValueLength > 0; Loop++, RNGValueLength--) { in StyxRngGetRNG()
/device/linaro/bootloader/edk2/OvmfPkg/QemuFlashFvbServicesRuntimeDxe/
DQemuFlash.c175 UINTN Loop; in QemuFlashWrite() local
189 for (Loop = 0; Loop < *NumBytes; Loop++) { in QemuFlashWrite()
191 *Ptr = Buffer[Loop]; in QemuFlashWrite()
/device/linaro/bootloader/edk2/MdePkg/Library/BaseCpuLib/Ipf/
DCpuFlushTlb.s46 Loop: label
49 br.ctop.sptk Loop
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/BaseLib/Ipf/
DCpuFlushTlb.s47 Loop: label
50 br.ctop.sptk Loop
/device/linaro/bootloader/edk2/OptionRomPkg/Application/BltLibSample/
DBltLibSample.c75 UINTN Loop; in TestFills() local
84 for (Loop = 0; Loop < 10000; Loop++) { in TestFills()
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugCommunicationLibUsb3/
DDebugCommunicationLibUsb3Transfer.c360 UINTN Loop; in XhcExecTransfer() local
363 Loop = Timeout / XHC_DEBUG_PORT_1_MILLISECOND; in XhcExecTransfer()
365 Loop = 0xFFFFFFFF; in XhcExecTransfer()
371 for (Index = 0; Index < Loop; Index++) { in XhcExecTransfer()
378 if (Index == Loop) { in XhcExecTransfer()
/device/linaro/bootloader/edk2/AppPkg/Applications/OrderedCollectionTest/
DOrderedCollectionTest.c447 int Loop; in SetupInputOutput() local
453 Loop = 1; in SetupInputOutput()
455 while (Loop) { in SetupInputOutput()
505 Loop = 0; in SetupInputOutput()
/device/linaro/bootloader/edk2/AppPkg/Applications/Python/Python-2.7.2/Lib/email/test/data/
Dmsg_32.txt12 X-Loop: FreeBSD.org
Dmsg_33.txt13 X-Loop: FreeBSD.org
/device/linaro/bootloader/edk2/OvmfPkg/Library/LoadLinuxLib/
DLinux.c161 UINT32 Loop; in LoadLinuxAllocateKernelPages() local
170 for (Loop = 1; Loop < 512; Loop++) { in LoadLinuxAllocateKernelPages()
173 Loop in LoadLinuxAllocateKernelPages()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciPei/
DEhciSched.c426 UINTN Loop; in EhcExecTransfer() local
431 Loop = TimeOut * EHC_1_MILLISECOND; in EhcExecTransfer()
443 for (Index = 0; InfiniteLoop || (Index < Loop); Index++) { in EhcExecTransfer()
/device/linaro/bootloader/edk2/QuarkSocPkg/QuarkSouthCluster/Sdio/Dxe/SDControllerDxe/
DSDController.c1312 UINTN Loop; in DetectCardAndInitHost() local
1339 for (Loop = 0; Loop < sizeof (Voltages); Loop++) { in DetectCardAndInitHost()
1343 Voltages[Loop] / 10, in DetectCardAndInitHost()
1344 Voltages[Loop] % 10 in DetectCardAndInitHost()
1346 Status = SetHostVoltage (This, Voltages[Loop]); in DetectCardAndInitHost()
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeNetLib/
DNetBuffer.c380 UINT32 Loop; in NetbufGetByte() local
392 for (Loop = 0; Loop < Nbuf->BlockOpNum; Loop++) { in NetbufGetByte()
394 if (Len + BlockOp[Loop].Size <= Offset) { in NetbufGetByte()
395 Len += BlockOp[Loop].Size; in NetbufGetByte()
400 *Index = Loop; in NetbufGetByte()
403 return BlockOp[Loop].Head + (Offset - Len); in NetbufGetByte()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/XhciDxe/
DXhciReg.c518 UINT64 Loop; in XhcWaitOpRegBit() local
520 Loop = Timeout * XHC_1_MILLISECOND; in XhcWaitOpRegBit()
522 for (Index = 0; Index < Loop; Index++) { in XhcWaitOpRegBit()
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/EhciDxe/
DEhciSched.c692 UINTN Loop; in EhcExecTransfer() local
697 Loop = TimeOut * EHC_1_MILLISECOND; in EhcExecTransfer()
710 for (Index = 0; InfiniteLoop || (Index < Loop); Index++) { in EhcExecTransfer()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/DisplayEngineDxe/
DInputHandler.c490 UINTN Loop; in GetNumericInput() local
865 for (Loop = 0; Loop < EraseLen; Loop++) { in GetNumericInput()
866 PrintStringAt (MenuOption->OptCol + Loop, MenuOption->Row, L" "); in GetNumericInput()
/device/linaro/bootloader/edk2/UefiCpuPkg/
DUefiCpuPkg.dec199 # 1: Place AP in the Hlt-Loop state.<BR>
200 # 2: Place AP in the Mwait-Loop state.<BR>
201 # 3: Place AP in the Run-Loop state.<BR>

12