Searched refs:report_enum (Results 1 – 12 of 12) sorted by relevance
/drivers/hid/ |
D | hid-core.c | 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() [all …]
|
D | hid-lgff.c | 72 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lgff_play() 114 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lgff_set_autocenter() 131 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in lgff_init()
|
D | hid-debug.c | 467 struct hid_report_enum *report_enum; in hid_dump_device() local 477 report_enum = device->report_enum + i; in hid_dump_device() 478 list = report_enum->report_list.next; in hid_dump_device() 479 while (list != &report_enum->report_list) { in hid_dump_device()
|
D | hid-lg2ff.c | 69 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in lg2ff_init()
|
D | hid-zpff.c | 71 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in zpff_init()
|
D | hid-pl.c | 79 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in plff_init()
|
D | hid-gaff.c | 81 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in gaff_init()
|
D | hid-input.c | 93 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_find_key() 671 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hidinput_find_field() 730 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_connect()
|
D | hid-tmff.c | 139 report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in tmff_init()
|
/drivers/hid/usbhid/ |
D | hiddev.c | 83 struct hid_report_enum *report_enum; in hiddev_lookup_report() local 91 report_enum = hid->report_enum + in hiddev_lookup_report() 99 if (list_empty(&report_enum->report_list)) in hiddev_lookup_report() 102 list = report_enum->report_list.next; in hiddev_lookup_report() 108 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report() 113 if (list == &report_enum->report_list) in hiddev_lookup_report() 124 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report() 136 struct hid_report_enum *report_enum; in hiddev_lookup_usage() local 143 report_enum = hid->report_enum + in hiddev_lookup_usage() 146 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage()
|
D | hid-core.c | 573 list_for_each_entry(report, &hid->report_enum[HID_INPUT_REPORT].report_list, list) in usbhid_init_reports() 576 list_for_each_entry(report, &hid->report_enum[HID_FEATURE_REPORT].report_list, list) in usbhid_init_reports() 605 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hid_find_field_early() 642 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { in hid_find_max_report() 643 size = ((report->size - 1) >> 3) + 1 + hid->report_enum[type].numbered; in hid_find_max_report()
|
D | hid-pidff.c | 823 &hid->report_enum[report_type].report_list, list) { in pidff_find_reports() 1253 if (list_empty(&hid->report_enum[HID_OUTPUT_REPORT].report_list)) { in hid_pidff_init()
|