Searched refs:key_map (Results 1 – 5 of 5) sorted by relevance
364 ushort *key_map, val, ov; in do_kdsk_ioctl() local382 key_map = kbd->key_maps[kb_table]; in do_kdsk_ioctl()383 if (key_map) { in do_kdsk_ioctl()384 val = U(key_map[kb_index]); in do_kdsk_ioctl()395 key_map = kbd->key_maps[kb_table]; in do_kdsk_ioctl()396 if (key_map) { in do_kdsk_ioctl()398 kfree(key_map); in do_kdsk_ioctl()408 if (!(key_map = kbd->key_maps[kb_table])) { in do_kdsk_ioctl()411 key_map = kmalloc(sizeof(plain_map), in do_kdsk_ioctl()413 if (!key_map) in do_kdsk_ioctl()[all …]
1350 unsigned short keysym, *key_map; in kbd_keycode() local1426 key_map = key_maps[shift_final]; in kbd_keycode()1430 if (rc == NOTIFY_STOP || !key_map) { in kbd_keycode()1439 keysym = key_map[keycode]; in kbd_keycode()1462 key_map = key_maps[shift_final ^ (1 << KG_SHIFT)]; in kbd_keycode()1463 if (key_map) in kbd_keycode()1464 keysym = key_map[keycode]; in kbd_keycode()1887 ushort *key_map, *new_map, val, ov; in vt_do_kdsk_ioctl() local1900 key_map = key_maps[s]; in vt_do_kdsk_ioctl()1901 if (key_map) { in vt_do_kdsk_ioctl()[all …]
107 struct key_map { struct149 struct key_map kmap;
1233 idx = ffs(~priv->key_map) - 1; in cw1200_alloc_key()1237 priv->key_map |= BIT(idx); in cw1200_alloc_key()1244 BUG_ON(!(priv->key_map & BIT(idx))); in cw1200_free_key()1246 priv->key_map &= ~BIT(idx); in cw1200_free_key()1252 priv->key_map = 0; in cw1200_free_keys()1259 if (priv->key_map & BIT(idx)) { in cw1200_upload_keys()
239 u32 key_map; member