Home
last modified time | relevance | path

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

/drivers/s390/char/
Dkeyboard.c37 255, ARRAY_SIZE(func_table) - 1, NR_FN_HANDLER - 1, 0,
69 kbd->func_table = kzalloc(sizeof(func_table), GFP_KERNEL); in kbd_alloc()
70 if (!kbd->func_table) in kbd_alloc()
72 for (i = 0; i < ARRAY_SIZE(func_table); i++) { in kbd_alloc()
73 if (func_table[i]) { in kbd_alloc()
74 kbd->func_table[i] = kstrdup(func_table[i], in kbd_alloc()
76 if (!kbd->func_table[i]) in kbd_alloc()
95 for (i = 0; i < ARRAY_SIZE(func_table); i++) in kbd_alloc()
96 kfree(kbd->func_table[i]); in kbd_alloc()
97 kfree(kbd->func_table); in kbd_alloc()
[all …]
Dkeyboard.h26 char **func_table; member
Ddefkeymap.c129 char *func_table[MAX_NR_FUNC] = { variable
/drivers/tty/vt/
Dkeyboard.c117 255, ARRAY_SIZE(func_table) - 1, ARRAY_SIZE(fn_handler) - 1, NR_PAD - 1,
742 if ((unsigned)value < ARRAY_SIZE(func_table)) { in k_fn()
743 if (func_table[value]) in k_fn()
744 puts_queue(vc, func_table[value]); in k_fn()
1941 p = func_table[i]; in vt_do_kdgkb_ioctl()
1960 q = func_table[i]; in vt_do_kdgkb_ioctl()
1962 for (j = i+1; j < MAX_NR_FUNC && !func_table[j]; j++) in vt_do_kdgkb_ioctl()
1965 fj = func_table[j]; in vt_do_kdgkb_ioctl()
1974 if (func_table[k]) in vt_do_kdgkb_ioctl()
1975 func_table[k] += delta; in vt_do_kdgkb_ioctl()
[all …]
Ddefkeymap.c_shipped191 char *func_table[MAX_NR_FUNC] = {