Home
last modified time | relevance | path

Searched refs:scan_code (Results 1 – 6 of 6) sorted by relevance

/openbmc/u-boot/drivers/input/
H A Di8042.c222 int scan_code; in i8042_kbd_check() local
225 scan_code = in8(I8042_DATA_REG); in i8042_kbd_check()
226 if (scan_code == 0xfa) { in i8042_kbd_check()
228 } else if (scan_code == 0xe0) { in i8042_kbd_check()
232 if (scan_code & 0x80) { in i8042_kbd_check()
233 scan_code &= 0x7f; in i8042_kbd_check()
239 if (ext_key_map[i] == scan_code) { in i8042_kbd_check()
240 scan_code = 0x60 + i; in i8042_kbd_check()
249 input_add_keycode(input, scan_code, release); in i8042_kbd_check()
/openbmc/u-boot/lib/efi_loader/
H A Defi_console.c535 .scan_code = 0, in efi_cin_read_key()
559 pressed_key.scan_code = 23; in efi_cin_read_key()
568 pressed_key.scan_code = ch - 'P' + 11; in efi_cin_read_key()
574 pressed_key.scan_code = ch - 'A' + 1; in efi_cin_read_key()
577 pressed_key.scan_code = 6; in efi_cin_read_key()
580 pressed_key.scan_code = 5; in efi_cin_read_key()
586 pressed_key.scan_code = ch - '1' + 11; in efi_cin_read_key()
589 pressed_key.scan_code = ch - '7' + 16; in efi_cin_read_key()
592 pressed_key.scan_code = ch - 'A' + 1; in efi_cin_read_key()
595 pressed_key.scan_code = 6; /* End */ in efi_cin_read_key()
[all …]
/openbmc/u-boot/lib/efi_selftest/
H A Defi_selftest_textinputex.c56 .scan_code = 0, in setup()
163 (unsigned int)input_key.key.scan_code); in execute()
185 efi_st_translate_code(input_key.key.scan_code)); in execute()
H A Defi_selftest_textinput.c80 (unsigned int)input_key.scan_code, in execute()
81 efi_st_translate_code(input_key.scan_code)); in execute()
/openbmc/u-boot/drivers/serial/
H A Dserial_efi.c65 if (!ch && priv->key.scan_code == 8) in serial_efi_getc()
67 debug(" [%x %x %x] ", ch, priv->key.unicode_char, priv->key.scan_code); in serial_efi_getc()
/openbmc/u-boot/include/
H A Defi_api.h597 u16 scan_code; member