Home
last modified time | relevance | path

Searched refs:report_enum (Results 1 - 25 of 88) sorted by relevance

1234

/kernel/linux/linux-5.10/drivers/hid/
H A Dhid-core.c61 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()
677 struct hid_report_enum *report_enum = device->report_enum + i; in hid_close_report() local
680 struct hid_report *report = report_enum in hid_close_report()
1704 hid_get_report(struct hid_report_enum *report_enum, const u8 *data) hid_get_report() argument
1762 struct hid_report_enum *report_enum = hid->report_enum + type; hid_report_raw_event() local
1832 struct hid_report_enum *report_enum; hid_input_report() local
[all...]
H A Dhid-lg3ff.c52 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()
H A Dhid-debug.c622 struct hid_report_enum *report_enum; in hid_dump_device() local
629 report_enum = device->report_enum + i; in hid_dump_device()
630 list = report_enum->report_list.next; in hid_dump_device()
631 while (list != &report_enum->report_list) { in hid_dump_device()
668 struct hid_report_enum *report_enum; in hid_dump_report() local
677 report_enum = hid->report_enum + type; in hid_dump_report()
682 report_enum->numbered ? "" : "un"); in hid_dump_report()
1023 list_for_each_entry(report, &hid->report_enum[ in hid_dump_input_mapping()
[all...]
H A Dhid-lgff.c60 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 Dhid-sensor-hub.c61 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { in sensor_hub_report()
385 struct hid_report_enum *report_enum; in sensor_hub_input_get_attribute_info() local
396 report_enum = &hdev->report_enum[type]; in sensor_hub_input_get_attribute_info()
397 list_for_each_entry(report, &report_enum->report_list, list) { in sensor_hub_input_get_attribute_info()
H A Dhid-emsff.c52 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in emsff_init()
H A Dhid-mf.c62 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in mf_init()
H A Dhid-betopff.c61 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in betopff_init()
/kernel/linux/linux-5.10/drivers/hid/usbhid/
H A Dhiddev.c60 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 in hiddev_lookup_usage()
[all...]
H A Dhid-core.c773 struct hid_report_enum *report_enum; in usbhid_init_reports() local
776 report_enum = &hid->report_enum[HID_INPUT_REPORT]; in usbhid_init_reports()
777 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports()
780 report_enum = &hid->report_enum[HID_FEATURE_REPORT]; in usbhid_init_reports()
781 list_for_each_entry(report, &report_enum->report_list, list) in usbhid_init_reports()
810 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { in hid_find_field_early()
846 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { in hid_find_max_report()
847 size = ((report->size - 1) >> 3) + 1 + hid->report_enum[typ in hid_find_max_report()
[all...]
/kernel/linux/linux-6.6/drivers/hid/usbhid/
H A Dhiddev.c60 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 in hiddev_lookup_usage()
[all...]
H A Dhid-core.c771 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[typ in hid_find_max_report()
[all...]
/kernel/linux/linux-6.6/drivers/hid/
H A Dhid-core.c56 struct hid_report_enum *report_enum = device->report_enum + type; in hid_register_report() local
61 if (report_enum->report_id_hash[id]) in hid_register_report()
62 return report_enum->report_id_hash[id]; in hid_register_report()
69 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()
677 struct hid_report_enum *report_enum = device->report_enum + i; in hid_close_report() local
680 struct hid_report *report = report_enum in hid_close_report()
1810 struct hid_report_enum *report_enum = &hid->report_enum[HID_INPUT_REPORT]; hid_process_ordering() local
1916 hid_get_report(struct hid_report_enum *report_enum, const u8 *data) hid_get_report() argument
1974 struct hid_report_enum *report_enum = hid->report_enum + type; hid_report_raw_event() local
2043 struct hid_report_enum *report_enum; hid_input_report() local
[all...]
H A Dhid-lg3ff.c52 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()
H A Dhid-debug.c659 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()
1076 list_for_each_entry(report, &hid->report_enum[ in hid_dump_input_mapping()
[all...]
H A Dhid-lgff.c60 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 Dhid-sensor-hub.c60 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 Dhid-betopff.c61 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in betopff_init()
H A Dhid-emsff.c52 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in emsff_init()
H A Dhid-mf.c62 &hid->report_enum[HID_OUTPUT_REPORT].report_list; in mf_init()
H A Dhid-magicmouse.c761 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()
/kernel/linux/linux-6.6/drivers/hid/bpf/
H A Dhid_bpf_dispatch.c199 struct hid_report_enum *report_enum = hdev->report_enum + i; in __hid_bpf_allocate_data() local
202 struct hid_report *report = report_enum->report_id_hash[j]; in __hid_bpf_allocate_data()
406 struct hid_report_enum *report_enum; in hid_bpf_hw_request() local
441 report_enum = hdev->report_enum + rtype; in hid_bpf_hw_request()
442 report = hid_bpf_ops->hid_get_report(report_enum, buf); in hid_bpf_hw_request()
/kernel/linux/linux-5.10/drivers/staging/greybus/
H A Dhid.c155 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()
/kernel/linux/linux-6.6/drivers/staging/greybus/
H A Dhid.c155 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()
/kernel/linux/linux-6.6/include/linux/
H A Dhid_bpf.h112 struct hid_report *(*hid_get_report)(struct hid_report_enum *report_enum, const u8 *data);

Completed in 21 milliseconds

1234