Home
last modified time | relevance | path

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

/linux-6.6.21/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.c230 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
448 if (parser->global.report_count > HID_MAX_USAGES) { in hid_parser_global()
535 if (count + parser->local.usage_index >= HID_MAX_USAGES) { in hid_parser_local()
543 data = HID_MAX_USAGES - parser->local.usage_index + in hid_parser_local()
/linux-6.6.21/include/linux/
Dhid.h442 #define HID_MAX_USAGES 12288 macro
446 unsigned usage[HID_MAX_USAGES]; /* usage array */
447 u8 usage_size[HID_MAX_USAGES]; /* usage size array */
448 unsigned collection_index[HID_MAX_USAGES]; /* collection index array */