Home
last modified time | relevance | path

Searched refs:num_keycodes (Results 1 – 10 of 10) sorted by relevance

/OK3568_Linux_fs/u-boot/drivers/input/
H A Dinput.c375 int keycode[], int num_keycodes, int *same) in input_check_keycodes() argument
384 *same = sort_array_by_ordering(keycode, num_keycodes, in input_check_keycodes()
387 memcpy(config->prev_keycodes, keycode, num_keycodes * sizeof(int)); in input_check_keycodes()
388 config->num_prev_keycodes = num_keycodes; in input_check_keycodes()
390 return *same != num_keycodes; in input_check_keycodes()
450 int keycode[], int num_keycodes, char output_ch[], in input_keycodes_to_ascii() argument
460 for (i = 0; i < num_keycodes; i++) { in input_keycodes_to_ascii()
470 for (i = same; i < num_keycodes; i++) { in input_keycodes_to_ascii()
508 int num_keycodes, bool do_send) in _input_send_keycodes() argument
510 char ch[num_keycodes * ANSI_CHAR_MAX]; in _input_send_keycodes()
[all …]
H A Dcros_ec_keyb.c107 int num_keys, num_keycodes; in cros_ec_kbc_check() local
140 num_keycodes = key_matrix_decode(&priv->matrix, keys, in cros_ec_kbc_check()
142 sent = input_send_keycodes(input, keycodes, num_keycodes); in cros_ec_kbc_check()
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A Dtm2-touchkey.c54 int num_keycodes; member
153 if (index < 0 || index >= touchkey->num_keycodes) { in tm2_touchkey_irq_handler()
160 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_irq_handler()
218 touchkey->num_keycodes = of_property_read_variable_u32_array(np, in tm2_touchkey_probe()
221 if (touchkey->num_keycodes <= 0) { in tm2_touchkey_probe()
225 touchkey->num_keycodes = 2; in tm2_touchkey_probe()
252 for (i = 0; i < touchkey->num_keycodes; i++) in tm2_touchkey_probe()
/OK3568_Linux_fs/external/xserver/test/xi2/
H A Dprotocol-xiquerydevice.c169 swaps(&ki->num_keycodes); in reply_XIQueryDevice_data()
172 assert(ki->num_keycodes == in reply_XIQueryDevice_data()
174 assert(any->length == (2 + ki->num_keycodes)); in reply_XIQueryDevice_data()
177 for (k = 0; k < ki->num_keycodes; k++, kc++) { in reply_XIQueryDevice_data()
H A Dprotocol-eventconvert.c691 swaps(&k->num_keycodes); in test_values_XIDeviceChangedEvent()
695 bytes_to_int32(sizeof(xXIKeyInfo)) + k->num_keycodes); in test_values_XIDeviceChangedEvent()
696 assert(k->num_keycodes == in->keys.max_keycode - in test_values_XIDeviceChangedEvent()
700 for (j = 0; j < k->num_keycodes; j++) { in test_values_XIDeviceChangedEvent()
/OK3568_Linux_fs/external/xserver/Xi/
H A Dxiquerydevice.c318 info->num_keycodes = xkb->max_key_code - xkb->min_key_code + 1; in ListKeyInfo()
319 info->length = sizeof(xXIKeyInfo) / 4 + info->num_keycodes; in ListKeyInfo()
339 for (i = 0, key = (uint32_t *) &info[1]; i < info->num_keycodes; in SwapKeyInfo()
343 swaps(&info->num_keycodes); in SwapKeyInfo()
H A Dextinit.c652 for (j = 0; j < ki->num_keycodes; j++, key++) in SDeviceChangedEvent()
654 swaps(&ki->num_keycodes); in SDeviceChangedEvent()
/OK3568_Linux_fs/external/xserver/dix/
H A Deventconvert.c458 info->num_keycodes = dce->keys.max_keycode - dce->keys.min_keycode + 1; in appendKeyInfo()
459 info->length = sizeof(xXIKeyInfo) / 4 + info->num_keycodes; in appendKeyInfo()
463 for (i = 0; i < info->num_keycodes; i++) in appendKeyInfo()
/OK3568_Linux_fs/external/xserver/hw/xquartz/
H A DquartzKeyboard.c761 int num_keycodes = NUM_KEYCODES; in QuartzReadSystemKeymap() local
802 for (i = 0; i < num_keycodes; i++) { in QuartzReadSystemKeymap()
/OK3568_Linux_fs/external/xserver/include/
H A Dxkbstr.h576 int num_keycodes; member