Lines Matching refs:report_enum
60 struct hid_report_enum *report_enum = device->report_enum + type; in hid_register_report() local
63 if (report_enum->report_id_hash[id]) in hid_register_report()
64 return report_enum->report_id_hash[id]; in hid_register_report()
70 report_enum->numbered = 1; in hid_register_report()
76 report_enum->report_id_hash[id] = report; in hid_register_report()
78 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
548 struct hid_report_enum *report_enum = device->report_enum + i; in hid_device_release() local
551 struct hid_report *report = report_enum->report_id_hash[j]; in hid_device_release()
1004 static struct hid_report *hid_get_report(struct hid_report_enum *report_enum, in hid_get_report() argument
1011 if (report_enum->numbered) in hid_get_report()
1014 report = report_enum->report_id_hash[n]; in hid_get_report()
1024 struct hid_report_enum *report_enum = hid->report_enum + type; in hid_report_raw_event() local
1030 report = hid_get_report(report_enum, data); in hid_report_raw_event()
1034 if (report_enum->numbered) { in hid_report_raw_event()
1051 if (report_enum->numbered) in hid_report_raw_event()
1078 struct hid_report_enum *report_enum = hid->report_enum + type; in hid_input_report() local
1092 dbg_hid("report (size %u) (%snumbered)\n", size, report_enum->numbered ? "" : "un"); in hid_input_report()
1094 report = hid_get_report(report_enum, data); in hid_input_report()
1751 INIT_LIST_HEAD(&hdev->report_enum[i].report_list); in hid_allocate_device()