Searched refs:usage_index (Results 1 – 13 of 13) sorted by relevance
130 uref->usage_index = j; in hiddev_lookup_usage()178 uref.usage_index = (usage - field->usage); in hiddev_hid_event()463 if (uref->usage_index >= field->maxusage) in hiddev_ioctl_usage()465 uref->usage_index = array_index_nospec(uref->usage_index, in hiddev_ioctl_usage()468 uref->usage_code = field->usage[uref->usage_index].hid; in hiddev_ioctl_usage()499 if (uref->usage_index >= field->maxusage) in hiddev_ioctl_usage()501 uref->usage_index = in hiddev_ioctl_usage()502 array_index_nospec(uref->usage_index, in hiddev_ioctl_usage()504 } else if (uref->usage_index >= field->report_count) in hiddev_ioctl_usage()510 uref->usage_index + uref_multi->num_values > in hiddev_ioctl_usage()[all …]
235 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()239 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()246 complete_usage(parser, parser->local.usage_index); in hid_add_usage()248 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage()249 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()252 parser->local.usage_index++; in hid_add_usage()300 if (!parser->local.usage_index) /* Ignore padding fields */ in hid_add_field()303 usages = max_t(unsigned, parser->local.usage_index, in hid_add_field()317 if (i >= parser->local.usage_index) in hid_add_field()318 j = parser->local.usage_index - 1; in hid_add_field()[all …]
33 usage->usage_index, in jabra_input_mapping()
498 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()504 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) in mt_feature_mapping()510 if (usage->usage_index == 0) in mt_feature_mapping()712 &field->value[usage->usage_index], \737 if (usage->usage_index) in mt_touch_input_mapping()738 prev_usage = &field->usage[usage->usage_index - 1]; in mt_touch_input_mapping()849 app->scantime = &field->value[usage->usage_index]; in mt_touch_input_mapping()854 app->raw_cc = &field->value[usage->usage_index]; in mt_touch_input_mapping()1451 unsigned int index = usage->usage_index; in mt_need_to_apply_feature()
96 field->value[usage->usage_index]; in vivaldi_feature_mapping()
638 struct hid_usage *usage, unsigned int usage_index) in hidinput_configure_usage() argument667 field->usages_priorities[usage_index] = in hidinput_configure_usage()678 field->usages_priorities[usage_index] |= in hidinput_configure_usage()681 field->usages_priorities[usage_index] |= in hidinput_configure_usage()1629 usage->usage_index < field->maxusage && in hidinput_hid_event()1630 value == field->value[usage->usage_index]) in hidinput_hid_event()
366 switch (usage->usage_index) { in lenovo_input_mapping_tp10_ultrabook_kbd()404 switch (usage->usage_index) { in lenovo_input_mapping_x1_tab_kbd()
366 return field->usage[i].usage_index; in hid_sensor_get_usage_index()
241 int i = usage->usage_index; in wacom_hid_usage_quirk()339 if (usage->usage_index >= field->report_count) { in wacom_feature_mapping()345 hid_data->inputmode_index = usage->usage_index; in wacom_feature_mapping()
834 switch (usage->usage_index) { in navigation_mapping()880 switch (usage->usage_index) { in sixaxis_mapping()
2564 wacom_wac->hid_data.cc_value_index = usage->usage_index; in wacom_wac_finger_usage_mapping()2705 if (usage->usage_index + 1 == field->report_count) { in wacom_wac_finger_event()
125 __u32 usage_index; member
431 unsigned usage_index; member452 unsigned usage_index; /* index into usage array */ member