Home
last modified time | relevance | path

Searched refs:Prot (Results 1 – 10 of 10) sorted by relevance

/device/linaro/bootloader/edk2/MdeModulePkg/Core/PiSmmCore/
DHandle.c131 PROTOCOL_INTERFACE *Prot; in SmmFindProtocolInterface() local
135 Prot = NULL; in SmmFindProtocolInterface()
149 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE); in SmmFindProtocolInterface()
150 if (Prot->Interface == Interface && Prot->Protocol == ProtEntry) { in SmmFindProtocolInterface()
153 Prot = NULL; in SmmFindProtocolInterface()
156 return Prot; in SmmFindProtocolInterface()
217 PROTOCOL_INTERFACE *Prot; in SmmInstallProtocolInterfaceNotify() local
241 Prot = NULL; in SmmInstallProtocolInterfaceNotify()
262 Prot = AllocateZeroPool (sizeof(PROTOCOL_INTERFACE)); in SmmInstallProtocolInterfaceNotify()
263 if (Prot == NULL) { in SmmInstallProtocolInterfaceNotify()
[all …]
DNotify.c25 IN PROTOCOL_INTERFACE *Prot in SmmNotifyProtocol() argument
32 ProtEntry = Prot->Protocol; in SmmNotifyProtocol()
35 ProtNotify->Function (&ProtEntry->ProtocolID, Prot->Interface, Prot->Handle); in SmmNotifyProtocol()
56 PROTOCOL_INTERFACE *Prot; in SmmRemoveInterfaceFromProtocol() local
61 Prot = SmmFindProtocolInterface (Handle, Protocol, Interface); in SmmRemoveInterfaceFromProtocol()
62 if (Prot != NULL) { in SmmRemoveInterfaceFromProtocol()
64 ProtEntry = Prot->Protocol; in SmmRemoveInterfaceFromProtocol()
72 if (ProtNotify->Position == &Prot->ByProtocol) { in SmmRemoveInterfaceFromProtocol()
73 ProtNotify->Position = Prot->ByProtocol.BackLink; in SmmRemoveInterfaceFromProtocol()
80 RemoveEntryList (&Prot->ByProtocol); in SmmRemoveInterfaceFromProtocol()
[all …]
DLocate.c95 PROTOCOL_INTERFACE *Prot; in SmmGetNextLocateByRegisterNotify() local
114 Prot = CR (Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE); in SmmGetNextLocateByRegisterNotify()
115 Handle = Prot->Handle; in SmmGetNextLocateByRegisterNotify()
116 *Interface = Prot->Interface; in SmmGetNextLocateByRegisterNotify()
141 PROTOCOL_INTERFACE *Prot; in SmmGetNextLocateByProtocol() local
163 Prot = CR(Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE); in SmmGetNextLocateByProtocol()
164 Handle = Prot->Handle; in SmmGetNextLocateByProtocol()
165 *Interface = Prot->Interface; in SmmGetNextLocateByProtocol()
DPiSmmCore.h818 IN PROTOCOL_INTERFACE *Prot
/device/linaro/bootloader/edk2/MdeModulePkg/Core/Dxe/Hand/
DNotify.c61 PROTOCOL_INTERFACE *Prot; in CoreRemoveInterfaceFromProtocol() local
68 Prot = CoreFindProtocolInterface (Handle, Protocol, Interface); in CoreRemoveInterfaceFromProtocol()
69 if (Prot != NULL) { in CoreRemoveInterfaceFromProtocol()
71 ProtEntry = Prot->Protocol; in CoreRemoveInterfaceFromProtocol()
79 if (ProtNotify->Position == &Prot->ByProtocol) { in CoreRemoveInterfaceFromProtocol()
80 ProtNotify->Position = Prot->ByProtocol.BackLink; in CoreRemoveInterfaceFromProtocol()
87 RemoveEntryList (&Prot->ByProtocol); in CoreRemoveInterfaceFromProtocol()
90 return Prot; in CoreRemoveInterfaceFromProtocol()
194 PROTOCOL_INTERFACE *Prot; in CoreReinstallProtocolInterface() local
216 Prot = CoreFindProtocolInterface (UserHandle, Protocol, OldInterface); in CoreReinstallProtocolInterface()
[all …]
DHandle.c178 PROTOCOL_INTERFACE *Prot; in CoreFindProtocolInterface() local
183 Prot = NULL; in CoreFindProtocolInterface()
200 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE); in CoreFindProtocolInterface()
201 if (Prot->Interface == Interface && Prot->Protocol == ProtEntry) { in CoreFindProtocolInterface()
205 Prot = NULL; in CoreFindProtocolInterface()
209 return Prot; in CoreFindProtocolInterface()
347 PROTOCOL_INTERFACE *Prot; in CoreInstallProtocolInterfaceNotify() local
371 Prot = NULL; in CoreInstallProtocolInterfaceNotify()
397 Prot = AllocateZeroPool (sizeof(PROTOCOL_INTERFACE)); in CoreInstallProtocolInterfaceNotify()
398 if (Prot == NULL) { in CoreInstallProtocolInterfaceNotify()
[all …]
DDriverSupport.c60 PROTOCOL_INTERFACE *Prot; in CoreConnectController() local
178 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE); in CoreConnectController()
179 for (ProtLink = Prot->OpenList.ForwardLink; in CoreConnectController()
180 ProtLink != &Prot->OpenList; in CoreConnectController()
202 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE); in CoreConnectController()
203 for (ProtLink = Prot->OpenList.ForwardLink; in CoreConnectController()
204 ProtLink != &Prot->OpenList; in CoreConnectController()
749 PROTOCOL_INTERFACE *Prot; in CoreDisconnectController() local
786 Prot = CR(Link, PROTOCOL_INTERFACE, Link, PROTOCOL_INTERFACE_SIGNATURE); in CoreDisconnectController()
787 for (ProtLink = Prot->OpenList.ForwardLink; in CoreDisconnectController()
[all …]
DLocate.c320 PROTOCOL_INTERFACE *Prot; in CoreGetNextLocateByRegisterNotify() local
339 Prot = CR (Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE); in CoreGetNextLocateByRegisterNotify()
340 Handle = Prot->Handle; in CoreGetNextLocateByRegisterNotify()
341 *Interface = Prot->Interface; in CoreGetNextLocateByRegisterNotify()
368 PROTOCOL_INTERFACE *Prot; in CoreGetNextLocateByProtocol() local
390 Prot = CR(Link, PROTOCOL_INTERFACE, ByProtocol, PROTOCOL_INTERFACE_SIGNATURE); in CoreGetNextLocateByProtocol()
391 Handle = Prot->Handle; in CoreGetNextLocateByProtocol()
392 *Interface = Prot->Interface; in CoreGetNextLocateByProtocol()
DHandle.h225 IN PROTOCOL_INTERFACE *Prot
/device/linaro/bootloader/edk2/EdkShellPkg/
DShellR64.patch8915 if (Prot->Handles[Index] == Handle) {
8916 Dump = Verbose ? Prot->DumpInfo : Prot->DumpToken;
8917 - Status = BS->HandleProtocol (Handle, &Prot->ProtocolId, &Interface);
8918 + Status = BS->HandleProtocol (Handle, &Prot->ProtocolId, (VOID**)&Interface);
9501 if (Prot->Handles[Index] == Handle) {
9502 Dump = Verbose ? Prot->DumpInfo : Prot->DumpToken;
9503 - Status = BS->HandleProtocol (Handle, &Prot->ProtocolId, &Interface);
9504 + Status = BS->HandleProtocol (Handle, &Prot->ProtocolId, (VOID**)&Interface);