Lines Matching defs:gop
9 print_modes(EFI_GRAPHICS_OUTPUT_PROTOCOL *gop)
14 if (gop->Mode) {
15 imax = gop->Mode->MaxMode;
16 Print(L"GOP reports MaxMode %d\n", imax);
18 Print(L"gop->Mode is NULL\n");
25 rc = uefi_call_wrapper(gop->QueryMode, 4, gop, i, &SizeOfInfo,
28 Print(L"gop->QueryMode() returned %r\n", rc);
29 Print(L"Trying to start GOP with SetMode().\n");
30 rc = uefi_call_wrapper(gop->SetMode, 2, gop,
31 gop->Mode ? gop->Mode->Mode : 0);
32 rc = uefi_call_wrapper(gop->QueryMode, 4, gop, i,
42 (gop->Mode &&
43 CompareMem(info,gop->Mode->Info,sizeof(*info)) == 0
89 EFI_GRAPHICS_OUTPUT_PROTOCOL *gop;
95 rc = LibLocateProtocol(&GraphicsOutputProtocol, (void **)&gop);
97 Print(L"Could not locate GOP: %r\n", rc);
101 if (!gop) {
102 Print(L"LocateProtocol(GOP, &gop) returned %r but GOP is NULL\n", rc);
106 print_modes(gop);