Lines Matching refs:extended_translations
99 static struct extended_translation extended_translations[128] = { variable
367 for (trans = &extended_translations[0]; in ps2kbd_keysym_queue()
416 if (extended_translations[i].keysym == keycode) in ps2kbd_update_extended_translation()
418 } while (extended_translations[++i].keysym); in ps2kbd_update_extended_translation()
420 if (i == (sizeof(extended_translations) / sizeof(struct extended_translation) - 1)) in ps2kbd_update_extended_translation()
423 if (!extended_translations[i].keysym) { in ps2kbd_update_extended_translation()
424 extended_translations[i].keysym = keycode; in ps2kbd_update_extended_translation()
426 extended_translations[i+1].keysym = 0; in ps2kbd_update_extended_translation()
427 extended_translations[i+1].scancode = 0; in ps2kbd_update_extended_translation()
428 extended_translations[i+1].flags = 0; in ps2kbd_update_extended_translation()
431 extended_translations[i].scancode = (uint8_t)(scancode & 0xff); in ps2kbd_update_extended_translation()
432 extended_translations[i].flags = (prefix ? SCANCODE_E0_PREFIX : 0); in ps2kbd_update_extended_translation()