Lines Matching refs:Instance
304 EFI_DEVICE_PATH_PROTOCOL *Instance;
345 // Check every instance of the console variable
347 Instance = GetNextDevicePathInstance (&VarConsole, &DevicePathSize);
348 if (Instance == NULL) {
349 DEBUG ((EFI_D_ERROR, "[Bds] No valid console instance is found for %s!\n", VarName));
357 // Find console device handle by device path instance
359 FullInstance = Instance;
362 &Instance,
395 } while (Instance != NULL);
410 the console variable. Cannot be multi-instance.
412 from the console variable. Cannot be multi-instance.
454 // If ExclusiveDevicePath is even the part of the instance in VarConsole, delete it.
517 @retval EFI_SUCCESS Success connect any one instance of the console
529 EFI_DEVICE_PATH_PROTOCOL *Instance;
555 // Check every instance of the console variable
557 Instance = GetNextDevicePathInstance (&CopyOfDevicePath, &Size);
558 if (Instance == NULL) {
563 Next = Instance;
575 if ((DevicePathType (Instance) == MESSAGING_DEVICE_PATH) &&
576 ((DevicePathSubType (Instance) == MSG_USB_CLASS_DP) || (DevicePathSubType (Instance) == MSG_USB_WWID_DP))
578 Status = BmConnectUsbShortFormDevicePath (Instance);
583 for (Next = Instance; !IsDevicePathEnd (Next); Next = NextDevicePathNode (Next)) {
599 Status = EfiBootManagerConnectDevicePath (Instance, &Handle);
604 Status = EfiBootManagerConnectDevicePath (Instance, NULL);
608 // Delete the instance from the console varialbe
610 EfiBootManagerUpdateConsoleVariable (ConsoleType, NULL, Instance);
615 FreePool(Instance);
706 @retval EFI_SUCCESS Success connect any one instance of the console