| /Linux-v6.1/drivers/hid/ |
| D | hid-core.c | 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() [all …]
|
| D | hid-debug.c | 659 struct hid_report_enum *report_enum; in hid_dump_device() local 666 report_enum = device->report_enum + i; in hid_dump_device() 667 list = report_enum->report_list.next; in hid_dump_device() 668 while (list != &report_enum->report_list) { in hid_dump_device() 705 struct hid_report_enum *report_enum; in hid_dump_report() local 714 report_enum = hid->report_enum + type; in hid_dump_report() 719 report_enum->numbered ? "" : "un"); in hid_dump_report() 1072 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hid_dump_input_mapping()
|
| D | hid-lg3ff.c | 52 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_play() 90 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_set_autocenter()
|
| D | hid-lgff.c | 60 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lgff_play() 102 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lgff_set_autocenter()
|
| D | hid-sensor-hub.c | 60 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report() 384 struct hid_report_enum *report_enum; in sensor_hub_input_get_attribute_info() local 395 report_enum = &hdev->report_enum[type]; in sensor_hub_input_get_attribute_info() 396 list_for_each_entry(report, &report_enum->report_list, list) { in sensor_hub_input_get_attribute_info()
|
| D | hid-betopff.c | 61 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in betopff_init()
|
| D | hid-magicmouse.c | 761 struct hid_report_enum *report_enum; in magicmouse_fetch_battery() local 769 report_enum = &hdev->report_enum[hdev->battery_report_type]; in magicmouse_fetch_battery() 770 report = report_enum->report_id_hash[hdev->battery_report_id]; in magicmouse_fetch_battery()
|
| D | hid-apple.c | 548 struct hid_report_enum *report_enum; in apple_fetch_battery() local 554 report_enum = &hdev->report_enum[hdev->battery_report_type]; in apple_fetch_battery() 555 report = report_enum->report_id_hash[hdev->battery_report_id]; in apple_fetch_battery() 711 list_for_each_entry(report, &hdev->report_enum[HID_INPUT_REPORT].report_list, list) { in apple_backlight_check_support()
|
| D | hid-mf.c | 62 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in mf_init()
|
| D | hid-emsff.c | 52 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in emsff_init()
|
| D | hid-holtekff.c | 129 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in holtekff_init()
|
| D | hid-input.c | 141 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_find_key() 1665 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hidinput_find_field() 1683 &hid->report_enum[HID_OUTPUT_REPORT].report_list, in hidinput_get_led_field() 1704 &hid->report_enum[HID_OUTPUT_REPORT].report_list, in hidinput_count_leds() 1866 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; in hidinput_change_resolution_multipliers() 1893 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; in report_features() 2066 list_for_each_entry(report, &hid->report_enum[k].report_list, in hidinput_cleanup_hidinput() 2216 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_connect()
|
| D | hid-sjoy.c | 57 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in sjoyff_init()
|
| D | hid-axff.c | 67 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list; in axff_init()
|
| D | hid-gaff.c | 69 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in gaff_init()
|
| D | hid-pl.c | 75 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in plff_init()
|
| D | hid-kye.c | 672 list = &hdev->report_enum[HID_FEATURE_REPORT].report_list; in kye_tablet_enable()
|
| D | hid-google-hammer.c | 425 struct hid_report_enum *re = &hdev->report_enum[report_type]; in hammer_has_usage() 464 report = hdev->report_enum[HID_INPUT_REPORT].report_id_hash[0x0]; in hammer_get_folded_state()
|
| D | hid-ntrig.c | 111 struct hid_report *report = hdev->report_enum[HID_FEATURE_REPORT]. in ntrig_get_mode() 131 report = hdev->report_enum[HID_FEATURE_REPORT]. in ntrig_set_mode() 935 report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; in ntrig_probe()
|
| D | hid-dr.c | 80 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in drff_init()
|
| D | hid-sensor-custom.c | 528 struct hid_report_enum *report_enum, in hid_sensor_custom_add_fields() argument 537 list_for_each_entry(report, &report_enum->report_list, list) { in hid_sensor_custom_add_fields() 574 &hdev->report_enum[j], j); in hid_sensor_custom_add_attributes()
|
| D | uhid.c | 138 if (hid->report_enum[HID_FEATURE_REPORT].numbered) in uhid_hid_start() 140 if (hid->report_enum[HID_OUTPUT_REPORT].numbered) in uhid_hid_start() 142 if (hid->report_enum[HID_INPUT_REPORT].numbered) in uhid_hid_start()
|
| /Linux-v6.1/drivers/hid/usbhid/ |
| D | hiddev.c | 60 struct hid_report_enum *report_enum; in hiddev_lookup_report() local 68 report_enum = hid->report_enum + in hiddev_lookup_report() 76 if (list_empty(&report_enum->report_list)) in hiddev_lookup_report() 79 list = report_enum->report_list.next; in hiddev_lookup_report() 85 report = report_enum->report_id_hash[rid]; in hiddev_lookup_report() 90 if (list == &report_enum->report_list) in hiddev_lookup_report() 101 return report_enum->report_id_hash[rinfo->report_id]; in hiddev_lookup_report() 113 struct hid_report_enum *report_enum; in hiddev_lookup_usage() local 120 report_enum = hid->report_enum + in hiddev_lookup_usage() 123 list_for_each_entry(report, &report_enum->report_list, list) { in hiddev_lookup_usage()
|
| D | hid-core.c | 771 struct hid_report_enum *report_enum; in usbhid_init_reports() local 774 report_enum = &hid->report_enum[HID_INPUT_REPORT]; in usbhid_init_reports() 775 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports() 778 report_enum = &hid->report_enum[HID_FEATURE_REPORT]; in usbhid_init_reports() 779 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports() 808 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hid_find_field_early() 844 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { in hid_find_max_report() 845 size = ((report->size - 1) >> 3) + 1 + hid->report_enum[type].numbered; in hid_find_max_report()
|
| /Linux-v6.1/drivers/staging/greybus/ |
| D | hid.c | 155 report->device->report_enum[report->type].numbered; in gb_hid_report_len() 164 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { in gb_hid_find_max_report() 213 &hid->report_enum[HID_INPUT_REPORT].report_list, in gb_hid_init_reports() 218 &hid->report_enum[HID_FEATURE_REPORT].report_list, in gb_hid_init_reports()
|