Lines Matching refs:Protocol
30 // Find the first instance of this Protocol in the system and return it's interface
62 IN EFI_GUID *Protocol OPTIONAL,
90 Protocol,
142 // Get list of device handles that support the BLOCK_IO Protocol.
164 // the BLOCK_IO Protocol, then return.
175 // Loop through all the device handles that support the BLOCK_IO Protocol
447 EFI_GUID *Protocol;
461 // Install the protocol interfaces
471 // If protocol is NULL, then it's the end of the list
474 Protocol = va_arg(args, EFI_GUID *);
475 if (!Protocol) {
485 DEBUG((D_INFO, "LibInstallProtocolInterface: %d %x\n", Protocol, Interface));
486 Status = uefi_call_wrapper(BS->InstallProtocolInterface, 4, Handle, Protocol, EFI_NATIVE_INTERFACE, Interface);
506 Protocol = va_arg(args, EFI_GUID *);
508 uefi_call_wrapper(BS->UninstallProtocolInterface, 3, *Handle, Protocol, Interface);
535 EFI_GUID *Protocol;
543 // If protocol is NULL, then it's the end of the list
546 Protocol = va_arg(args, EFI_GUID *);
547 if (!Protocol) {
557 Status = uefi_call_wrapper(BS->UninstallProtocolInterface, 3, Handle, Protocol, Interface);
559 DEBUG((D_ERROR, "LibUninstallProtocolInterfaces: failed %g, %r\n", Protocol, Handle));
574 EFI_GUID *Protocol;
586 // Install the protocol interfaces
596 // If protocol is NULL, then it's the end of the list
599 Protocol = va_arg(args, EFI_GUID *);
600 if (!Protocol) {
611 Status = uefi_call_wrapper(BS->ReinstallProtocolInterface, 4, Handle, Protocol, OldInterface, NewInterface);
631 Protocol = va_arg(args, EFI_GUID *);
635 uefi_call_wrapper(BS->ReinstallProtocolInterface, 4, Handle, Protocol, NewInterface, OldInterface);