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

/linux-4.1.27/drivers/hid/usbhid/
H A Dhiddev.c81 struct hid_report_enum *report_enum; hiddev_lookup_report() local
89 report_enum = hid->report_enum + hiddev_lookup_report()
97 if (list_empty(&report_enum->report_list)) hiddev_lookup_report()
100 list = report_enum->report_list.next; hiddev_lookup_report()
106 report = report_enum->report_id_hash[rid]; hiddev_lookup_report()
111 if (list == &report_enum->report_list) hiddev_lookup_report()
122 return report_enum->report_id_hash[rinfo->report_id]; hiddev_lookup_report()
134 struct hid_report_enum *report_enum; hiddev_lookup_usage() local
141 report_enum = hid->report_enum + hiddev_lookup_usage()
144 list_for_each_entry(report, &report_enum->report_list, list) { hiddev_lookup_usage()
H A Dhid-core.c753 struct hid_report_enum *report_enum; usbhid_init_reports() local
757 report_enum = &hid->report_enum[HID_INPUT_REPORT]; usbhid_init_reports()
758 list_for_each_entry(report, &report_enum->report_list, list) usbhid_init_reports()
762 report_enum = &hid->report_enum[HID_FEATURE_REPORT]; usbhid_init_reports()
763 list_for_each_entry(report, &report_enum->report_list, list) usbhid_init_reports()
792 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { hid_find_field_early()
828 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { hid_find_max_report()
829 size = ((report->size - 1) >> 3) + 1 + hid->report_enum[type].numbered; hid_find_max_report()
H A Dhid-pidff.c831 &hid->report_enum[report_type].report_list, list) { pidff_find_reports()
1250 if (list_empty(&hid->report_enum[HID_OUTPUT_REPORT].report_list)) { hid_pidff_init()
/linux-4.1.27/drivers/hid/
H A Dhid-lg3ff.c64 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg3ff_play()
102 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg3ff_set_autocenter()
H A Dhid-lgff.c72 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lgff_play()
114 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lgff_set_autocenter()
H A Dhid-core.c63 struct hid_report_enum *report_enum = device->report_enum + type; hid_register_report() local
68 if (report_enum->report_id_hash[id]) hid_register_report()
69 return report_enum->report_id_hash[id]; hid_register_report()
76 report_enum->numbered = 1; hid_register_report()
82 report_enum->report_id_hash[id] = report; hid_register_report()
84 list_add_tail(&report->list, &report_enum->report_list); hid_register_report()
579 struct hid_report_enum *report_enum = device->report_enum + i; hid_close_report() local
582 struct hid_report *report = report_enum->report_id_hash[j]; hid_close_report()
586 memset(report_enum, 0, sizeof(*report_enum)); hid_close_report()
587 INIT_LIST_HEAD(&report_enum->report_list); hid_close_report()
885 hid->report_enum[type].report_list.next, hid_validate_values()
888 report = hid->report_enum[type].report_id_hash[id]; hid_validate_values()
1347 static struct hid_report *hid_get_report(struct hid_report_enum *report_enum, hid_get_report() argument
1354 if (report_enum->numbered) hid_get_report()
1357 report = report_enum->report_id_hash[n]; hid_get_report()
1402 struct hid_report_enum *report_enum = hid->report_enum + type; hid_report_raw_event() local
1410 report = hid_get_report(report_enum, data); hid_report_raw_event()
1414 if (report_enum->numbered) { hid_report_raw_event()
1466 struct hid_report_enum *report_enum; hid_input_report() local
1481 report_enum = hid->report_enum + type; hid_input_report()
1494 report = hid_get_report(report_enum, data); hid_input_report()
H A Dhid-debug.c631 struct hid_report_enum *report_enum; hid_dump_device() local
638 report_enum = device->report_enum + i; hid_dump_device()
639 list = report_enum->report_list.next; hid_dump_device()
640 while (list != &report_enum->report_list) { hid_dump_device()
682 struct hid_report_enum *report_enum; hid_dump_report() local
691 report_enum = hid->report_enum + type; hid_dump_report()
696 report_enum->numbered ? "" : "un"); hid_dump_report()
1033 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { hid_dump_input_mapping()
H A Dhid-betopff.c65 &hid->report_enum[HID_OUTPUT_REPORT].report_list; betopff_init()
H A Dhid-emsff.c65 &hid->report_enum[HID_OUTPUT_REPORT].report_list; emsff_init()
H A Dhid-sensor-hub.c73 list_for_each_entry(report, &hdev->report_enum[dir].report_list, list) { sensor_hub_report()
369 struct hid_report_enum *report_enum; sensor_hub_input_get_attribute_info() local
380 report_enum = &hdev->report_enum[type]; sensor_hub_input_get_attribute_info()
381 list_for_each_entry(report, &report_enum->report_list, list) { sensor_hub_input_get_attribute_info()
H A Dhid-lg4ff.c300 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg4ff_play()
345 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg4ff_set_autocenter_default()
422 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg4ff_set_autocenter_ffex()
441 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg4ff_set_range_g25()
461 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; hid_lg4ff_set_range_dfp()
572 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; lg4ff_switch_compatibility_mode()
823 struct list_head *report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; lg4ff_set_leds()
H A Dhid-axff.c79 struct list_head *report_list =&hid->report_enum[HID_OUTPUT_REPORT].report_list; axff_init()
H A Dhid-gaff.c83 &hid->report_enum[HID_OUTPUT_REPORT].report_list; gaff_init()
H A Dhid-sjoy.c69 &hid->report_enum[HID_OUTPUT_REPORT].report_list; sjoyff_init()
H A Dhid-input.c107 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { hidinput_find_key()
1189 list_for_each_entry(report, &hid->report_enum[HID_OUTPUT_REPORT].report_list, list) { hidinput_find_field()
1208 &hid->report_enum[HID_OUTPUT_REPORT].report_list, hidinput_get_led_field()
1229 &hid->report_enum[HID_OUTPUT_REPORT].report_list, hidinput_count_leds()
1335 rep_enum = &hid->report_enum[HID_FEATURE_REPORT]; report_features()
1434 list_for_each_entry(report, &hid->report_enum[k].report_list, hidinput_cleanup_hidinput()
1482 list_for_each_entry(report, &hid->report_enum[k].report_list, list) { hidinput_connect()
H A Dwacom_sys.c254 rep_enum = &hdev->report_enum[HID_FEATURE_REPORT]; wacom_parse_hid()
269 rep_enum = &hdev->report_enum[HID_INPUT_REPORT]; wacom_parse_hid()
294 re = &(hdev->report_enum[HID_FEATURE_REPORT]); wacom_hid_set_device_mode()
1384 struct hid_report_enum *report_enum; wacom_compute_pktlen() local
1388 report_enum = hdev->report_enum + HID_INPUT_REPORT; wacom_compute_pktlen()
1390 list_for_each_entry(report, &report_enum->report_list, list) { wacom_compute_pktlen()
H A Dhid-sensor-custom.c536 struct hid_report_enum *report_enum, hid_sensor_custom_add_fields()
545 list_for_each_entry(report, &report_enum->report_list, list) { hid_sensor_custom_add_fields()
582 &hdev->report_enum[j], j); hid_sensor_custom_add_attributes()
535 hid_sensor_custom_add_fields(struct hid_sensor_custom *sensor_inst, struct hid_report_enum *report_enum, int report_type) hid_sensor_custom_add_fields() argument
H A Duhid.c104 if (hid->report_enum[HID_FEATURE_REPORT].numbered) uhid_hid_start()
106 if (hid->report_enum[HID_OUTPUT_REPORT].numbered) uhid_hid_start()
108 if (hid->report_enum[HID_INPUT_REPORT].numbered) uhid_hid_start()
H A Dhid-dr.c93 &hid->report_enum[HID_OUTPUT_REPORT].report_list; drff_init()
H A Dhid-holtekff.c146 &hid->report_enum[HID_OUTPUT_REPORT].report_list; holtekff_init()
H A Dhid-pl.c87 &hid->report_enum[HID_OUTPUT_REPORT].report_list; plff_init()
H A Dhid-tmff.c140 report_list = &hid->report_enum[HID_OUTPUT_REPORT].report_list; list_for_each_entry()
H A Dhid-lenovo.c292 report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[4]; lenovo_features_set_tpkbd()
561 report = hdev->report_enum[HID_OUTPUT_REPORT].report_id_hash[3]; lenovo_led_brightness_set_tpkbd()
H A Dhid-steelseries.c114 struct list_head *report_list = &hdev->report_enum[HID_OUTPUT_REPORT].report_list; steelseries_srws1_set_leds()
H A Dhid-ntrig.c115 struct hid_report *report = hdev->report_enum[HID_FEATURE_REPORT]. ntrig_get_mode()
135 report = hdev->report_enum[HID_FEATURE_REPORT]. ntrig_set_mode()
937 report = hdev->report_enum[HID_FEATURE_REPORT].report_id_hash[0x0a]; ntrig_probe()
H A Dhid-multitouch.c861 re = &(hdev->report_enum[HID_FEATURE_REPORT]); mt_set_input_mode()
894 re = &hdev->report_enum[HID_FEATURE_REPORT]; mt_set_maxcontacts()
H A Dhid-kye.c506 list = &hdev->report_enum[HID_FEATURE_REPORT].report_list; list_for_each()
H A Dhid-picolcd_core.c64 struct list_head *feature_report_list = &hdev->report_enum[dir].report_list; picolcd_report()
H A Dhid-prodikeys.c282 &hdev->report_enum[HID_OUTPUT_REPORT].report_list, list) { pcmidi_get_output_report()
H A Dhid-logitech-dj.c593 output_report_enum = &hdev->report_enum[HID_OUTPUT_REPORT]; logi_dj_recv_send_report()
H A Dhid-rmi.c1142 *report = hdev->report_enum[type].report_id_hash[id]; rmi_check_valid_report_id()
H A Dhid-sony.c1260 &hdev->report_enum[HID_OUTPUT_REPORT].report_list; buzz_set_leds()
H A Dwacom_wac.c456 re = &(wacom->hdev->report_enum[HID_FEATURE_REPORT]); wacom_intuos_schedule_prox_event()
/linux-4.1.27/drivers/hid/i2c-hid/
H A Di2c-hid.c434 report->device->report_enum[report->type].numbered + 2; i2c_hid_get_report_length()
489 &hid->report_enum[HID_FEATURE_REPORT].report_list, list) i2c_hid_init_reports()
508 list_for_each_entry(report, &hid->report_enum[type].report_list, list) { i2c_hid_find_max_report()
/linux-4.1.27/net/bluetooth/hidp/
H A Dcore.c235 int numbered_reports = hid->report_enum[report_type].numbered; hidp_get_raw_report()
/linux-4.1.27/include/linux/
H A Dhid.h507 struct hid_report_enum report_enum[HID_REPORT_TYPES]; member in struct:hid_device

Completed in 351 milliseconds