Searched refs:usage_index (Results 1 – 11 of 11) 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 …]
236 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()240 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()247 complete_usage(parser, parser->local.usage_index); in hid_add_usage()249 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage()250 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()253 parser->local.usage_index++; in hid_add_usage()305 if (!parser->local.usage_index) /* Ignore padding fields */ in hid_add_field()308 usages = max_t(unsigned, parser->local.usage_index, in hid_add_field()322 if (i >= parser->local.usage_index) in hid_add_field()323 j = parser->local.usage_index - 1; in hid_add_field()[all …]
33 usage->usage_index, in jabra_input_mapping()
499 if (usage->usage_index >= field->report_count) { in mt_feature_mapping()505 if (field->value[usage->usage_index] == MT_BUTTONTYPE_CLICKPAD) in mt_feature_mapping()511 if (usage->usage_index == 0) in mt_feature_mapping()713 &field->value[usage->usage_index], \738 if (usage->usage_index) in mt_touch_input_mapping()739 prev_usage = &field->usage[usage->usage_index - 1]; in mt_touch_input_mapping()850 app->scantime = &field->value[usage->usage_index]; in mt_touch_input_mapping()855 app->raw_cc = &field->value[usage->usage_index]; in mt_touch_input_mapping()1473 unsigned int index = usage->usage_index; in mt_need_to_apply_feature()
96 field->value[usage->usage_index]; in vivaldi_feature_mapping()
678 struct hid_usage *usage, unsigned int usage_index) in hidinput_configure_usage() argument707 field->usages_priorities[usage_index] = in hidinput_configure_usage()718 field->usages_priorities[usage_index] |= in hidinput_configure_usage()721 field->usages_priorities[usage_index] |= in hidinput_configure_usage()1708 usage->usage_index < field->maxusage && in hidinput_hid_event()1709 value == field->value[usage->usage_index]) in hidinput_hid_event()
371 switch (usage->usage_index) { in lenovo_input_mapping_tp10_ultrabook_kbd()409 switch (usage->usage_index) { in lenovo_input_mapping_x1_tab_kbd()
366 return field->usage[i].usage_index; in hid_sensor_get_usage_index()
239 int i = usage->usage_index; in wacom_hid_usage_quirk()337 if (usage->usage_index >= field->report_count) { in wacom_feature_mapping()343 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()
2633 wacom_wac->hid_data.cc_value_index = usage->usage_index; in wacom_wac_finger_usage_mapping()2756 if (usage->usage_index + 1 == field->report_count) { in wacom_wac_finger_event()