Home
last modified time | relevance | path

Searched refs:key_map (Results 1 – 9 of 9) sorted by relevance

/linux-6.12.1/drivers/s390/char/
Dkeyboard.c364 ushort *key_map, val, ov; in do_kdsk_ioctl() local
382 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 …]
/linux-6.12.1/drivers/tty/vt/
Dkeyboard.c1398 unsigned short keysym, *key_map; in kbd_keycode() local
1471 key_map = key_maps[shift_final]; in kbd_keycode()
1475 if (rc == NOTIFY_STOP || !key_map) { in kbd_keycode()
1484 keysym = key_map[keycode]; in kbd_keycode()
1507 key_map = key_maps[shift_final ^ BIT(KG_SHIFT)]; in kbd_keycode()
1508 if (key_map) in kbd_keycode()
1509 keysym = key_map[keycode]; in kbd_keycode()
1923 unsigned short *key_map, val; in vt_kdgkbent() local
1928 key_map = key_maps[map]; in vt_kdgkbent()
1929 if (key_map) { in vt_kdgkbent()
[all …]
/linux-6.12.1/tools/testing/selftests/bpf/progs/
Dtest_hash_large_key.c20 } key_map SEC(".maps");
34 key = bpf_map_lookup_elem(&key_map, &zero); in bpf_hash_large_key_test()
/linux-6.12.1/drivers/net/wireless/silabs/wfx/
Dkey.c19 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()
Dwfx.h55 u32 key_map; member
/linux-6.12.1/drivers/net/ethernet/netronome/nfp/flower/
Dconntrack.c819 u16 key_map[_FLOW_PAY_LAYERS_MAX]; in nfp_fl_ct_add_offload() local
845 memset(&key_map, 0, sizeof(key_map)); in nfp_fl_ct_add_offload()
859 key_layer.key_size = nfp_fl_calc_key_layers_sz(key_layer, key_map); in nfp_fl_ct_add_offload()
871 offset = key_map[FLOW_PAY_META_TCI]; in nfp_fl_ct_add_offload()
879 offset = key_map[FLOW_PAY_EXT_META]; in nfp_fl_ct_add_offload()
892 offset = key_map[FLOW_PAY_INPORT]; in nfp_fl_ct_add_offload()
915 offset = key_map[FLOW_PAY_META_TCI]; in nfp_fl_ct_add_offload()
925 offset = key_map[FLOW_PAY_MAC_MPLS]; in nfp_fl_ct_add_offload()
941 offset = key_map[FLOW_PAY_IPV4]; in nfp_fl_ct_add_offload()
952 offset = key_map[FLOW_PAY_IPV6]; in nfp_fl_ct_add_offload()
[all …]
/linux-6.12.1/drivers/net/wireless/st/cw1200/
Dtxrx.c1229 idx = ffs(~priv->key_map) - 1; in cw1200_alloc_key()
1233 priv->key_map |= BIT(idx); in cw1200_alloc_key()
1240 BUG_ON(!(priv->key_map & BIT(idx))); in cw1200_free_key()
1242 priv->key_map &= ~BIT(idx); in cw1200_free_key()
1248 priv->key_map = 0; in cw1200_free_keys()
1255 if (priv->key_map & BIT(idx)) { in cw1200_upload_keys()
Dcw1200.h239 u32 key_map; member
/linux-6.12.1/drivers/net/ethernet/chelsio/inline_crypto/chtls/
Dchtls.h197 struct key_map { struct
240 struct key_map kmap;