Home
last modified time | relevance | path

Searched refs:HID_MAX_USAGES (Results 1 – 3 of 3) sorted by relevance

/kernel/linux/linux-5.10/drivers/hid/
Dhid-cougar.c110 (rdesc[115] | rdesc[116] << 8) >= HID_MAX_USAGES) { in cougar_report_fixup()
113 rdesc[115] = ((HID_MAX_USAGES-1) & 0xff); in cougar_report_fixup()
114 rdesc[116] = ((HID_MAX_USAGES-1) >> 8); in cougar_report_fixup()
Dhid-core.c232 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
446 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
533 if (count + parser->local.usage_index >= HID_MAX_USAGES) { in hid_parser_local()
541 data = HID_MAX_USAGES - parser->local.usage_index + in hid_parser_local()
/kernel/linux/linux-5.10/include/linux/
Dhid.h410 #define HID_MAX_USAGES 12288 macro
414 unsigned usage[HID_MAX_USAGES]; /* usage array */
415 u8 usage_size[HID_MAX_USAGES]; /* usage size array */
416 unsigned collection_index[HID_MAX_USAGES]; /* collection index array */