Lines Matching defs:report
50 * Find a report, given the report's type and ID. The ID can be specified
51 * indirectly by REPORT_ID_FIRST (which returns the first report of the given
52 * type) or by (REPORT_ID_NEXT | old_id), which returns the next report of the
61 struct hid_report *report;
80 report = list_entry(list, struct hid_report, list);
81 rinfo->report_id = report->id;
85 report = report_enum->report_id_hash[rid];
86 if (!report)
89 list = report->list.next;
93 report = list_entry(list, struct hid_report, list);
94 rinfo->report_id = report->id;
105 * Perform an exhaustive search of the report table for a usage, given its
112 struct hid_report *report;
123 list_for_each_entry(report, &report_enum->report_list, list) {
124 for (i = 0; i < report->maxfield; i++) {
125 field = report->field[i];
128 uref->report_id = report->id;
176 uref.report_id = field->report->id;
186 void hiddev_report_event(struct hid_device *hid, struct hid_report *report)
188 unsigned type = report->type;
196 uref.report_id = report->id;
433 struct hid_report *report;
454 if ((report = hiddev_lookup_report(hid, &rinfo)) == NULL)
457 if (uref->field_index >= report->maxfield)
460 report->maxfield);
462 field = report->field[uref->field_index];
488 if ((report = hiddev_lookup_report(hid, &rinfo)) == NULL)
491 if (uref->field_index >= report->maxfield)
494 report->maxfield);
496 field = report->field[uref->field_index];
603 struct hid_report *report;
703 report = hiddev_lookup_report(hid, &rinfo);
704 if (report == NULL)
707 hid_hw_request(hid, report, HID_REQ_GET_REPORT);
722 report = hiddev_lookup_report(hid, &rinfo);
723 if (report == NULL)
726 hid_hw_request(hid, report, HID_REQ_SET_REPORT);
738 report = hiddev_lookup_report(hid, &rinfo);
739 if (report == NULL)
742 rinfo.num_fields = report->maxfield;
757 report = hiddev_lookup_report(hid, &rinfo);
758 if (report == NULL)
761 if (finfo.field_index >= report->maxfield)
764 report->maxfield);
766 field = report->field[finfo.field_index];