Home
last modified time | relevance | path

Searched refs:last_key (Results 1 - 20 of 20) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-zydacron.c19 unsigned short last_key[4]; member
104 zc->last_key[i] = 0; in zc_input_mapping()
121 key = zc->last_key[index]; in zc_raw_event()
124 zc->last_key[index] = 0; in zc_raw_event()
153 zc->last_key[index] = key; in zc_raw_event()
H A Dhid-prodikeys.c64 unsigned short last_key[24]; member
395 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
396 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
486 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
544 pm->last_key[i] = 0; in pcmidi_setup_extra_keys()
H A Dhid-microsoft.c260 static unsigned int last_key = 0; in ms_event() local
271 last_key = key; in ms_event()
273 input_event(input, usage->type, last_key, 0); in ms_event()
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-zydacron.c19 unsigned short last_key[4]; member
104 zc->last_key[i] = 0; in zc_input_mapping()
121 key = zc->last_key[index]; in zc_raw_event()
124 zc->last_key[index] = 0; in zc_raw_event()
153 zc->last_key[index] = key; in zc_raw_event()
H A Dhid-prodikeys.c64 unsigned short last_key[24]; member
395 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
396 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
486 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
544 pm->last_key[i] = 0; in pcmidi_setup_extra_keys()
H A Dhid-microsoft.c260 static unsigned int last_key = 0; in ms_event() local
271 last_key = key; in ms_event()
273 input_event(input, usage->type, last_key, 0); in ms_event()
/kernel/linux/linux-5.10/drivers/input/keyboard/
H A Dspear-keyboard.c62 unsigned short last_key; member
80 if (kbd->last_key != KEY_RESERVED) { in spear_kbd_interrupt()
81 input_report_key(input, kbd->last_key, 0); in spear_kbd_interrupt()
82 kbd->last_key = KEY_RESERVED; in spear_kbd_interrupt()
94 kbd->last_key = key; in spear_kbd_interrupt()
108 kbd->last_key = KEY_RESERVED; in spear_kbd_open()
144 kbd->last_key = KEY_RESERVED; in spear_kbd_close()
H A Dadc-keys.c27 u32 last_key; member
56 if (st->last_key && st->last_key != keycode) in adc_keys_poll()
57 input_report_key(input, st->last_key, 0); in adc_keys_poll()
63 st->last_key = keycode; in adc_keys_poll()
/kernel/linux/linux-6.6/drivers/input/keyboard/
H A Dspear-keyboard.c62 unsigned short last_key; member
80 if (kbd->last_key != KEY_RESERVED) { in spear_kbd_interrupt()
81 input_report_key(input, kbd->last_key, 0); in spear_kbd_interrupt()
82 kbd->last_key = KEY_RESERVED; in spear_kbd_interrupt()
94 kbd->last_key = key; in spear_kbd_interrupt()
108 kbd->last_key = KEY_RESERVED; in spear_kbd_open()
144 kbd->last_key = KEY_RESERVED; in spear_kbd_close()
H A Dadc-keys.c27 u32 last_key; member
56 if (st->last_key && st->last_key != keycode) in adc_keys_poll()
57 input_report_key(input, st->last_key, 0); in adc_keys_poll()
63 st->last_key = keycode; in adc_keys_poll()
/kernel/linux/linux-5.10/net/tipc/
H A Dname_table.c923 u32 *last_key) in __tipc_nl_add_nametable_publ()
930 if (*last_key) { in __tipc_nl_add_nametable_publ()
932 if (p->key == *last_key) in __tipc_nl_add_nametable_publ()
943 *last_key = p->key; in __tipc_nl_add_nametable_publ()
978 *last_key = 0; in __tipc_nl_add_nametable_publ()
994 u32 *last_lower, u32 *last_key) in __tipc_nl_service_range_list()
1004 err = __tipc_nl_add_nametable_publ(msg, sc, sr, last_key); in __tipc_nl_service_range_list()
1015 u32 *last_type, u32 *last_lower, u32 *last_key) in tipc_nl_service_list()
1032 (!i && *last_key && (*last_lower == *last_key))) { in tipc_nl_service_list()
920 __tipc_nl_add_nametable_publ(struct tipc_nl_msg *msg, struct tipc_service *service, struct service_range *sr, u32 *last_key) __tipc_nl_add_nametable_publ() argument
992 __tipc_nl_service_range_list(struct tipc_nl_msg *msg, struct tipc_service *sc, u32 *last_lower, u32 *last_key) __tipc_nl_service_range_list() argument
1014 tipc_nl_service_list(struct net *net, struct tipc_nl_msg *msg, u32 *last_type, u32 *last_lower, u32 *last_key) tipc_nl_service_list() argument
1066 u32 last_key = cb->args[2]; tipc_nl_name_table_dump() local
[all...]
/kernel/linux/linux-6.6/net/tipc/
H A Dname_table.c959 u32 *last_key) in __tipc_nl_add_nametable_publ()
966 if (*last_key) { in __tipc_nl_add_nametable_publ()
968 if (p->key == *last_key) in __tipc_nl_add_nametable_publ()
979 *last_key = p->key; in __tipc_nl_add_nametable_publ()
1014 *last_key = 0; in __tipc_nl_add_nametable_publ()
1030 u32 *last_lower, u32 *last_key) in __tipc_nl_service_range_list()
1040 err = __tipc_nl_add_nametable_publ(msg, sc, sr, last_key); in __tipc_nl_service_range_list()
1051 u32 *last_type, u32 *last_lower, u32 *last_key) in tipc_nl_service_list()
1069 (!i && *last_key && (*last_lower == *last_key))) { in tipc_nl_service_list()
956 __tipc_nl_add_nametable_publ(struct tipc_nl_msg *msg, struct tipc_service *service, struct service_range *sr, u32 *last_key) __tipc_nl_add_nametable_publ() argument
1028 __tipc_nl_service_range_list(struct tipc_nl_msg *msg, struct tipc_service *sc, u32 *last_lower, u32 *last_key) __tipc_nl_service_range_list() argument
1050 tipc_nl_service_list(struct net *net, struct tipc_nl_msg *msg, u32 *last_type, u32 *last_lower, u32 *last_key) tipc_nl_service_list() argument
1105 u32 last_key = cb->args[2]; tipc_nl_name_table_dump() local
[all...]
/kernel/linux/linux-5.10/tools/testing/selftests/bpf/
H A Dtest_lru_map.c555 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() argument
560 assert(!bpf_map_lookup_elem_with_ref_bit(map_fd, last_key, value)); in do_test_lru_sanity5()
563 key = last_key + 1; in do_test_lru_sanity5()
568 assert(bpf_map_lookup_elem(map_fd, &last_key, value) == -1 && in do_test_lru_sanity5()
/kernel/linux/linux-6.6/tools/testing/selftests/bpf/
H A Dtest_lru_map.c545 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() argument
550 assert(!bpf_map_lookup_elem_with_ref_bit(map_fd, last_key, value)); in do_test_lru_sanity5()
553 key = last_key + 1; in do_test_lru_sanity5()
558 assert(bpf_map_lookup_elem(map_fd, &last_key, value) == -ENOENT); in do_test_lru_sanity5()
/kernel/linux/linux-5.10/tools/perf/
H A Dbuiltin-report.c1124 int last_key = 0; in cmd_report() local
1531 if ((last_key != K_SWITCH_INPUT_DATA && last_key != K_RELOAD) && in cmd_report()
1612 last_key = K_SWITCH_INPUT_DATA; in cmd_report()
/kernel/linux/linux-6.6/drivers/infiniband/sw/rxe/
H A Drxe_mr.c13 * different than the last_key. Set last_key to -1
16 u8 rxe_get_next_key(u32 last_key) in rxe_get_next_key() argument
22 } while (key == last_key); in rxe_get_next_key()
H A Drxe_loc.h60 u8 rxe_get_next_key(u32 last_key);
/kernel/linux/linux-5.10/drivers/firewire/
H A Dcore-device.c53 int last_key = 0, key, value; in search_leaf() local
57 if (last_key == search_key && in search_leaf()
61 last_key = key; in search_leaf()
/kernel/linux/linux-6.6/drivers/firewire/
H A Dcore-device.c53 int last_key = 0, key, value; in search_leaf() local
57 if (last_key == search_key && in search_leaf()
61 last_key = key; in search_leaf()
/kernel/linux/linux-6.6/tools/perf/
H A Dbuiltin-report.c1193 int last_key = 0; in cmd_report() local
1626 if ((last_key != K_SWITCH_INPUT_DATA && last_key != K_RELOAD) && in cmd_report()
1714 last_key = K_SWITCH_INPUT_DATA; in cmd_report()

Completed in 21 milliseconds