Lines Matching defs:report_enum
56 struct hid_report_enum *report_enum = device->report_enum + type;
61 if (report_enum->report_id_hash[id])
62 return report_enum->report_id_hash[id];
69 report_enum->numbered = 1;
76 report_enum->report_id_hash[id] = report;
78 list_add_tail(&report->list, &report_enum->report_list);
677 struct hid_report_enum *report_enum = device->report_enum + i;
680 struct hid_report *report = report_enum->report_id_hash[j];
684 memset(report_enum, 0, sizeof(*report_enum));
685 INIT_LIST_HEAD(&report_enum->report_list);
1004 &hid->report_enum[type].report_list,
1007 report = hid->report_enum[type].report_id_hash[id];
1131 rep_enum = &hid->report_enum[HID_INPUT_REPORT];
1172 rep_enum = &hid->report_enum[HID_FEATURE_REPORT];
1810 struct hid_report_enum *report_enum = &hid->report_enum[HID_INPUT_REPORT];
1812 list_for_each_entry(report, &report_enum->report_list, list)
1916 static struct hid_report *hid_get_report(struct hid_report_enum *report_enum,
1923 if (report_enum->numbered)
1926 report = report_enum->report_id_hash[n];
1974 struct hid_report_enum *report_enum = hid->report_enum + type;
1982 report = hid_get_report(report_enum, data);
1986 if (report_enum->numbered) {
1996 if (report_enum->numbered && rsize >= max_buffer_size)
2043 struct hid_report_enum *report_enum;
2058 report_enum = hid->report_enum + type;
2077 report = hid_get_report(report_enum, data);