Searched refs:key_map (Results 1 – 7 of 7) 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 …]
1362 unsigned short keysym, *key_map; in kbd_keycode() local1438 key_map = key_maps[shift_final]; in kbd_keycode()1442 if (rc == NOTIFY_STOP || !key_map) { in kbd_keycode()1451 keysym = key_map[keycode]; in kbd_keycode()1474 key_map = key_maps[shift_final ^ (1 << KG_SHIFT)]; in kbd_keycode()1475 if (key_map) in kbd_keycode()1476 keysym = key_map[keycode]; in kbd_keycode()1899 ushort *key_map, *new_map, val, ov; in vt_do_kdsk_ioctl() local1912 key_map = key_maps[s]; in vt_do_kdsk_ioctl()1913 if (key_map) { in vt_do_kdsk_ioctl()[all …]
19 idx = ffs(~wdev->key_map) - 1; in wfx_alloc_key()23 wdev->key_map |= BIT(idx); in wfx_alloc_key()29 WARN(!(wdev->key_map & BIT(idx)), "inconsistent key allocation"); in wfx_free_key()30 wdev->key_map &= ~BIT(idx); in wfx_free_key()
54 u32 key_map; member
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
196 struct key_map { struct238 struct key_map kmap;