| /linux/drivers/hid/ |
| H A D | hid-core.c | 91 struct hid_report_enum *report_enum = device->report_enum + type; in hid_register_report() local 96 if (report_enum->report_id_hash[id]) in hid_register_report() 97 return report_enum->report_id_hash[id]; in hid_register_report() 104 report_enum->numbered = 1; in hid_register_report() 111 report_enum->report_id_hash[id] = report; in hid_register_report() 113 list_add_tail(&report->list, &report_enum->report_list); in hid_register_report() 716 struct hid_report_enum *report_enum = device->report_enum + i; in hid_close_report() local 719 struct hid_report *report = report_enum->report_id_hash[j]; in hid_close_report() 723 memset(report_enum, 0, sizeof(*report_enum)); in hid_close_report() 724 INIT_LIST_HEAD(&report_enum->report_list); in hid_close_report() [all …]
|
| H A D | hid-debug.c | 3054 struct hid_report_enum *report_enum; in hid_dump_device() local 3061 report_enum = device->report_enum + i; in hid_dump_device() 3062 list = report_enum->report_list.next; in hid_dump_device() 3063 while (list != &report_enum->report_list) { in hid_dump_device() 3100 struct hid_report_enum *report_enum; in hid_dump_report() local 3109 report_enum = hid->report_enum + type; in hid_dump_report() 3114 report_enum->numbered ? "" : "un"); in hid_dump_report() 3639 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hid_dump_input_mapping()
|
| H A D | hid-lg3ff.c | 48 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_play() 86 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in hid_lg3ff_set_autocenter()
|
| H A D | hid-apple.c | 624 struct hid_report_enum *report_enum; in apple_fetch_battery() local 632 report_enum = &hdev->report_enum[bat->report_type]; in apple_fetch_battery() 633 report = report_enum->report_id_hash[bat->report_id]; in apple_fetch_battery() 784 list_for_each_entry(report, &hdev->report_enum[HID_INPUT_REPORT].report_list, list) { in apple_backlight_check_support() 908 struct hid_report_enum *report_enum; in apple_magic_backlight_init() local 921 report_enum = &hdev->report_enum[HID_FEATURE_REPORT]; in apple_magic_backlight_init() 922 backlight->brightness = report_enum->report_id_hash[APPLE_MAGIC_REPORT_ID_BRIGHTNESS]; in apple_magic_backlight_init() 923 backlight->power = report_enum->report_id_hash[APPLE_MAGIC_REPORT_ID_POWER]; in apple_magic_backlight_init()
|
| H A 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()
|
| H A 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()
|
| H A D | hid-betopff.c | 61 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in betopff_init()
|
| H A D | hid-mf.c | 62 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in mf_init()
|
| H A D | hid-holtekff.c | 129 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in holtekff_init()
|
| H A D | hid-emsff.c | 52 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in emsff_init()
|
| H A D | hid-input.c | 141 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_find_key() 1789 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hidinput_find_field() 1807 &hid->report_enum[HID_OUTPUT_REPORT].report_list, in hidinput_get_led_field() 1828 &hid->report_enum[HID_OUTPUT_REPORT].report_list, in hidinput_count_leds() 1988 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; in hidinput_change_resolution_multipliers() 2015 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; in report_features() 2188 list_for_each_entry(report, &hid->report_enum[k].report_list, in hidinput_cleanup_hidinput() 2338 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { in hidinput_connect()
|
| H A D | hid-magicmouse.c | 818 struct hid_report_enum *report_enum; in magicmouse_fetch_battery() local 828 report_enum = &hdev->report_enum[bat->report_type]; in magicmouse_fetch_battery() 829 report = report_enum->report_id_hash[bat->report_id]; in magicmouse_fetch_battery()
|
| H A D | hid-sjoy.c | 57 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in sjoyff_init()
|
| H A D | hid-gaff.c | 69 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in gaff_init()
|
| H A D | hid-axff.c | 67 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list; in axff_init()
|
| H A 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()
|
| H A 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()
|
| H A D | hid-dr.c | 80 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in drff_init()
|
| H A D | hid-tmff.c | 140 report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; in tmff_init()
|
| H A 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()
|
| H A D | wacom_sys.c | 532 rep_enum = &hdev->report_enum[HID_FEATURE_REPORT]; in wacom_parse_hid() 547 rep_enum = &hdev->report_enum[HID_INPUT_REPORT]; in wacom_parse_hid() 572 re = &(hdev->report_enum[HID_FEATURE_REPORT]); in wacom_hid_set_device_mode() 593 re = &(hdev->report_enum[HID_FEATURE_REPORT]); in wacom_set_device_mode() 2249 struct hid_report_enum *report_enum; in wacom_compute_pktlen() local 2253 report_enum = hdev->report_enum + HID_INPUT_REPORT; in wacom_compute_pktlen() 2255 list_for_each_entry(report, &report_enum->report_list, list) { in wacom_compute_pktlen()
|
| /linux/drivers/hid/usbhid/ |
| H A 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()
|
| /linux/drivers/hid/bpf/ |
| H A D | hid_bpf_dispatch.c | 233 struct hid_report_enum *report_enum = hdev->report_enum + i; in __hid_bpf_allocate_data() local 236 struct hid_report *report = report_enum->report_id_hash[j]; in __hid_bpf_allocate_data() 359 struct hid_report_enum *report_enum; in __hid_bpf_hw_check_params() local 379 report_enum = ctx->hid->report_enum + rtype; in __hid_bpf_hw_check_params() 380 report = hid_ops->hid_get_report(report_enum, buf); in __hid_bpf_hw_check_params()
|
| /linux/drivers/staging/greybus/ |
| H A 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()
|
| /linux/include/linux/ |
| H A D | hid_bpf.h | 66 struct hid_report *(*hid_get_report)(struct hid_report_enum *report_enum, const u8 *data);
|