Home
last modified time | relevance | path

Searched refs:maxusage (Results 1 – 17 of 17) sorted by relevance

/Linux-v6.1/drivers/hid/usbhid/
Dhiddev.c126 for (j = 0; j < field->maxusage; j++) { in hiddev_lookup_usage()
463 if (uref->usage_index >= field->maxusage) in hiddev_ioctl_usage()
466 field->maxusage); in hiddev_ioctl_usage()
499 if (uref->usage_index >= field->maxusage) in hiddev_ioctl_usage()
503 field->maxusage); in hiddev_ioctl_usage()
771 finfo.maxusage = field->maxusage; in hiddev_ioctl()
Dhid-pidff.c766 if (report->field[i]->maxusage != in pidff_find_fields()
771 for (j = 0; j < report->field[i]->maxusage; j++) { in pidff_find_fields()
902 for (j = 0; j < fld->maxusage; j++) { in pidff_find_special_keys()
Dhid-core.c811 for (j = 0; j < field->maxusage; j++) { in hid_find_field_early()
/Linux-v6.1/drivers/hid/
Dhid-input.c143 for (j = 0; j < report->field[i]->maxusage; j++) { in hidinput_find_key()
1629 usage->usage_index < field->maxusage && in hidinput_hid_event()
1668 for (j = 0; j < (*field)->maxusage; j++) in hidinput_find_field()
1687 for (j = 0; j < field->maxusage; j++) in hidinput_get_led_field()
1708 for (j = 0; j < field->maxusage; j++) in hidinput_count_leds()
1827 for (j = 0; j < report->field[i]->maxusage; j++) { in __hidinput_change_resolution_multipliers()
1900 for (j = 0; j < rep->field[i]->maxusage; j++) { in report_features()
2133 if (field->maxusage < 1) in hidinput_configure_usages()
2154 for (j = 0; j < field->maxusage; j++) { in hidinput_configure_usages()
2171 for (j = 0; j < report->field[i]->maxusage; j++) in hidinput_configure_usages()
Dhid-pl.c123 } else if (report->field[0]->maxusage == 1 && in plff_init()
Dhid-debug.c577 tab(n, f); seq_printf(f, "Usage(%d)\n", field->maxusage); in hid_dump_field()
578 for (j = 0; j < field->maxusage; j++) { in hid_dump_field()
1074 for ( j = 0; j < report->field[i]->maxusage; j++) { in hid_dump_input_mapping()
Dhid-tmff.c147 if (field->maxusage <= 0) in tmff_init()
Dhid-sensor-hub.c364 for (i = 0; i < field->maxusage; ++i) { in hid_sensor_get_usage_index()
399 if (field->maxusage) { in sensor_hub_input_get_attribute_info()
Dwacom_sys.c100 for (j = 0; j < report->field[i]->maxusage; j++) { in wacom_wac_pen_serial_enforce()
238 if (i-4 >= 0 && i+1 < field->maxusage && in wacom_hid_usage_quirk()
262 if (a->maxusage > 0 && in wacom_hid_usage_quirk()
265 b->maxusage > 0 && in wacom_hid_usage_quirk()
521 for (j = 0; j < hreport->field[i]->maxusage; j++) { in wacom_parse_hid()
536 for (j = 0; j < hreport->field[i]->maxusage; j++) in wacom_parse_hid()
Dhid-google-hammer.c436 for (j = 0; j < field->maxusage; j++) in hammer_has_usage()
Dhid-core.c326 field->maxusage = usages; in hid_add_field()
1074 for (i = 0; i < field->maxusage; i++) { in hid_apply_multiplier_to_field()
1172 for (j = 0; j < rep->field[i]->maxusage; j++) { in hid_setup_resolution_multiplier()
1550 value - min < field->maxusage; in hid_array_value_is_valid()
Dhid-picolcd_fb.c198 for (j = 0; j < report->field[0]->maxusage; j++) in picolcd_fb_reset()
Dhid-sensor-custom.c540 if (field->maxusage && in hid_sensor_custom_add_fields()
Dhid-multitouch.c1530 for (j = 0; j < rep->field[i]->maxusage; j++) { in mt_set_modes()
1662 if (report->field[i]->maxusage >= 1) in mt_fix_const_fields()
Dwacom_wac.c2778 for (j = 0; j < field->maxusage; j++) { in wacom_wac_finger_pre_report()
/Linux-v6.1/include/uapi/linux/
Dhiddev.h95 __u32 maxusage; member
/Linux-v6.1/include/linux/
Dhid.h463 unsigned maxusage; /* maximum usage index */ member