Lines Matching refs:report_enum
63 struct hid_report_enum *report_enum = device->report_enum + type; in hid_register_report() local
68 if (report_enum->report_id_hash[id]) in hid_register_report()
69 return report_enum->report_id_hash[id]; in hid_register_report()
76 report_enum->numbered = 1; in hid_register_report()
82 report_enum->report_id_hash[id] = report; in hid_register_report()
84 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
598 struct hid_report_enum *report_enum = device->report_enum + i; in hid_close_report() local
601 struct hid_report *report = report_enum->report_id_hash[j]; in hid_close_report()
605 memset(report_enum, 0, sizeof(*report_enum)); in hid_close_report()
606 INIT_LIST_HEAD(&report_enum->report_list); in hid_close_report()
907 hid->report_enum[type].report_list.next, in hid_validate_values()
910 report = hid->report_enum[type].report_id_hash[id]; in hid_validate_values()
1370 static struct hid_report *hid_get_report(struct hid_report_enum *report_enum, in hid_get_report() argument
1377 if (report_enum->numbered) in hid_get_report()
1380 report = report_enum->report_id_hash[n]; in hid_get_report()
1425 struct hid_report_enum *report_enum = hid->report_enum + type; in hid_report_raw_event() local
1433 report = hid_get_report(report_enum, data); in hid_report_raw_event()
1437 if (report_enum->numbered) { in hid_report_raw_event()
1489 struct hid_report_enum *report_enum; in hid_input_report() local
1504 report_enum = hid->report_enum + type; in hid_input_report()
1517 report = hid_get_report(report_enum, data); in hid_input_report()