Home
last modified time | relevance | path

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

/linux/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.c57 unsigned short last_key[24]; member
385 pm->last_key[bit_index], 0); in pcmidi_handle_report4()
386 pm->last_key[bit_index] = 0; in pcmidi_handle_report4()
476 pm->last_key[bit_index] = key; in pcmidi_handle_report4()
534 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()
/linux/drivers/md/dm-vdo/indexer/
H A Dradix-sort.c49 sort_key_t *last_key; member
94 for (next = task.first_key + 1; next <= task.last_key; next++) in insertion_sort()
105 task->last_key = &first_key[count - 1]; in push_task()
134 for (key_ptr = task.first_key; key_ptr <= task.last_key; key_ptr++) { in measure_bins()
249 .last_key = &keys[count - 1], in uds_radix_sort()
296 end = task.last_key - bins->size[bins->last]; in uds_radix_sort()
/linux/drivers/input/keyboard/
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()
/linux/drivers/gpio/
H A Dgpio-macsmc.c99 smc_key first_key, last_key; in macsmc_gpio_find_first_gpio_index() local
109 ret = apple_smc_get_key_by_index(smc, smc->key_count - 1, &last_key); in macsmc_gpio_find_first_gpio_index()
112 if (key > last_key) in macsmc_gpio_find_first_gpio_index()
/linux/tools/testing/selftests/bpf/
H A Dtest_lru_map.c547 static void do_test_lru_sanity5(unsigned long long last_key, int map_fd) in do_test_lru_sanity5() argument
552 assert(!bpf_map_lookup_elem_with_ref_bit(map_fd, last_key, value)); in do_test_lru_sanity5()
555 key = last_key + 1; in do_test_lru_sanity5()
560 assert(bpf_map_lookup_elem(map_fd, &last_key, value) == -ENOENT); in do_test_lru_sanity5()
/linux/tools/perf/
H A Dbuiltin-report.c1309 int last_key = 0; in cmd_report() local
1774 if (last_key != K_SWITCH_INPUT_DATA) { in cmd_report()
1794 if ((last_key != K_SWITCH_INPUT_DATA && last_key != K_RELOAD) && in cmd_report()
1882 last_key = K_SWITCH_INPUT_DATA; in cmd_report()
/linux/drivers/infiniband/sw/rxe/
H A Drxe_mr.c16 u8 rxe_get_next_key(u32 last_key) in rxe_get_next_key() argument
22 } while (key == last_key); in rxe_get_next_key()