Lines Matching refs:usage_index
138 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()
644 field->value[uref->usage_index + i]; in hiddev_ioctl()
651 field->value[uref->usage_index + i] = in hiddev_ioctl()