Home
last modified time | relevance | path

Searched refs:ModeData (Results 1 – 25 of 34) sorted by relevance

12

/device/linaro/bootloader/edk2/OvmfPkg/QemuVideoDxe/
DInitialize.c170 QEMU_VIDEO_MODE_DATA *ModeData; in QemuVideoCirrusModeSetup() local
176 Private->ModeData = AllocatePool ( in QemuVideoCirrusModeSetup()
177 sizeof (Private->ModeData[0]) * QEMU_VIDEO_CIRRUS_MODE_COUNT in QemuVideoCirrusModeSetup()
179 if (Private->ModeData == NULL) { in QemuVideoCirrusModeSetup()
182 ModeData = Private->ModeData; in QemuVideoCirrusModeSetup()
185 ModeData->InternalModeIndex = Index; in QemuVideoCirrusModeSetup()
186 ModeData->HorizontalResolution = VideoMode->Width; in QemuVideoCirrusModeSetup()
187 ModeData->VerticalResolution = VideoMode->Height; in QemuVideoCirrusModeSetup()
188 ModeData->ColorDepth = VideoMode->ColorDepth; in QemuVideoCirrusModeSetup()
191 (INT32) (ModeData - Private->ModeData), in QemuVideoCirrusModeSetup()
[all …]
DGop.c21 IN QEMU_VIDEO_MODE_DATA *ModeData, in QemuVideoCompleteModeInfo() argument
26 if (ModeData->ColorDepth == 8) { in QemuVideoCompleteModeInfo()
32 } else if (ModeData->ColorDepth == 24) { in QemuVideoCompleteModeInfo()
38 } else if (ModeData->ColorDepth == 32) { in QemuVideoCompleteModeInfo()
55 QEMU_VIDEO_MODE_DATA *ModeData; in QemuVideoCompleteModeData() local
57 ModeData = &Private->ModeData[Mode->Mode]; in QemuVideoCompleteModeData()
59 QemuVideoCompleteModeInfo (ModeData, Info); in QemuVideoCompleteModeData()
70 Mode->FrameBufferSize = Mode->FrameBufferSize * ((ModeData->ColorDepth + 7) / 8); in QemuVideoCompleteModeData()
112 QEMU_VIDEO_MODE_DATA *ModeData; in QemuVideoGraphicsOutputQueryMode() local
127 ModeData = &Private->ModeData[ModeNumber]; in QemuVideoGraphicsOutputQueryMode()
[all …]
DDriver.c434 FreePool (Private->ModeData); in QemuVideoControllerDriverStart()
555 FreePool (Private->ModeData); in QemuVideoControllerDriverStop()
789 QEMU_VIDEO_CIRRUS_MODES *ModeData in InitializeCirrusGraphicsMode() argument
799 outw (Private, SEQ_ADDRESS_REGISTER, ModeData->SeqSettings[Index]); in InitializeCirrusGraphicsMode()
808 outb (Private, MISC_OUTPUT_REGISTER, ModeData->MiscSetting); in InitializeCirrusGraphicsMode()
814 outw (Private, CRTC_ADDRESS_REGISTER, (UINT16) ((ModeData->CrtcSettings[Index] << 8) | Index)); in InitializeCirrusGraphicsMode()
917 QEMU_VIDEO_BOCHS_MODES *ModeData in InitializeBochsGraphicsMode() argument
921 ModeData->Width, ModeData->Height, ModeData->ColorDepth)); in InitializeBochsGraphicsMode()
931 BochsWrite (Private, VBE_DISPI_INDEX_BPP, (UINT16) ModeData->ColorDepth); in InitializeBochsGraphicsMode()
932 BochsWrite (Private, VBE_DISPI_INDEX_XRES, (UINT16) ModeData->Width); in InitializeBochsGraphicsMode()
[all …]
DQemu.h117 QEMU_VIDEO_MODE_DATA *ModeData; member
418 QEMU_VIDEO_CIRRUS_MODES *ModeData
424 QEMU_VIDEO_BOCHS_MODES *ModeData
/device/linaro/bootloader/edk2/NetworkPkg/DnsDxe/
DComponentName.c188 EFI_DNS4_MODE_DATA ModeData; in UpdateDns4Name() local
198 Status = Dns4->GetModeData (Dns4, &ModeData); in UpdateDns4Name()
207 ModeData.DnsConfigData.StationIp.Addr[0], in UpdateDns4Name()
208 ModeData.DnsConfigData.StationIp.Addr[1], in UpdateDns4Name()
209 ModeData.DnsConfigData.StationIp.Addr[2], in UpdateDns4Name()
210 ModeData.DnsConfigData.StationIp.Addr[3], in UpdateDns4Name()
211 ModeData.DnsConfigData.LocalPort in UpdateDns4Name()
214 if (ModeData.DnsCacheList != NULL) { in UpdateDns4Name()
215 FreePool (ModeData.DnsCacheList); in UpdateDns4Name()
217 if (ModeData.DnsServerList != NULL) { in UpdateDns4Name()
[all …]
/device/linaro/bootloader/edk2/OptionRomPkg/CirrusLogic5430Dxe/
DCirrusLogic5430UgaDraw.c47 *HorizontalResolution = Private->ModeData[Private->CurrentMode].HorizontalResolution; in CirrusLogic5430UgaDrawGetMode()
48 *VerticalResolution = Private->ModeData[Private->CurrentMode].VerticalResolution; in CirrusLogic5430UgaDrawGetMode()
49 *ColorDepth = Private->ModeData[Private->CurrentMode].ColorDepth; in CirrusLogic5430UgaDrawGetMode()
50 *RefreshRate = Private->ModeData[Private->CurrentMode].RefreshRate; in CirrusLogic5430UgaDrawGetMode()
72 if (HorizontalResolution != Private->ModeData[Index].HorizontalResolution) { in CirrusLogic5430UgaDrawSetMode()
76 if (VerticalResolution != Private->ModeData[Index].VerticalResolution) { in CirrusLogic5430UgaDrawSetMode()
80 if (ColorDepth != Private->ModeData[Index].ColorDepth) { in CirrusLogic5430UgaDrawSetMode()
84 if (RefreshRate != Private->ModeData[Index].RefreshRate) { in CirrusLogic5430UgaDrawSetMode()
98 … InitializeGraphicsMode (Private, &CirrusLogic5430VideoModes[Private->ModeData[Index].ModeNumber]); in CirrusLogic5430UgaDrawSetMode()
170 if (SourceY + Height > Private->ModeData[Private->CurrentMode].VerticalResolution) { in CirrusLogic5430UgaDrawBlt()
[all …]
DEdid.c339 CIRRUS_LOGIC_5430_MODE_DATA *ModeData; in CirrusLogic5430VideoModeSetup() local
455 ModeData = &Private->ModeData[0]; in CirrusLogic5430VideoModeSetup()
479 ModeData->ModeNumber = Index; in CirrusLogic5430VideoModeSetup()
480 ModeData->HorizontalResolution = VideoMode->Width; in CirrusLogic5430VideoModeSetup()
481 ModeData->VerticalResolution = VideoMode->Height; in CirrusLogic5430VideoModeSetup()
482 ModeData->ColorDepth = VideoMode->ColorDepth; in CirrusLogic5430VideoModeSetup()
483 ModeData->RefreshRate = VideoMode->RefreshRate; in CirrusLogic5430VideoModeSetup()
485 ModeData ++; in CirrusLogic5430VideoModeSetup()
498 ModeData = &Private->ModeData[0]; in CirrusLogic5430VideoModeSetup()
501 ModeData->ModeNumber = Index; in CirrusLogic5430VideoModeSetup()
[all …]
DCirrusLogic5430GraphicsOutput.c120 (*Info)->HorizontalResolution = Private->ModeData[ModeNumber].HorizontalResolution; in CirrusLogic5430GraphicsOutputQueryMode()
121 (*Info)->VerticalResolution = Private->ModeData[ModeNumber].VerticalResolution; in CirrusLogic5430GraphicsOutputQueryMode()
151 CIRRUS_LOGIC_5430_MODE_DATA *ModeData; in CirrusLogic5430GraphicsOutputSetMode() local
159 ModeData = &Private->ModeData[ModeNumber]; in CirrusLogic5430GraphicsOutputSetMode()
166 Private->LineBuffer = AllocatePool (ModeData->HorizontalResolution); in CirrusLogic5430GraphicsOutputSetMode()
171 InitializeGraphicsMode (Private, &CirrusLogic5430VideoModes[ModeData->ModeNumber]); in CirrusLogic5430GraphicsOutputSetMode()
174 This->Mode->Info->HorizontalResolution = ModeData->HorizontalResolution; in CirrusLogic5430GraphicsOutputSetMode()
175 This->Mode->Info->VerticalResolution = ModeData->VerticalResolution; in CirrusLogic5430GraphicsOutputSetMode()
275 if (SourceY + Height > Private->ModeData[CurrentMode].VerticalResolution) { in CirrusLogic5430GraphicsOutputBlt()
279 if (SourceX + Width > Private->ModeData[CurrentMode].HorizontalResolution) { in CirrusLogic5430GraphicsOutputBlt()
[all …]
DCirrusLogic5430.h103 CIRRUS_LOGIC_5430_MODE_DATA ModeData[CIRRUS_LOGIC_5430_MODE_COUNT]; member
383 CIRRUS_LOGIC_5430_VIDEO_MODES *ModeData
DCirrusLogic5430.c826 CIRRUS_LOGIC_5430_VIDEO_MODES *ModeData in InitializeGraphicsMode() argument
850 outw (Private, SEQ_ADDRESS_REGISTER, ModeData->SeqSettings[Index]); in InitializeGraphicsMode()
859 outb (Private, MISC_OUTPUT_REGISTER, ModeData->MiscSetting); in InitializeGraphicsMode()
865 outw (Private, CRTC_ADDRESS_REGISTER, (UINT16) ((ModeData->CrtcSettings[Index] << 8) | Index)); in InitializeGraphicsMode()
/device/linaro/bootloader/edk2/EmulatorPkg/EmuGopDxe/
DGopScreen.c80 (*Info)->HorizontalResolution = Private->ModeData[ModeNumber].HorizontalResolution; in EmuGopQuerytMode()
81 (*Info)->VerticalResolution = Private->ModeData[ModeNumber].VerticalResolution; in EmuGopQuerytMode()
111 GOP_MODE_DATA *ModeData; in EmuGopSetMode() local
120 ModeData = &Private->ModeData[ModeNumber]; in EmuGopSetMode()
122 Private->GraphicsOutput.Mode->Info->HorizontalResolution = ModeData->HorizontalResolution; in EmuGopSetMode()
123 Private->GraphicsOutput.Mode->Info->VerticalResolution = ModeData->VerticalResolution; in EmuGopSetMode()
124 Private->GraphicsOutput.Mode->Info->PixelsPerScanLine = ModeData->HorizontalResolution; in EmuGopSetMode()
129 ModeData->HorizontalResolution, in EmuGopSetMode()
130 ModeData->VerticalResolution, in EmuGopSetMode()
131 ModeData->ColorDepth, in EmuGopSetMode()
[all …]
DGop.h92 GOP_MODE_DATA *ModeData; member
/device/linaro/bootloader/edk2/StdLib/EfiSocketLib/
DIp4.c43 &pIp4->ModeData.ConfigData.StationAddress.Addr[0], in EslIp4LocalAddressGet()
98 pConfig = &pPort->Context.Ip4.ModeData.ConfigData; in EslIp4LocalAddressSet()
341 pConfig = &pPort->Context.Ip4.ModeData.ConfigData; in EslIp4PortAllocate()
723 pIp4->ModeData.ConfigData.RawData = TRUE; in EslIp4SocketIsConfigured()
734 pIp4->ModeData.ConfigData.StationAddress.Addr[0], in EslIp4SocketIsConfigured()
735 pIp4->ModeData.ConfigData.StationAddress.Addr[1], in EslIp4SocketIsConfigured()
736 pIp4->ModeData.ConfigData.StationAddress.Addr[2], in EslIp4SocketIsConfigured()
737 pIp4->ModeData.ConfigData.StationAddress.Addr[3], in EslIp4SocketIsConfigured()
743 &pIp4->ModeData.ConfigData ); in EslIp4SocketIsConfigured()
749 &pIp4->ModeData, in EslIp4SocketIsConfigured()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Console/GraphicsConsoleDxe/
DGraphicsConsole.c564 &Private->ModeData in GraphicsConsoleControllerDriverStart()
622 if (Private->ModeData != NULL) { in GraphicsConsoleControllerDriverStart()
623 FreePool (Private->ModeData); in GraphicsConsoleControllerDriverStart()
710 if (Private->ModeData != NULL) { in GraphicsConsoleControllerDriverStop()
711 FreePool (Private->ModeData); in GraphicsConsoleControllerDriverStop()
928 MaxColumn = Private->ModeData[Mode].Columns; in GraphicsConsoleConOutOutputString()
929 MaxRow = Private->ModeData[Mode].Rows; in GraphicsConsoleConOutOutputString()
930 DeltaX = (UINTN) Private->ModeData[Mode].DeltaX; in GraphicsConsoleConOutOutputString()
931 DeltaY = (UINTN) Private->ModeData[Mode].DeltaY; in GraphicsConsoleConOutOutputString()
1246 *Columns = Private->ModeData[ModeNumber].Columns; in GraphicsConsoleConOutQueryMode()
[all …]
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/Mtftp4Dxe/
DComponentName.c252 EFI_MTFTP4_MODE_DATA ModeData; in UpdateName() local
262 Status = Mtftp4->GetModeData (Mtftp4, &ModeData); in UpdateName()
269 ModeData.ConfigData.ServerIp.Addr[0], in UpdateName()
270 ModeData.ConfigData.ServerIp.Addr[1], in UpdateName()
271 ModeData.ConfigData.ServerIp.Addr[2], in UpdateName()
272 ModeData.ConfigData.ServerIp.Addr[3], in UpdateName()
273 ModeData.ConfigData.InitialServerPort in UpdateName()
DMtftp4Impl.c551 OUT EFI_MTFTP4_MODE_DATA *ModeData in EfiMtftp4GetModeData() argument
557 if ((This == NULL) || (ModeData == NULL)) { in EfiMtftp4GetModeData()
564 CopyMem(&ModeData->ConfigData, &Instance->Config, sizeof (Instance->Config)); in EfiMtftp4GetModeData()
565 ModeData->SupportedOptionCount = MTFTP4_SUPPORTED_OPTIONS; in EfiMtftp4GetModeData()
566 ModeData->SupportedOptoins = (UINT8 **) mMtftp4SupportedOptions; in EfiMtftp4GetModeData()
567 ModeData->UnsupportedOptionCount = 0; in EfiMtftp4GetModeData()
568 ModeData->UnsupportedOptoins = NULL; in EfiMtftp4GetModeData()
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Csm/BiosThunk/VideoDxe/
DBiosVideo.c625 BiosVideoPrivate->ModeData = NULL; in BiosVideoChildHandleInstall()
1005 if (BiosVideoPrivate->ModeData != NULL) { in BiosVideoDeviceReleaseResource()
1006 FreePool (BiosVideoPrivate->ModeData); in BiosVideoDeviceReleaseResource()
1660 BiosVideoPrivate->ModeData, in BiosVideoCheckForVbe()
1665 if (BiosVideoPrivate->ModeData != NULL) { in BiosVideoCheckForVbe()
1666 FreePool (BiosVideoPrivate->ModeData); in BiosVideoCheckForVbe()
1719 BiosVideoPrivate->ModeData = ModeBuffer; in BiosVideoCheckForVbe()
1745 BIOS_VIDEO_MODE_DATA *ModeData; in BiosVideoCheckForVbe()
1746 ModeData = &BiosVideoPrivate->ModeData[HighestResolutionMode]; in BiosVideoCheckForVbe()
1748 ModeData->HorizontalResolution, ModeData->VerticalResolution)); in BiosVideoCheckForVbe()
[all …]
/device/linaro/bootloader/edk2/DuetPkg/BiosVideoThunkDxe/
DBiosVideo.c454 BiosVideoPrivate->ModeData = NULL; in BiosVideoChildHandleInstall()
750 if (BiosVideoPrivate->ModeData != NULL) { in BiosVideoDeviceReleaseResource()
751 gBS->FreePool (BiosVideoPrivate->ModeData); in BiosVideoDeviceReleaseResource()
1356 BiosVideoPrivate->ModeData, in BiosVideoCheckForVbe()
1361 if (BiosVideoPrivate->ModeData != NULL) { in BiosVideoCheckForVbe()
1362 gBS->FreePool (BiosVideoPrivate->ModeData); in BiosVideoCheckForVbe()
1409 BiosVideoPrivate->ModeData = ModeBuffer; in BiosVideoCheckForVbe()
1473 if (BiosVideoPrivate->ModeData != NULL) { in BiosVideoCheckForVbe()
1474 gBS->FreePool (BiosVideoPrivate->ModeData); in BiosVideoCheckForVbe()
1553 BiosVideoPrivate->ModeData = ModeBuffer; in BiosVideoCheckForVga()
[all …]
/device/linaro/bootloader/edk2/Nt32Pkg/WinNtGopDxe/
DWinNtGopScreen.c254 (*Info)->HorizontalResolution = Private->ModeData[ModeNumber].HorizontalResolution; in WinNtGopQuerytMode()
255 (*Info)->VerticalResolution = Private->ModeData[ModeNumber].VerticalResolution; in WinNtGopQuerytMode()
284 GOP_MODE_DATA *ModeData; in WinNtGopSetMode() local
298 ModeData = &Private->ModeData[ModeNumber]; in WinNtGopSetMode()
300 Private->GraphicsOutput.Mode->Info->HorizontalResolution = ModeData->HorizontalResolution; in WinNtGopSetMode()
301 Private->GraphicsOutput.Mode->Info->VerticalResolution = ModeData->VerticalResolution; in WinNtGopSetMode()
302 Private->GraphicsOutput.Mode->Info->PixelsPerScanLine = ModeData->HorizontalResolution; in WinNtGopSetMode()
307 ModeData->HorizontalResolution, in WinNtGopSetMode()
308 ModeData->VerticalResolution, in WinNtGopSetMode()
309 ModeData->ColorDepth, in WinNtGopSetMode()
[all …]
/device/linaro/bootloader/edk2/CorebootPayloadPkg/FbGop/
DFbGop.c476 FbGopPrivate->ModeData = NULL; in FbGopChildHandleInstall()
719 if (FbGopPrivate->ModeData != NULL) { in FbGopDeviceReleaseResource()
720 FreePool (FbGopPrivate->ModeData); in FbGopDeviceReleaseResource()
844 if (FbGopPrivate->ModeData != NULL) { in FbGopCheckForVbe()
845 FreePool (FbGopPrivate->ModeData); in FbGopCheckForVbe()
881 FbGopPrivate->ModeData = ModeBuffer; in FbGopCheckForVbe()
955 FB_VIDEO_MODE_DATA *ModeData; in FbGopGraphicsOutputQueryMode() local
972 ModeData = &FbGopPrivate->ModeData[ModeNumber]; in FbGopGraphicsOutputQueryMode()
974 (*Info)->HorizontalResolution = ModeData->HorizontalResolution; in FbGopGraphicsOutputQueryMode()
975 (*Info)->VerticalResolution = ModeData->VerticalResolution; in FbGopGraphicsOutputQueryMode()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/Mtftp6Dxe/
DMtftp6Impl.c55 OUT EFI_MTFTP6_MODE_DATA *ModeData in EfiMtftp6GetModeData() argument
61 if (This == NULL || ModeData == NULL) { in EfiMtftp6GetModeData()
73 &ModeData->ConfigData, in EfiMtftp6GetModeData()
79 &ModeData->ConfigData, in EfiMtftp6GetModeData()
87 ModeData->SupportedOptionCount = MTFTP6_SUPPORTED_OPTIONS_NUM; in EfiMtftp6GetModeData()
88 ModeData->SupportedOptions = (UINT8 **) mMtftp6SupportedOptions; in EfiMtftp6GetModeData()
DMtftp6Impl.h148 OUT EFI_MTFTP6_MODE_DATA *ModeData
/device/linaro/bootloader/edk2/NetworkPkg/Dhcp6Dxe/
DDhcp6Utility.c292 IN OUT EFI_DHCP6_MODE_DATA *ModeData in Dhcp6CleanupModeData() argument
295 ASSERT (ModeData != NULL); in Dhcp6CleanupModeData()
300 if (ModeData->ClientId != NULL) { in Dhcp6CleanupModeData()
301 FreePool (ModeData->ClientId); in Dhcp6CleanupModeData()
304 if (ModeData->Ia != NULL) { in Dhcp6CleanupModeData()
306 if (ModeData->Ia->ReplyPacket != NULL) { in Dhcp6CleanupModeData()
307 FreePool (ModeData->Ia->ReplyPacket); in Dhcp6CleanupModeData()
309 FreePool (ModeData->Ia); in Dhcp6CleanupModeData()
312 ZeroMem (ModeData, sizeof (EFI_DHCP6_MODE_DATA)); in Dhcp6CleanupModeData()
DDhcp6Utility.h72 IN OUT EFI_DHCP6_MODE_DATA *ModeData
/device/linaro/bootloader/edk2/MdePkg/Include/Protocol/
DFtp4.h262 OUT EFI_FTP4_CONFIG_DATA *ModeData

12