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 …]
230 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()234 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()241 complete_usage(parser, parser->local.usage_index); in hid_add_usage()243 parser->local.usage_size[parser->local.usage_index] = size; in hid_add_usage()244 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()247 parser->local.usage_index++; in hid_add_usage()299 if (!parser->local.usage_index) /* Ignore padding fields */ in hid_add_field()302 usages = max_t(unsigned, parser->local.usage_index, in hid_add_field()316 if (i >= parser->local.usage_index) in hid_add_field()317 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()
688 struct hid_usage *usage, unsigned int usage_index) in hidinput_configure_usage() argument717 field->usages_priorities[usage_index] = in hidinput_configure_usage()728 field->usages_priorities[usage_index] |= in hidinput_configure_usage()731 field->usages_priorities[usage_index] |= in hidinput_configure_usage()1722 usage->usage_index < field->maxusage && in hidinput_hid_event()1723 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()
672 switch (usage->usage_index) { in navigation_mapping()718 switch (usage->usage_index) { in sixaxis_mapping()
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()
366 return field->usage[i].usage_index; in hid_sensor_get_usage_index()
2636 wacom_wac->hid_data.cc_value_index = usage->usage_index; in wacom_wac_finger_usage_mapping()2759 if (usage->usage_index + 1 == field->report_count) { in wacom_wac_finger_event()
125 __u32 usage_index; member
449 unsigned usage_index; member470 unsigned usage_index; /* index into usage array */ member