Lines Matching refs:field_index
129 uref->field_index = i; in hiddev_lookup_usage()
149 if (uref->field_index != HID_FIELD_INDEX_NONE || in hiddev_send_event()
177 uref.field_index = field->index; in hiddev_hid_event()
197 uref.field_index = HID_FIELD_INDEX_NONE; in hiddev_report_event()
377 if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE) { in hiddev_read()
389 if (list->buffer[list->tail].field_index != HID_FIELD_INDEX_NONE || in hiddev_read()
457 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage()
459 uref->field_index = array_index_nospec(uref->field_index, in hiddev_ioctl_usage()
462 field = report->field[uref->field_index]; in hiddev_ioctl_usage()
491 if (uref->field_index >= report->maxfield) in hiddev_ioctl_usage()
493 uref->field_index = array_index_nospec(uref->field_index, in hiddev_ioctl_usage()
496 field = report->field[uref->field_index]; in hiddev_ioctl_usage()
761 if (finfo.field_index >= report->maxfield) in hiddev_ioctl()
763 finfo.field_index = array_index_nospec(finfo.field_index, in hiddev_ioctl()
766 field = report->field[finfo.field_index]; in hiddev_ioctl()
770 finfo.field_index = field->report_count - 1; in hiddev_ioctl()