Home
last modified time | relevance | path

Searched refs:ModeNumber (Results 1 – 25 of 57) sorted by relevance

123

/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/HdLcdArmVExpressLib/
DHdLcdArmVExpress.c170 IN UINT32 ModeNumber in LcdPlatformSetMode() argument
175 if (ModeNumber >= LcdPlatformGetMaxMode ()) { in LcdPlatformSetMode()
181 …gSetDevice (SYS_CFG_OSC_SITE1, PcdGet32(PcdHdLcdVideoModeOscId), mResolutions[ModeNumber].OscFreq); in LcdPlatformSetMode()
190 Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode); in LcdPlatformSetMode()
209 IN UINT32 ModeNumber, in LcdPlatformQueryMode() argument
213 if (ModeNumber >= LcdPlatformGetMaxMode ()) { in LcdPlatformQueryMode()
218 Info->HorizontalResolution = mResolutions[ModeNumber].HorizontalResolution; in LcdPlatformQueryMode()
219 Info->VerticalResolution = mResolutions[ModeNumber].VerticalResolution; in LcdPlatformQueryMode()
220 Info->PixelsPerScanLine = mResolutions[ModeNumber].HorizontalResolution; in LcdPlatformQueryMode()
222 switch (mResolutions[ModeNumber].Bpp) { in LcdPlatformQueryMode()
[all …]
/device/linaro/bootloader/edk2/Omap35xxPkg/LcdGraphicsOutputDxe/
DLcdGraphicsOutputDxe.c141 UINTN ModeNumber in DssSetMode() argument
151 MmioWrite32 (CM_CLKSEL_DSS, 0x1000 | (LcdModes[ModeNumber].DssDivisor)); in DssSetMode()
165 ((LcdModes[ModeNumber].HorizontalResolution - 1) in DssSetMode()
166 | ((LcdModes[ModeNumber].VerticalResolution - 1) << 16)) in DssSetMode()
169 ( (LcdModes[ModeNumber].HSync - 1) in DssSetMode()
170 | ((LcdModes[ModeNumber].HFrontPorch - 1) << 8) in DssSetMode()
171 | ((LcdModes[ModeNumber].HBackPorch - 1) << 20)) in DssSetMode()
174 ( (LcdModes[ModeNumber].VSync - 1) in DssSetMode()
175 | ((LcdModes[ModeNumber].VFrontPorch - 1) << 8) in DssSetMode()
176 | ((LcdModes[ModeNumber].VBackPorch - 1) << 20)) in DssSetMode()
[all …]
DLcdGraphicsOutputDxe.h76 IN UINT32 ModeNumber,
85 IN UINT32 ModeNumber
/device/linaro/bootloader/edk2/ArmPlatformPkg/ArmVExpressPkg/Library/PL111LcdArmVExpressLib/
DPL111LcdArmVExpress.c230 IN UINT32 ModeNumber in LcdPlatformSetMode() argument
239 if (ModeNumber >= LcdPlatformGetMaxMode ()) { in LcdPlatformSetMode()
259 Status = ArmPlatformSysConfigSetDevice (Function, OscillatorId, mResolutions[ModeNumber].OscFreq); in LcdPlatformSetMode()
274 Status = ArmPlatformSysConfigSet (SYS_CFG_DVIMODE, mResolutions[ModeNumber].Mode); in LcdPlatformSetMode()
294 IN UINT32 ModeNumber, in LcdPlatformQueryMode() argument
298 if (ModeNumber >= LcdPlatformGetMaxMode ()) { in LcdPlatformQueryMode()
303 Info->HorizontalResolution = mResolutions[ModeNumber].HorizontalResolution; in LcdPlatformQueryMode()
304 Info->VerticalResolution = mResolutions[ModeNumber].VerticalResolution; in LcdPlatformQueryMode()
305 Info->PixelsPerScanLine = mResolutions[ModeNumber].HorizontalResolution; in LcdPlatformQueryMode()
307 switch (mResolutions[ModeNumber].Bpp) { in LcdPlatformQueryMode()
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/VirtioGpuDxe/
DGop.c200 IN UINT32 ModeNumber, in GopQueryMode() argument
207 if (ModeNumber >= ARRAY_SIZE (mGopResolutions)) { in GopQueryMode()
216 GopModeInfo->HorizontalResolution = mGopResolutions[ModeNumber].Width; in GopQueryMode()
217 GopModeInfo->VerticalResolution = mGopResolutions[ModeNumber].Height; in GopQueryMode()
219 GopModeInfo->PixelsPerScanLine = mGopResolutions[ModeNumber].Width; in GopQueryMode()
231 IN UINT32 ModeNumber in GopSetMode() argument
242 if (ModeNumber >= ARRAY_SIZE (mGopResolutions)) { in GopSetMode()
289 mGopResolutions[ModeNumber].Width, // Width in GopSetMode()
290 mGopResolutions[ModeNumber].Height // Height in GopSetMode()
299 NewNumberOfBytes = mGopResolutions[ModeNumber].Width * in GopSetMode()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Drivers/LcdGraphicsOutputDxe/
DLcdGraphicsOutputDxe.c247 IN UINT32 ModeNumber, in LcdGraphicsQueryMode() argument
266 …if ( (This == NULL) || (Info == NULL) || (SizeOfInfo == NULL) || (ModeNumber >= This->Mode->MaxMod… in LcdGraphicsQueryMode()
267 …UG_ERROR, "LcdGraphicsQueryMode: ERROR - For mode number %d : Invalid Parameter.\n", ModeNumber )); in LcdGraphicsQueryMode()
280 Status = LcdPlatformQueryMode (ModeNumber,*Info); in LcdGraphicsQueryMode()
297 IN UINT32 ModeNumber in LcdGraphicsSetMode() argument
316 if( ModeNumber >= This->Mode->MaxMode ) { in LcdGraphicsSetMode()
317 DEBUG((DEBUG_ERROR, "LcdGraphicsSetMode: ERROR - Unsupported mode number %d .\n", ModeNumber )); in LcdGraphicsSetMode()
323 Status = LcdPlatformSetMode (ModeNumber); in LcdGraphicsSetMode()
330 This->Mode->Mode = ModeNumber; in LcdGraphicsSetMode()
331 LcdPlatformQueryMode (ModeNumber,&Instance->ModeInfo); in LcdGraphicsSetMode()
[all …]
DLcdGraphicsOutputDxe.h64 IN UINT32 ModeNumber,
73 IN UINT32 ModeNumber
120 IN UINT32 ModeNumber
DHdLcd.c59 IN UINT32 ModeNumber in LcdSetMode() argument
76 Status = LcdPlatformGetTimings (ModeNumber, in LcdSetMode()
84 Status = LcdPlatformGetBpp (ModeNumber,&LcdBpp); in LcdSetMode()
DPL111Lcd.c68 IN UINT32 ModeNumber in LcdSetMode() argument
84 Status = LcdPlatformGetTimings (ModeNumber, in LcdSetMode()
92 Status = LcdPlatformGetBpp (ModeNumber,&LcdBpp); in LcdSetMode()
/device/linaro/bootloader/edk2/OvmfPkg/PlatformDxe/
DPlatform.c151 UINTN ModeNumber; in PlatformConfigToFormState() local
173 for (ModeNumber = 0; ModeNumber < mNumGopModes; ++ModeNumber) { in PlatformConfigToFormState()
174 if (mGopModes[ModeNumber].X == PlatformConfig.HorizontalResolution && in PlatformConfigToFormState()
175 mGopModes[ModeNumber].Y == PlatformConfig.VerticalResolution) { in PlatformConfigToFormState()
176 MainFormState->NextPreferredResolution = (UINT32) ModeNumber; in PlatformConfigToFormState()
432 UINT32 ModeNumber; in QueryGopModes() local
444 for (ModeNumber = 0; ModeNumber < Gop->Mode->MaxMode; ++ModeNumber) { in QueryGopModes()
448 Status = Gop->QueryMode (Gop, ModeNumber, &SizeOfInfo, &Info); in QueryGopModes()
453 (*GopModes)[ModeNumber].X = Info->HorizontalResolution; in QueryGopModes()
454 (*GopModes)[ModeNumber].Y = Info->VerticalResolution; in QueryGopModes()
[all …]
/device/linaro/bootloader/edk2/ArmPlatformPkg/Include/Library/
DLcdPlatformLib.h193 IN UINT32 ModeNumber
198 IN UINT32 ModeNumber,
204 IN UINT32 ModeNumber,
217 IN UINT32 ModeNumber,
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/
DGopScreen.c59 IN UINT32 ModeNumber, in EmuGopQuerytMode() argument
68 if (Info == NULL || SizeOfInfo == NULL || (UINTN) ModeNumber >= This->Mode->MaxMode) { in EmuGopQuerytMode()
80 (*Info)->HorizontalResolution = Private->ModeData[ModeNumber].HorizontalResolution; in EmuGopQuerytMode()
81 (*Info)->VerticalResolution = Private->ModeData[ModeNumber].VerticalResolution; in EmuGopQuerytMode()
106 IN UINT32 ModeNumber in EmuGopSetMode() argument
116 if (ModeNumber >= This->Mode->MaxMode) { in EmuGopSetMode()
120 ModeData = &Private->ModeData[ModeNumber]; in EmuGopSetMode()
121 This->Mode->Mode = ModeNumber; in EmuGopSetMode()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/ConSplitterDxe/
DConSplitterGraphics.c41 IN UINT32 ModeNumber, in ConSplitterGraphicsOutputQueryMode() argument
51 if (This == NULL || Info == NULL || SizeOfInfo == NULL || ModeNumber >= This->Mode->MaxMode) { in ConSplitterGraphicsOutputQueryMode()
78 Status = GraphicsOutput->QueryMode (GraphicsOutput, (UINT32) ModeNumber, SizeOfInfo, Info); in ConSplitterGraphicsOutputQueryMode()
90 CopyMem (*Info, &Private->GraphicsOutputModeBuffer[ModeNumber], *SizeOfInfo); in ConSplitterGraphicsOutputQueryMode()
114 IN UINT32 ModeNumber in ConSplitterGraphicsOutputSetMode() argument
129 if (ModeNumber >= This->Mode->MaxMode) { in ConSplitterGraphicsOutputSetMode()
134 Mode = &Private->GraphicsOutputModeBuffer[ModeNumber]; in ConSplitterGraphicsOutputSetMode()
182 This->Mode->Mode = ModeNumber; in ConSplitterGraphicsOutputSetMode()
197 …CopyMem (This->Mode->Info, &Private->GraphicsOutputModeBuffer[ModeNumber], This->Mode->SizeOfInfo); in ConSplitterGraphicsOutputSetMode()
614 IN UINTN ModeNumber in TextOutSetMode() argument
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/
DGraphicsConsole.c389 UINT32 ModeNumber; in GraphicsConsoleControllerDriverStart() local
394 ModeNumber = 0; in GraphicsConsoleControllerDriverStart()
460 ModeNumber = ModeIndex; in GraphicsConsoleControllerDriverStart()
477 &ModeNumber in GraphicsConsoleControllerDriverStart()
489 &ModeNumber in GraphicsConsoleControllerDriverStart()
498 ModeNumber = Mode->Mode; in GraphicsConsoleControllerDriverStart()
502 if (ModeNumber != Private->GraphicsOutput->Mode->Mode) { in GraphicsConsoleControllerDriverStart()
507 Status = Private->GraphicsOutput->SetMode (Private->GraphicsOutput, ModeNumber); in GraphicsConsoleControllerDriverStart()
562 ModeNumber, in GraphicsConsoleControllerDriverStart()
750 UINT32 ModeNumber; in CheckModeSupported() local
[all …]
/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DGop.c86 IN UINT32 ModeNumber, in QemuVideoGraphicsOutputQueryMode() argument
116 if (Info == NULL || SizeOfInfo == NULL || ModeNumber >= This->Mode->MaxMode) { in QemuVideoGraphicsOutputQueryMode()
127 ModeData = &Private->ModeData[ModeNumber]; in QemuVideoGraphicsOutputQueryMode()
139 IN UINT32 ModeNumber in QemuVideoGraphicsOutputSetMode() argument
164 if (ModeNumber >= This->Mode->MaxMode) { in QemuVideoGraphicsOutputSetMode()
168 ModeData = &Private->ModeData[ModeNumber]; in QemuVideoGraphicsOutputSetMode()
184 This->Mode->Mode = ModeNumber; in QemuVideoGraphicsOutputSetMode()
/device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/
DCirrusLogic5430GraphicsOutput.c76 IN UINT32 ModeNumber, in CirrusLogic5430GraphicsOutputQueryMode() argument
109 if (Info == NULL || SizeOfInfo == NULL || ModeNumber >= This->Mode->MaxMode) { in CirrusLogic5430GraphicsOutputQueryMode()
120 (*Info)->HorizontalResolution = Private->ModeData[ModeNumber].HorizontalResolution; in CirrusLogic5430GraphicsOutputQueryMode()
121 (*Info)->VerticalResolution = Private->ModeData[ModeNumber].VerticalResolution; in CirrusLogic5430GraphicsOutputQueryMode()
131 IN UINT32 ModeNumber in CirrusLogic5430GraphicsOutputSetMode() argument
155 if (ModeNumber >= This->Mode->MaxMode) { in CirrusLogic5430GraphicsOutputSetMode()
159 ModeData = &Private->ModeData[ModeNumber]; in CirrusLogic5430GraphicsOutputSetMode()
171 InitializeGraphicsMode (Private, &CirrusLogic5430VideoModes[ModeData->ModeNumber]); in CirrusLogic5430GraphicsOutputSetMode()
173 This->Mode->Mode = ModeNumber; in CirrusLogic5430GraphicsOutputSetMode()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/TerminalDxe/
DTerminalConOut.c440 IN UINTN ModeNumber, in TerminalConOutQueryMode() argument
447 if (ModeNumber >= (UINTN) This->Mode->MaxMode) { in TerminalConOutQueryMode()
455 *Columns = TerminalDevice->TerminalConsoleModeData[ModeNumber].Columns; in TerminalConOutQueryMode()
456 *Rows = TerminalDevice->TerminalConsoleModeData[ModeNumber].Rows; in TerminalConOutQueryMode()
481 IN UINTN ModeNumber in TerminalConOutSetMode() argument
492 if (ModeNumber >= (UINTN) This->Mode->MaxMode) { in TerminalConOutSetMode()
499 This->Mode->Mode = (INT32) ModeNumber; in TerminalConOutSetMode()
511 This->Mode->Mode = (INT32) ModeNumber; in TerminalConOutSetMode()
/device/linaro/bootloader/edk2/EdkCompatibilityPkg/Foundation/Efi/Protocol/GraphicsOutput/
DGraphicsOutput.h64 IN UINT32 ModeNumber,
92 IN UINT32 ModeNumber
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DGraphicsOutput.h113 IN UINT32 ModeNumber,
134 IN UINT32 ModeNumber
/device/linaro/bootloader/edk2/BaseTools/Source/C/Include/Protocol/
DGraphicsOutput.h71 IN UINT32 ModeNumber,
92 IN UINT32 ModeNumber
/device/linaro/bootloader/edk2/EmbeddedPkg/SimpleTextInOutSerial/
DSimpleTextInOut.c129 IN UINTN ModeNumber,
139 IN UINTN ModeNumber
616 IN UINTN ModeNumber, in QueryMode() argument
625 if (ModeNumber == 0) { in QueryMode()
639 IN UINTN ModeNumber in SetMode() argument
642 if (ModeNumber != 0) { in SetMode()
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/
DBiosVideo.h278 IN UINT32 ModeNumber,
301 IN UINT32 ModeNumber
398 IN UINTN ModeNumber
DBiosVideo.c1041 UINTN ModeNumber; in BiosVideoCheckForVbe() local
1221 ModeNumber = 0; in BiosVideoCheckForVbe()
1326 PreferMode = ModeNumber; in BiosVideoCheckForVbe()
1343 ModeNumber ++; in BiosVideoCheckForVbe()
1346 ModeNumber * sizeof (BIOS_VIDEO_MODE_DATA), in BiosVideoCheckForVbe()
1353 if (ModeNumber > 1) { in BiosVideoCheckForVbe()
1357 (ModeNumber - 1) * sizeof (BIOS_VIDEO_MODE_DATA) in BiosVideoCheckForVbe()
1365 CurrentModeData = &ModeBuffer[ModeNumber - 1]; in BiosVideoCheckForVbe()
1414 if (ModeNumber == 0) { in BiosVideoCheckForVbe()
1440 GraphicsOutputMode->MaxMode = (UINT32) ModeNumber; in BiosVideoCheckForVbe()
[all …]
/device/linaro/bootloader/edk2/ShellPkg/Application/Shell/
DConsoleLogger.h204 IN UINTN ModeNumber,
225 IN UINTN ModeNumber
/device/linaro/bootloader/edk2/MdeModulePkg/Library/BootManagerUiLib/
DBootManager.c104 UINT32 ModeNumber; in BmSetConsoleMode() local
177 for (ModeNumber = 0; ModeNumber < MaxGopMode; ModeNumber++) { in BmSetConsoleMode()
180 ModeNumber, in BmSetConsoleMode()
238 Status = GraphicsOutput->SetMode (GraphicsOutput, ModeNumber); in BmSetConsoleMode()
249 if (ModeNumber == MaxGopMode) { in BmSetConsoleMode()

123