Home
last modified time | relevance | path

Searched refs:InputKey (Results 1 – 8 of 8) sorted by relevance

/device/linaro/bootloader/edk2/SecurityPkg/Tcg/Opal/OpalPasswordDxe/
DOpalDriver.c139 EFI_INPUT_KEY InputKey; in OpalDriverPopUpHddPassword() local
167 &InputKey, in OpalDriverPopUpHddPassword()
177 if (InputKey.ScanCode == SCAN_NULL) { in OpalDriverPopUpHddPassword()
181 if (InputKey.UnicodeChar == CHAR_CARRIAGE_RETURN) { in OpalDriverPopUpHddPassword()
188 } else if ((InputKey.UnicodeChar == CHAR_NULL) || in OpalDriverPopUpHddPassword()
189 (InputKey.UnicodeChar == CHAR_TAB) || in OpalDriverPopUpHddPassword()
190 (InputKey.UnicodeChar == CHAR_LINEFEED) in OpalDriverPopUpHddPassword()
197 if (InputKey.UnicodeChar == CHAR_BACKSPACE) { in OpalDriverPopUpHddPassword()
207 Unicode[InputLength] = InputKey.UnicodeChar; in OpalDriverPopUpHddPassword()
225 if (InputKey.ScanCode == SCAN_ESC) { in OpalDriverPopUpHddPassword()
[all …]
/device/linaro/bootloader/edk2/NetworkPkg/UefiPxeBcDxe/
DPxeBcBoot.c74 EFI_INPUT_KEY InputKey; in PxeBcSelectBootPrompt() local
194 if (gST->ConIn->ReadKeyStroke (gST->ConIn, &InputKey) == EFI_NOT_READY) { in PxeBcSelectBootPrompt()
202 if (InputKey.ScanCode == 0) { in PxeBcSelectBootPrompt()
204 switch (InputKey.UnicodeChar) { in PxeBcSelectBootPrompt()
222 switch (InputKey.ScanCode) { in PxeBcSelectBootPrompt()
279 EFI_INPUT_KEY InputKey; in PxeBcSelectBootMenu() local
364 while (gST->ConIn->ReadKeyStroke (gST->ConIn, &InputKey) == EFI_NOT_READY) { in PxeBcSelectBootMenu()
368 if (InputKey.ScanCode == 0) { in PxeBcSelectBootMenu()
369 switch (InputKey.UnicodeChar) { in PxeBcSelectBootMenu()
371 InputKey.ScanCode = SCAN_ESC; in PxeBcSelectBootMenu()
[all …]
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTrEEPhysicalPresenceLib/
DDxeTrEEPhysicalPresenceLib.c173 UINT16 InputKey; in TrEEReadUserKey() local
175 InputKey = 0; in TrEEReadUserKey()
181 InputKey = Key.ScanCode; in TrEEReadUserKey()
184 InputKey = Key.ScanCode; in TrEEReadUserKey()
187 InputKey = Key.ScanCode; in TrEEReadUserKey()
190 } while (InputKey == 0); in TrEEReadUserKey()
192 if (InputKey != SCAN_ESC) { in TrEEReadUserKey()
/device/linaro/bootloader/edk2/EmbeddedPkg/Ebl/
DMain.c326 EFI_INPUT_KEY InputKey; in EblAnyKeyToContinueQtoQuit() local
338 EblGetCharKey (&InputKey, 0, NULL); in EblAnyKeyToContinueQtoQuit()
343 if (InputKey.UnicodeChar == 'Q' || InputKey.UnicodeChar == 'q') { in EblAnyKeyToContinueQtoQuit()
/device/linaro/bootloader/edk2/MdeModulePkg/Universal/Network/UefiPxeBcDxe/
DPxeBcDhcp.c1644 EFI_INPUT_KEY InputKey; in PxeBcSelectBootPrompt() local
1757 if (gST->ConIn->ReadKeyStroke (gST->ConIn, &InputKey) == EFI_NOT_READY) { in PxeBcSelectBootPrompt()
1763 if (InputKey.ScanCode == 0) { in PxeBcSelectBootPrompt()
1765 switch (InputKey.UnicodeChar) { in PxeBcSelectBootPrompt()
1781 switch (InputKey.ScanCode) { in PxeBcSelectBootPrompt()
1835 EFI_INPUT_KEY InputKey; in PxeBcSelectBootMenu() local
1913 while (gST->ConIn->ReadKeyStroke (gST->ConIn, &InputKey) == EFI_NOT_READY) { in PxeBcSelectBootMenu()
1917 if (InputKey.ScanCode != 0) { in PxeBcSelectBootMenu()
1918 switch (InputKey.UnicodeChar) { in PxeBcSelectBootMenu()
1920 InputKey.ScanCode = SCAN_ESC; in PxeBcSelectBootMenu()
[all …]
/device/linaro/bootloader/edk2/IntelFrameworkModulePkg/Universal/BdsDxe/
DHotkey.c321 EFI_INPUT_KEY *InputKey; in HotkeyInsertList() local
361 InputKey = (EFI_INPUT_KEY *) (((UINT8 *) KeyOption) + sizeof (EFI_KEY_OPTION)); in HotkeyInsertList()
370 KeyData->Key.ScanCode = InputKey[Index].ScanCode; in HotkeyInsertList()
371 KeyData->Key.UnicodeChar = InputKey[Index].UnicodeChar; in HotkeyInsertList()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcg2PhysicalPresenceLib/
DDxeTcg2PhysicalPresenceLib.c264 UINT16 InputKey; in Tcg2ReadUserKey() local
266 InputKey = 0; in Tcg2ReadUserKey()
272 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
275 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
278 InputKey = Key.ScanCode; in Tcg2ReadUserKey()
281 } while (InputKey == 0); in Tcg2ReadUserKey()
283 if (InputKey != SCAN_ESC) { in Tcg2ReadUserKey()
/device/linaro/bootloader/edk2/SecurityPkg/Library/DxeTcgPhysicalPresenceLib/
DDxeTcgPhysicalPresenceLib.c453 UINT16 InputKey; in ReadUserKey() local
456 InputKey = 0; in ReadUserKey()
469 InputKey = Key.ScanCode; in ReadUserKey()
472 InputKey = Key.ScanCode; in ReadUserKey()
475 InputKey = Key.ScanCode; in ReadUserKey()
477 } while (InputKey == 0); in ReadUserKey()
479 if (InputKey != SCAN_ESC) { in ReadUserKey()