Home
last modified time | relevance | path

Searched refs:Tpl (Results 1 – 25 of 36) sorted by relevance

12

/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/EfiDriverLib/
DLock.c56 Lock->Tpl = Priority; in EfiInitializeLock()
93 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
151 EFI_TPL Tpl; in EfiReleaseLock() local
153 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
158 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Library/
DLibrary.c48 Lock->OwnerTpl = CoreRaiseTpl (Lock->Tpl); in CoreAcquireLockOrFail()
73 Lock->OwnerTpl = CoreRaiseTpl (Lock->Tpl); in CoreAcquireLock()
93 EFI_TPL Tpl; in CoreReleaseLock() local
98 Tpl = Lock->OwnerTpl; in CoreReleaseLock()
102 CoreRestoreTpl (Tpl); in CoreReleaseLock()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/X64/
DLock.c62 Lock->Tpl = Priority; in EfiInitializeLock()
104 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
163 EFI_TPL Tpl; in EfiReleaseLock() local
165 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
175 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ia32/
DLock.c62 Lock->Tpl = Priority; in EfiInitializeLock()
104 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
163 EFI_TPL Tpl; in EfiReleaseLock() local
165 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
175 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/RuntimeDxe/EfiRuntimeLib/Ipf/
DLock.c60 Lock->Tpl = Priority; in EfiInitializeLock()
99 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
156 EFI_TPL Tpl; in EfiReleaseLock() local
158 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
168 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/DpcDxe/
DDpc.c225 EFI_TPL Tpl; in DpcDispatchDpc() local
246 for (Tpl = TPL_HIGH_LEVEL; Tpl >= OriginalTpl; Tpl--) { in DpcDispatchDpc()
250 while (!IsListEmpty (&mDpcQueue[Tpl])) { in DpcDispatchDpc()
254 DpcEntry = (DPC_ENTRY *)(GetFirstNode (&mDpcQueue[Tpl])); in DpcDispatchDpc()
269 gBS->RestoreTPL (Tpl); in DpcDispatchDpc()
/device/linaro/bootloader/edk2/EmulatorPkg/Unix/
Dlldbefi.py128 Tpl = valobj.GetValueAsUnsigned(0)
129 if Tpl < 4:
130 Str = "%d" % Tpl
131 elif Tpl == 6:
133 elif Tpl < 8:
135 if Tpl - 4 > 0:
136 Str += " + " + "%d" % (Tpl - 4)
137 elif Tpl < 16:
139 if Tpl - 8 > 0:
140 Str += " + " + "%d" % (Tpl - 4)
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Bus/Pci/PciSioSerialDxe/
DSerialIo.c490 EFI_TPL Tpl; in SerialReset() local
504 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialReset()
571 gBS->RestoreTPL (Tpl); in SerialReset()
590 gBS->RestoreTPL (Tpl); in SerialReset()
599 gBS->RestoreTPL (Tpl); in SerialReset()
641 EFI_TPL Tpl; in SerialSetAttributes() local
684 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialSetAttributes()
778 gBS->RestoreTPL (Tpl); in SerialSetAttributes()
811 gBS->RestoreTPL (Tpl); in SerialSetAttributes()
835 EFI_TPL Tpl; in SerialSetControl() local
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtSerialIoDxe/
DWinNtSerialIo.c872 EFI_TPL Tpl; in WinNtSerialIoReset() local
874 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in WinNtSerialIoReset()
883 gBS->RestoreTPL (Tpl); in WinNtSerialIoReset()
944 EFI_TPL Tpl; in WinNtSerialIoSetAttributes() local
1037 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in WinNtSerialIoSetAttributes()
1048 gBS->RestoreTPL (Tpl); in WinNtSerialIoSetAttributes()
1078 gBS->RestoreTPL (Tpl); in WinNtSerialIoSetAttributes()
1095 gBS->RestoreTPL (Tpl); in WinNtSerialIoSetAttributes()
1116 gBS->RestoreTPL(Tpl); in WinNtSerialIoSetAttributes()
1144 gBS->RestoreTPL (Tpl); in WinNtSerialIoSetAttributes()
[all …]
/device/linaro/bootloader/edk2/SourceLevelDebugPkg/Library/DebugAgent/DxeDebugAgent/
DSerialIo.c509 EFI_TPL Tpl; in SerialGetControl() local
514 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialGetControl()
544 gBS->RestoreTPL (Tpl); in SerialGetControl()
572 EFI_TPL Tpl; in SerialWrite() local
577 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialWrite()
607 gBS->RestoreTPL (Tpl); in SerialWrite()
637 EFI_TPL Tpl; in SerialRead() local
645 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialRead()
712 gBS->RestoreTPL (Tpl); in SerialRead()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/SerialDxe/
DSerialIo.c220 EFI_TPL Tpl; in SerialReset() local
231 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialReset()
251 gBS->RestoreTPL (Tpl); in SerialReset()
270 gBS->RestoreTPL (Tpl); in SerialReset()
314 EFI_TPL Tpl; in SerialSetAttributes() local
325 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SerialSetAttributes()
345 gBS->RestoreTPL (Tpl); in SerialSetAttributes()
364 gBS->RestoreTPL (Tpl); in SerialSetAttributes()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/ReportStatusCodeRouter/RuntimeDxe/
DReportStatusCodeRouterRuntimeDxe.c112 IN EFI_TPL Tpl in Register() argument
138 CallbackEntry->Tpl = Tpl; in Register()
148 if (Tpl != TPL_HIGH_LEVEL) { in Register()
154 Tpl, in Register()
200 if (CallbackEntry->Tpl != TPL_HIGH_LEVEL) { in Unregister()
261 if ((CallbackEntry->Tpl == TPL_HIGH_LEVEL) || EfiAtRuntime ()) { in ReportDispatcher()
DReportStatusCodeRouterRuntimeDxe.h40 EFI_TPL Tpl; member
89 IN EFI_TPL Tpl
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/EdkIIGlueLib/Library/UefiLib/
DUefiLib.c242 EFI_TPL Tpl; in EfiGetCurrentTpl() local
244 Tpl = gBS->RaiseTPL (EFI_TPL_HIGH_LEVEL); in EfiGetCurrentTpl()
245 gBS->RestoreTPL (Tpl); in EfiGetCurrentTpl()
247 return Tpl; in EfiGetCurrentTpl()
273 Lock->Tpl = Priority; in GlueEfiInitializeLock()
296 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in GlueEfiAcquireLock()
328 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in GlueEfiAcquireLockOrFail()
349 EFI_TPL Tpl; in GlueEfiReleaseLock() local
354 Tpl = Lock->OwnerTpl; in GlueEfiReleaseLock()
358 gBS->RestoreTPL (Tpl); in GlueEfiReleaseLock()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Bus/Isa/IsaSerialDxe/
DSerial.c1128 EFI_TPL Tpl; in IsaSerialReset() local
1142 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in IsaSerialReset()
1195 gBS->RestoreTPL (Tpl); in IsaSerialReset()
1214 gBS->RestoreTPL (Tpl); in IsaSerialReset()
1235 gBS->RestoreTPL (Tpl); in IsaSerialReset()
1278 EFI_TPL Tpl; in IsaSerialSetAttributes() local
1408 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in IsaSerialSetAttributes()
1505 gBS->RestoreTPL (Tpl); in IsaSerialSetAttributes()
1532 gBS->RestoreTPL (Tpl); in IsaSerialSetAttributes()
1556 EFI_TPL Tpl; in IsaSerialSetControl() local
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkPkg/Library/FrameworkUefiLib/
DUefiLib.c303 EFI_TPL Tpl; in EfiGetCurrentTpl() local
305 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in EfiGetCurrentTpl()
306 gBS->RestoreTPL (Tpl); in EfiGetCurrentTpl()
308 return Tpl; in EfiGetCurrentTpl()
338 Lock->Tpl = Priority; in EfiInitializeLock()
366 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLock()
403 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
429 EFI_TPL Tpl; in EfiReleaseLock() local
434 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
438 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/OptionRomPkg/Bus/Usb/FtdiUsbSerialDxe/
DFtdiUsbSerialDriver.c240 EFI_TPL Tpl; in ReadDataFromUsb() local
250 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in ReadDataFromUsb()
260 gBS->RestoreTPL (Tpl); in ReadDataFromUsb()
315 gBS->RestoreTPL (Tpl); in ReadDataFromUsb()
342 EFI_TPL Tpl; in SetInitialStatus() local
352 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in SetInitialStatus()
364 gBS->RestoreTPL (Tpl); in SetInitialStatus()
744 EFI_TPL Tpl; in SetBaudRateInternal() local
746 Tpl = gBS->RaiseTPL(TPL_NOTIFY); in SetBaudRateInternal()
755 gBS->RestoreTPL (Tpl); in SetBaudRateInternal()
[all …]
/device/linaro/bootloader/edk2/MdePkg/Library/UefiLib/
DUefiLib.c325 EFI_TPL Tpl; in EfiGetCurrentTpl() local
327 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in EfiGetCurrentTpl()
328 gBS->RestoreTPL (Tpl); in EfiGetCurrentTpl()
330 return Tpl; in EfiGetCurrentTpl()
360 Lock->Tpl = Priority; in EfiInitializeLock()
388 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLock()
425 Lock->OwnerTpl = gBS->RaiseTPL (Lock->Tpl); in EfiAcquireLockOrFail()
451 EFI_TPL Tpl; in EfiReleaseLock() local
456 Tpl = Lock->OwnerTpl; in EfiReleaseLock()
460 gBS->RestoreTPL (Tpl); in EfiReleaseLock()
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/PL180MciDxe/
DPL180Mci.c220 EFI_TPL Tpl; in MciReadBlockData() local
229 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in MciReadBlockData()
279 gBS->RestoreTPL (Tpl); in MciReadBlockData()
305 EFI_TPL Tpl; local
315 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL);
362 gBS->RestoreTPL (Tpl);
/device/linaro/bootloader/edk2/MdeModulePkg/Library/DxeReportStatusCodeLib/
DReportStatusCodeLib.c493 EFI_TPL Tpl; in ReportStatusCodeEx() local
506 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in ReportStatusCodeEx()
507 gBS->RestoreTPL (Tpl); in ReportStatusCodeEx()
510 if (Tpl <= TPL_NOTIFY) { in ReportStatusCodeEx()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Library/DxeReportStatusCodeLibFramework/
DReportStatusCodeLib.c496 EFI_TPL Tpl; in ReportStatusCodeEx() local
509 Tpl = gBS->RaiseTPL (TPL_HIGH_LEVEL); in ReportStatusCodeEx()
510 gBS->RestoreTPL (Tpl); in ReportStatusCodeEx()
513 if (Tpl <= TPL_NOTIFY) { in ReportStatusCodeEx()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Mmc/DwEmmcDxe/
DDwEmmcDxe.c482 EFI_TPL Tpl; in DwEmmcReadBlockData() local
484 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in DwEmmcReadBlockData()
506 gBS->RestoreTPL (Tpl); in DwEmmcReadBlockData()
520 EFI_TPL Tpl; in DwEmmcWriteBlockData() local
522 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in DwEmmcWriteBlockData()
544 gBS->RestoreTPL (Tpl); in DwEmmcWriteBlockData()
/device/linaro/bootloader/OpenPlatformPkg/Drivers/Mmc/DwSdDxe/
DDwSdDxe.c578 EFI_TPL Tpl; in DwSdReadBlockData() local
580 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in DwSdReadBlockData()
623 gBS->RestoreTPL (Tpl); in DwSdReadBlockData()
637 EFI_TPL Tpl; in DwSdWriteBlockData() local
639 Tpl = gBS->RaiseTPL (TPL_NOTIFY); in DwSdWriteBlockData()
661 gBS->RestoreTPL (Tpl); in DwSdWriteBlockData()
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DReportStatusCodeHandler.h65 IN EFI_TPL Tpl
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Library/Dxe/Include/
DEfiDriverLib.h565 EFI_TPL Tpl; member
605 #define EFI_INITIALIZE_LOCK_VARIABLE(Tpl) {Tpl,0,0} argument

12