Lines Matching refs:Instance
91 LCD_INSTANCE* Instance;
93 Instance = AllocateCopyPool (sizeof(LCD_INSTANCE), &mLcdTemplate);
94 if (Instance == NULL) {
98 Instance->Gop.Mode = &Instance->Mode;
99 Instance->Mode.Info = &Instance->ModeInfo;
101 *NewInstance = Instance;
249 IN LCD_INSTANCE* Instance
261 Instance->Mode.FrameBufferBase = VramBaseAddress;
262 Instance->Mode.FrameBufferSize = VramSize;
281 LCD_INSTANCE *Instance;
283 Instance = LCD_INSTANCE_FROM_GOP_THIS(This);
286 InitializeDisplay (Instance);
295 *Info = AllocateCopyPool(sizeof (EFI_GRAPHICS_OUTPUT_MODE_INFORMATION), &Instance->ModeInfo);
317 LCD_INSTANCE *Instance;
319 Instance = LCD_INSTANCE_FROM_GOP_THIS(This);
321 if (ModeNumber >= Instance->Mode.MaxMode) {
326 InitializeDisplay (Instance);
329 DssSetMode((UINT32)Instance->Mode.FrameBufferBase, ModeNumber);
331 Instance->Mode.Mode = ModeNumber;
332 Instance->ModeInfo.HorizontalResolution = LcdModes[ModeNumber].HorizontalResolution;
333 Instance->ModeInfo.VerticalResolution = LcdModes[ModeNumber].VerticalResolution;
346 LCD_INSTANCE* Instance;
348 Status = LcdInstanceContructor (&Instance);
355 &Instance->Handle,
356 &gEfiGraphicsOutputProtocolGuid, &Instance->Gop,
357 &gEfiDevicePathProtocolGuid, &Instance->DevicePath,
373 &Instance->ExitBootServicesEvent
391 Instance->Handle,
392 &gEfiGraphicsOutputProtocolGuid, &Instance->Gop, // Uninstall Graphics Output protocol
393 &gEfiDevicePathProtocolGuid, &Instance->DevicePath, // Uninstall device path