Lines Matching defs:rc
12 EFI_STATUS rc;
25 rc = uefi_call_wrapper(gop->QueryMode, 4, gop, i, &SizeOfInfo,
27 if (rc == EFI_NOT_STARTED) {
28 Print(L"gop->QueryMode() returned %r\n", rc);
30 rc = uefi_call_wrapper(gop->SetMode, 2, gop,
32 rc = uefi_call_wrapper(gop->QueryMode, 4, gop, i,
36 if (EFI_ERROR(rc)) {
38 i, rc, rc);
74 EFI_STATUS rc;
75 rc = uefi_call_wrapper(BS->SetWatchdogTimer, 4, seconds, 0x1ffff,
77 if (EFI_ERROR(rc)) {
79 StatusToString(Buffer, rc);
80 Print(L"Bad response from QueryMode: %s (%d)\n", Buffer, rc);
82 return rc;
88 EFI_STATUS rc;
95 rc = LibLocateProtocol(&GraphicsOutputProtocol, (void **)&gop);
96 if (EFI_ERROR(rc)) {
97 Print(L"Could not locate GOP: %r\n", rc);
98 return rc;
102 Print(L"LocateProtocol(GOP, &gop) returned %r but GOP is NULL\n", rc);