Home
last modified time | relevance | path

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

/rk3399_rockchip-uboot/drivers/input/
H A Di8042.c228 int scan_code; in i8042_kbd_check() local
231 scan_code = in8(I8042_DATA_REG); in i8042_kbd_check()
232 if (scan_code == 0xfa) { in i8042_kbd_check()
234 } else if (scan_code == 0xe0) { in i8042_kbd_check()
238 if (scan_code & 0x80) { in i8042_kbd_check()
239 scan_code &= 0x7f; in i8042_kbd_check()
245 if (ext_key_map[i] == scan_code) { in i8042_kbd_check()
246 scan_code = 0x60 + i; in i8042_kbd_check()
255 input_add_keycode(input, scan_code, release); in i8042_kbd_check()
H A Dkeyboard.c55 void handle_scancode(unsigned char scan_code) in handle_scancode() argument
60 if (scan_code & 0x80) { in handle_scancode()
61 scan_code &= 0x7f; in handle_scancode()
65 input_add_keycode(&config, scan_code, release); in handle_scancode()
/rk3399_rockchip-uboot/lib/efi_loader/
H A Defi_console.c347 .scan_code = 0, in efi_cin_read_key_stroke()
368 pressed_key.scan_code = 23; in efi_cin_read_key_stroke()
371 pressed_key.scan_code = getc() - 'P' + 11; in efi_cin_read_key_stroke()
380 pressed_key.scan_code = ch - 'A' + 1; in efi_cin_read_key_stroke()
383 pressed_key.scan_code = 6; in efi_cin_read_key_stroke()
386 pressed_key.scan_code = 5; in efi_cin_read_key_stroke()
389 pressed_key.scan_code = getc() - '0' + 11; in efi_cin_read_key_stroke()
393 pressed_key.scan_code = getc() - '0' + 19; in efi_cin_read_key_stroke()
397 pressed_key.scan_code = 8; in efi_cin_read_key_stroke()
/rk3399_rockchip-uboot/drivers/serial/
H A Dserial_efi.c66 if (!ch && priv->key.scan_code == 8) in serial_efi_getc()
68 debug(" [%x %x %x] ", ch, priv->key.unicode_char, priv->key.scan_code); in serial_efi_getc()
/rk3399_rockchip-uboot/include/
H A Defi_api.h451 u16 scan_code; member