Home
last modified time | relevance | path

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

/drivers/s390/char/
Dkeyboard.c56 kbd->key_maps = kzalloc(sizeof(key_maps), GFP_KERNEL); in kbd_alloc()
57 if (!kbd->key_maps) in kbd_alloc()
59 for (i = 0; i < ARRAY_SIZE(key_maps); i++) { in kbd_alloc()
60 if (key_maps[i]) { in kbd_alloc()
61 kbd->key_maps[i] = kmemdup(key_maps[i], in kbd_alloc()
64 if (!kbd->key_maps[i]) in kbd_alloc()
98 for (i = 0; i < ARRAY_SIZE(key_maps); i++) in kbd_alloc()
99 kfree(kbd->key_maps[i]); in kbd_alloc()
100 kfree(kbd->key_maps); in kbd_alloc()
117 for (i = 0; i < ARRAY_SIZE(key_maps); i++) in kbd_free()
[all …]
Dkeyboard.h24 unsigned short **key_maps; member
Ddefkeymap.c87 ushort *key_maps[MAX_NR_KEYMAPS] = { variable
/drivers/input/keyboard/
Damikbd.c155 if (!key_maps[i]) in amikbd_init_console_keymaps()
161 temp_map[j] = key_maps[i][amikbd_keycode[j]]; in amikbd_init_console_keymaps()
167 memcpy(key_maps[i], temp_map, sizeof(temp_map)); in amikbd_init_console_keymaps()
/drivers/tty/vt/
Dkeyboard.c375 sym = U(key_maps[0][k]); in do_compute_shiftstate()
876 if (!key_maps[kbd->lockstate ^ kbd->slockstate]) { in k_slock()
1394 key_map = key_maps[shift_final]; in kbd_keycode()
1430 key_map = key_maps[shift_final ^ (1 << KG_SHIFT)]; in kbd_keycode()
1868 key_map = key_maps[s]; in vt_do_kdsk_ioctl()
1883 key_map = key_maps[s]; in vt_do_kdsk_ioctl()
1885 key_maps[s] = NULL; in vt_do_kdsk_ioctl()
1913 key_map = key_maps[s]; in vt_do_kdsk_ioctl()
1923 key_maps[s] = new_map; in vt_do_kdsk_ioctl()
Ddefkeymap.c_shipped141 ushort *key_maps[MAX_NR_KEYMAPS] = {