Lines Matching refs:report_enum
61 struct hid_report_enum *report_enum = device->report_enum + type; in hid_register_report() local
66 if (report_enum->report_id_hash[id]) in hid_register_report()
67 return report_enum->report_id_hash[id]; in hid_register_report()
74 report_enum->numbered = 1; in hid_register_report()
81 report_enum->report_id_hash[id] = report; in hid_register_report()
83 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report()
678 struct hid_report_enum *report_enum = device->report_enum + i; in hid_close_report() local
681 struct hid_report *report = report_enum->report_id_hash[j]; in hid_close_report()
685 memset(report_enum, 0, sizeof(*report_enum)); in hid_close_report()
686 INIT_LIST_HEAD(&report_enum->report_list); in hid_close_report()
997 hid->report_enum[type].report_list.next, in hid_validate_values()
1000 report = hid->report_enum[type].report_id_hash[id]; in hid_validate_values()
1124 rep_enum = &hid->report_enum[HID_INPUT_REPORT]; in hid_apply_multiplier()
1165 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; in hid_setup_resolution_multiplier()
1799 struct hid_report_enum *report_enum = &hid->report_enum[HID_INPUT_REPORT]; in hid_process_ordering() local
1801 list_for_each_entry(report, &report_enum->report_list, list) in hid_process_ordering()
1905 static struct hid_report *hid_get_report(struct hid_report_enum *report_enum, in hid_get_report() argument
1912 if (report_enum->numbered) in hid_get_report()
1915 report = report_enum->report_id_hash[n]; in hid_get_report()
1963 struct hid_report_enum *report_enum = hid->report_enum + type; in hid_report_raw_event() local
1970 report = hid_get_report(report_enum, data); in hid_report_raw_event()
1974 if (report_enum->numbered) { in hid_report_raw_event()
1981 if (report_enum->numbered && rsize >= HID_MAX_BUFFER_SIZE) in hid_report_raw_event()
2028 struct hid_report_enum *report_enum; in hid_input_report() local
2043 report_enum = hid->report_enum + type; in hid_input_report()
2056 report = hid_get_report(report_enum, data); in hid_input_report()