/kernel/linux/linux-5.10/drivers/hid/ |
H A D | hid-sensor-hub.c | 101 int collection_index, in sensor_hub_get_callback() 113 (collection_index >= in sensor_hub_get_callback() 115 (collection_index < in sensor_hub_get_callback() 405 (field->usage[0].collection_index >= in sensor_hub_input_get_attribute_info() 407 (field->usage[0].collection_index < in sensor_hub_input_get_attribute_info() 497 hid_dbg(hdev, "%d collection_index:%x hid:%x sz:%x\n", in sensor_hub_raw_event() 498 i, report->field[i]->usage->collection_index, in sensor_hub_raw_event() 505 report->field[i]->usage->collection_index]; in sensor_hub_raw_event() 511 report->field[i]->usage[0].collection_index, in sensor_hub_raw_event() 98 sensor_hub_get_callback( struct hid_device *hdev, u32 usage_id, int collection_index, struct hid_sensor_hub_device **hsdev, void **priv) sensor_hub_get_callback() argument
|
H A D | hid-jabra.c | 32 usage->collection_index, in jabra_input_mapping()
|
H A D | hid-core.c | 125 int collection_index; in open_collection() local 168 collection_index = parser->device->maxcollection++; in open_collection() 169 collection = parser->device->collection + collection_index; in open_collection() 246 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage() 321 field->usage[i].collection_index = in hid_add_field() 322 parser->local.collection_index[j]; in hid_add_field() 1083 collection = &hid->collection[usage->collection_index]; in hid_apply_multiplier_to_field() 1123 multiplier_collection = &hid->collection[multiplier->usage->collection_index]; in hid_apply_multiplier()
|
H A D | hid-sensor-custom.c | 537 ((field->usage[0].collection_index >= in hid_sensor_custom_add_fields() 539 (field->usage[0].collection_index < in hid_sensor_custom_add_fields()
|
H A D | wacom_wac.c | 2844 struct hid_report *report, int collection_index, in wacom_report_events() 2860 if (field->usage[n].collection_index == collection_index) in wacom_report_events() 2870 int collection_index, struct hid_field *field, in wacom_wac_collection() 2875 wacom_report_events(hdev, report, collection_index, field_index); in wacom_wac_collection() 2935 if (field->usage[0].collection_index != prev_collection) { in wacom_wac_report() 2937 field->usage[0].collection_index, field, r) < 0) in wacom_wac_report() 2939 prev_collection = field->usage[0].collection_index; in wacom_wac_report() 2843 wacom_report_events(struct hid_device *hdev, struct hid_report *report, int collection_index, int field_index) wacom_report_events() argument 2869 wacom_wac_collection(struct hid_device *hdev, struct hid_report *report, int collection_index, struct hid_field *field, int field_index) wacom_wac_collection() argument
|
H A D | hid-sony.c | 688 switch (usage->collection_index) { in ps3remote_mapping() 1334 switch (usage->collection_index) { in sony_mapping()
|
/kernel/linux/linux-6.6/drivers/hid/ |
H A D | hid-sensor-hub.c | 100 int collection_index, in sensor_hub_get_callback() 112 (collection_index >= in sensor_hub_get_callback() 114 (collection_index < in sensor_hub_get_callback() 405 (field->usage[0].collection_index >= in sensor_hub_input_get_attribute_info() 407 (field->usage[0].collection_index < in sensor_hub_input_get_attribute_info() 497 hid_dbg(hdev, "%d collection_index:%x hid:%x sz:%x\n", in sensor_hub_raw_event() 498 i, report->field[i]->usage->collection_index, in sensor_hub_raw_event() 505 report->field[i]->usage->collection_index]; in sensor_hub_raw_event() 512 report->field[i]->usage[0].collection_index, in sensor_hub_raw_event() 97 sensor_hub_get_callback( struct hid_device *hdev, u32 usage_id, int collection_index, struct hid_sensor_hub_device **hsdev, void **priv) sensor_hub_get_callback() argument
|
H A D | hid-jabra.c | 32 usage->collection_index, in jabra_input_mapping()
|
H A D | hid-core.c | 123 int collection_index; in open_collection() local 166 collection_index = parser->device->maxcollection++; in open_collection() 167 collection = parser->device->collection + collection_index; in open_collection() 244 parser->local.collection_index[parser->local.usage_index] = in hid_add_usage() 319 field->usage[i].collection_index = in hid_add_field() 320 parser->local.collection_index[j]; in hid_add_field() 1084 collection = &hid->collection[usage->collection_index]; in hid_apply_multiplier_to_field() 1124 multiplier_collection = &hid->collection[multiplier->usage->collection_index]; in hid_apply_multiplier()
|
H A D | hid-input.c | 682 collection = &device->collection[field->usage->collection_index]; in hidinput_field_in_collection() 2230 * janitoring when collection_index changes in hidinput_configure_usages() 2232 if (prev_collection_index != field->usage->collection_index) { in hidinput_configure_usages() 2233 prev_collection_index = field->usage->collection_index; in hidinput_configure_usages() 2241 if (slot_collection_index == field->usage->collection_index) { in hidinput_configure_usages() 2249 slot_collection_index = field->usage->collection_index; in hidinput_configure_usages()
|
H A D | hid-sensor-custom.c | 542 ((field->usage[0].collection_index >= in hid_sensor_custom_add_fields() 544 (field->usage[0].collection_index < in hid_sensor_custom_add_fields()
|
H A D | wacom_wac.c | 2902 struct hid_report *report, int collection_index, in wacom_report_events() 2918 if (field->usage[n].collection_index == collection_index) in wacom_report_events() 2928 int collection_index, struct hid_field *field, in wacom_wac_collection() 2933 wacom_report_events(hdev, report, collection_index, field_index); in wacom_wac_collection() 2993 if (field->usage[0].collection_index != prev_collection) { in wacom_wac_report() 2995 field->usage[0].collection_index, field, r) < 0) in wacom_wac_report() 2997 prev_collection = field->usage[0].collection_index; in wacom_wac_report() 2901 wacom_report_events(struct hid_device *hdev, struct hid_report *report, int collection_index, int field_index) wacom_report_events() argument 2927 wacom_wac_collection(struct hid_device *hdev, struct hid_report *report, int collection_index, struct hid_field *field, int field_index) wacom_wac_collection() argument
|
H A D | hid-sony.c | 625 switch (usage->collection_index) { in ps3remote_mapping() 975 switch (usage->collection_index) { in sony_mapping()
|
/kernel/linux/linux-5.10/include/linux/ |
H A D | hid.h | 416 unsigned collection_index[HID_MAX_USAGES]; /* collection index array */ member 437 unsigned collection_index; /* index into collection array */ member
|
/kernel/linux/linux-6.6/include/linux/ |
H A D | hid.h | 448 unsigned collection_index[HID_MAX_USAGES]; /* collection index array */ member 469 unsigned collection_index; /* index into collection array */ member
|
/kernel/linux/linux-5.10/drivers/hid/usbhid/ |
H A D | hiddev.c | 536 i = field->usage[uref->usage_index].collection_index; in hiddev_ioctl_usage()
|
H A D | hid-pidff.c | 837 i = report->field[0]->usage[0].collection_index; in pidff_find_reports()
|
/kernel/linux/linux-6.6/drivers/hid/usbhid/ |
H A D | hiddev.c | 536 i = field->usage[uref->usage_index].collection_index; in hiddev_ioctl_usage()
|
H A D | hid-pidff.c | 837 i = report->field[0]->usage[0].collection_index; in pidff_find_reports()
|