Lines Matching defs:usage
184 * HID usage tables
346 unsigned usage[HID_MAX_USAGES]; /* usage array */
361 unsigned usage;
366 unsigned hid; /* hid usage code */
379 unsigned physical; /* physical usage for this field */
380 unsigned logical; /* logical usage for this field */
381 unsigned application; /* application usage for this field */
382 struct hid_usage *usage; /* usage table for this function */
383 unsigned maxusage; /* maximum usage index */
590 * @event: if usage in usage_table, this hook is called (NULL means nop)
592 * @input_mapping: invoked on input registering before mapping an usage
593 * @input_mapped: invoked on input registering after mapping an usage
601 * input_mapping shall return a negative value to completely ignore this usage
602 * (e.g. doubled or invalid usage), zero to continue with parsing of this
603 * usage by generic code (no special handling needed) or positive to skip
605 * input_mapped shall return negative to inform the layer that this usage
626 struct hid_usage *usage, __s32 value);
633 struct hid_usage *usage, unsigned long **bit, int *max);
636 struct hid_usage *usage, unsigned long **bit, int *max);
674 /* Applications from HID Usage Tables 4/8/99 Version 1.1 */
710 * hid_map_usage - map usage input bits
713 * @usage: usage to fill in
715 * @max: maximal valid usage->code to consider later (out parameter)
717 * @c: code which corresponds to this usage and type
720 struct hid_usage *usage, unsigned long **bit, int *max,
725 usage->type = type;
726 usage->code = c;
749 * hid_map_usage_clear - map usage input bits and clear the input bit
755 struct hid_usage *usage, unsigned long **bit, int *max,
758 hid_map_usage(hidinput, usage, bit, max, type, c);