Home
last modified time | relevance | path

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

/linux-6.1.9/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.c235 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
449 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
536 if (count + parser->local.usage_index >= HID_MAX_USAGES) { in hid_parser_local()
544 data = HID_MAX_USAGES - parser->local.usage_index + in hid_parser_local()
/linux-6.1.9/include/linux/
Dhid.h415 #define HID_MAX_USAGES 12288 macro
419 unsigned usage[HID_MAX_USAGES]; /* usage array */
420 u8 usage_size[HID_MAX_USAGES]; /* usage size array */
421 unsigned collection_index[HID_MAX_USAGES]; /* collection index array */