Home
last modified time | relevance | path

Searched refs:usage_index (Results 1 – 4 of 4) sorted by relevance

/linux-2.4.37.9/drivers/usb/
Dhiddev.c138 uref->usage_index = j; in hiddev_lookup_usage()
186 uref.usage_index = (usage - field->usage); in hiddev_hid_event()
577 if (uref->usage_index >= field->maxusage) in hiddev_ioctl()
580 uref->usage_code = field->usage[uref->usage_index].hid; in hiddev_ioctl()
619 if (uref->usage_index >= field->maxusage) in hiddev_ioctl()
624 uref->usage_index >= field->maxusage || in hiddev_ioctl()
625 (uref->usage_index + uref_multi.num_values) >= field->maxusage) in hiddev_ioctl()
632 uref->value = field->value[uref->usage_index]; in hiddev_ioctl()
636 field->value[uref->usage_index] = uref->value; in hiddev_ioctl()
640 return field->usage[uref->usage_index].collection_index; in hiddev_ioctl()
[all …]
Dhid-core.c206 if (parser->local.usage_index >= HID_MAX_USAGES) { in hid_add_usage()
210 parser->local.usage[parser->local.usage_index] = usage; in hid_add_usage()
211 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage()
214 parser->local.usage_index++; in hid_add_usage()
241 usages = parser->local.usage_index; in hid_add_field()
262 if (i >= parser->local.usage_index) in hid_add_field()
263 j = parser->local.usage_index - 1; in hid_add_field()
Dhid.h224 unsigned usage_index; member
/linux-2.4.37.9/include/linux/
Dhiddev.h124 __u32 usage_index; member