Lines Matching refs:Mode
22 // Boot video resolution and text mode.
29 // BIOS setup video resolution and text mode.
195 gST->ConOut->Mode->Mode,
377 SavedAttribute = gST->ConOut->Mode->Attribute;
513 SavedAttribute = gST->ConOut->Mode->Attribute;
678 This function will change video resolution and text mode
679 according to defined setup mode or defined boot mode
681 @param IsSetupMode Indicate mode is changed to setup mode or boot mode.
683 @retval EFI_SUCCESS Mode is changed successfully.
684 @retval Others Mode failed to be changed.
715 // Get current video resolution and text mode
741 // The required resolution and text mode is setup mode.
749 // The required resolution and text mode is boot mode.
758 MaxGopMode = GraphicsOutput->Mode->MaxMode;
762 MaxTextMode = SimpleTextOut->Mode->MaxMode;
768 // 1.1. If current text mode is same with required text mode, text mode need not be changed.
769 // 1.2. If current text mode is different from required text mode, text mode need be changed.
782 if ((GraphicsOutput->Mode->Info->HorizontalResolution == NewHorizontalResolution) &&
783 (GraphicsOutput->Mode->Info->VerticalResolution == NewVerticalResolution)) {
785 // Current resolution is same with required resolution, check if text mode need be set
787 Status = SimpleTextOut->QueryMode (SimpleTextOut, SimpleTextOut->Mode->Mode, &CurrentColumn, &CurrentRow);
791 // If current text mode is same with required text mode. Do nothing
797 // If current text mode is different from required text mode. Set new video mode
804 // Required text mode is supported, set it.
809 // Update text mode PCD.
822 // If required text mode is not supported, return error.
853 // Set PCD to Inform Consplitter to change text mode.
865 // Video mode is changed, so restart graphics console driver and higher level driver.
953 // and text mode before launching setup at first time.
975 // Get current video resolution and text mode.
977 mBootHorizontalResolution = GraphicsOutput->Mode->Info->HorizontalResolution;
978 mBootVerticalResolution = GraphicsOutput->Mode->Info->VerticalResolution;
984 SimpleTextOut->Mode->Mode,
993 // Get user defined text mode for setup.