collection 902 drivers/hid/hid-asus.c hdev->collection->usage == HID_GD_MOUSE) collection 123 drivers/hid/hid-core.c struct hid_collection *collection; collection 145 drivers/hid/hid-core.c collection = kmalloc( collection 150 drivers/hid/hid-core.c if (collection == NULL) { collection 154 drivers/hid/hid-core.c memcpy(collection, parser->device->collection, collection 157 drivers/hid/hid-core.c memset(collection + parser->device->collection_size, 0, collection 160 drivers/hid/hid-core.c kfree(parser->device->collection); collection 161 drivers/hid/hid-core.c parser->device->collection = collection; collection 169 drivers/hid/hid-core.c collection = parser->device->collection + collection_index; collection 170 drivers/hid/hid-core.c collection->type = type; collection 171 drivers/hid/hid-core.c collection->usage = usage; collection 172 drivers/hid/hid-core.c collection->level = parser->collection_stack_ptr - 1; collection 173 drivers/hid/hid-core.c collection->parent_idx = (collection->level == 0) ? -1 : collection 174 drivers/hid/hid-core.c parser->collection_stack[collection->level - 1]; collection 203 drivers/hid/hid-core.c struct hid_collection *collection = parser->device->collection; collection 208 drivers/hid/hid-core.c if (collection[index].type == type) collection 209 drivers/hid/hid-core.c return collection[index].usage; collection 688 drivers/hid/hid-core.c kfree(device->collection); collection 689 drivers/hid/hid-core.c device->collection = NULL; collection 1052 drivers/hid/hid-core.c struct hid_collection *collection; collection 1065 drivers/hid/hid-core.c collection = &hid->collection[usage->collection_index]; collection 1066 drivers/hid/hid-core.c while (collection->parent_idx != -1 && collection 1067 drivers/hid/hid-core.c collection != multiplier_collection) collection 1068 drivers/hid/hid-core.c collection = &hid->collection[collection->parent_idx]; collection 1070 drivers/hid/hid-core.c if (collection->parent_idx != -1 || collection 1105 drivers/hid/hid-core.c multiplier_collection = &hid->collection[multiplier->usage->collection_index]; collection 1108 drivers/hid/hid-core.c multiplier_collection = &hid->collection[multiplier_collection->parent_idx]; collection 1236 drivers/hid/hid-core.c device->collection = kcalloc(HID_DEFAULT_NUM_COLLECTIONS, collection 1238 drivers/hid/hid-core.c if (!device->collection) { collection 1968 drivers/hid/hid-core.c struct hid_collection *col = &hdev->collection[i]; collection 213 drivers/hid/hid-cougar.c if (hdev->collection->usage == COUGAR_VENDOR_USAGE) { collection 233 drivers/hid/hid-cougar.c if (hdev->collection->usage == HID_GD_KEYBOARD) { collection 241 drivers/hid/hid-cougar.c } else if (hdev->collection->usage == COUGAR_VENDOR_USAGE) { collection 1871 drivers/hid/hid-input.c struct hid_collection *col = &hid->collection[i]; collection 119 drivers/hid/hid-plantronics.c col_page = hdev->collection[i].usage & HID_USAGE_PAGE; collection 121 drivers/hid/hid-plantronics.c plt_type = hdev->collection[i].usage; collection 125 drivers/hid/hid-plantronics.c plt_type = hdev->collection[i].usage; collection 76 drivers/hid/hid-sensor-hub.c struct hid_collection *collection = &hdev->collection[i]; collection 77 drivers/hid/hid-sensor-hub.c if (collection->type == HID_COLLECTION_PHYSICAL || collection 78 drivers/hid/hid-sensor-hub.c collection->type == HID_COLLECTION_APPLICATION) collection 475 drivers/hid/hid-sensor-hub.c struct hid_collection *collection = NULL; collection 498 drivers/hid/hid-sensor-hub.c collection = &hdev->collection[ collection 501 drivers/hid/hid-sensor-hub.c collection->usage); collection 535 drivers/hid/hid-sensor-hub.c if (callback && collection && callback->send_event) collection 536 drivers/hid/hid-sensor-hub.c callback->send_event(hsdev, collection->usage, collection 654 drivers/hid/hid-sensor-hub.c struct hid_collection *collection = &hdev->collection[i]; collection 656 drivers/hid/hid-sensor-hub.c if (collection->type == HID_COLLECTION_PHYSICAL || collection 657 drivers/hid/hid-sensor-hub.c collection->type == HID_COLLECTION_APPLICATION) { collection 669 drivers/hid/hid-sensor-hub.c hsdev->usage = collection->usage; collection 684 drivers/hid/hid-sensor-hub.c collection->usage); collection 703 drivers/hid/hid-sensor-hub.c if (collection->type == HID_COLLECTION_APPLICATION && collection 704 drivers/hid/hid-sensor-hub.c collection->usage == HID_USAGE_SENSOR_COLLECTION) collection 1115 drivers/hid/usbhid/hid-core.c switch (hid->collection->usage) { collection 839 drivers/hid/usbhid/hid-pidff.c hid->collection[i - 1].type != HID_COLLECTION_LOGICAL) collection 841 drivers/hid/usbhid/hid-pidff.c ret = pidff_check_usage(hid->collection[i - 1].usage); collection 626 drivers/hid/usbhid/hiddev.c if (hid->collection[i].type == collection 631 drivers/hid/usbhid/hiddev.c r = hid->collection[i].usage; collection 808 drivers/hid/usbhid/hiddev.c cinfo.type = hid->collection[cinfo.index].type; collection 809 drivers/hid/usbhid/hiddev.c cinfo.usage = hid->collection[cinfo.index].usage; collection 810 drivers/hid/usbhid/hiddev.c cinfo.level = hid->collection[cinfo.index].level; collection 890 drivers/hid/usbhid/hiddev.c if (hid->collection[i].type == collection 892 drivers/hid/usbhid/hiddev.c !IS_INPUT_APPLICATION(hid->collection[i].usage)) collection 2586 drivers/infiniband/core/uverbs_cmd.c resources->collection = collection 2587 drivers/infiniband/core/uverbs_cmd.c kcalloc(num_specs, sizeof(*resources->collection), GFP_KERNEL); collection 2589 drivers/infiniband/core/uverbs_cmd.c if (!resources->counters || !resources->collection) collection 2612 drivers/infiniband/core/uverbs_cmd.c atomic_dec(&uflow_res->collection[i]->usecnt); collection 2617 drivers/infiniband/core/uverbs_cmd.c kfree(uflow_res->collection); collection 2632 drivers/infiniband/core/uverbs_cmd.c uflow_res->collection[uflow_res->collection_num++] = collection 550 include/linux/hid.h struct hid_collection *collection; /* List of HID collections */ collection 156 include/rdma/uverbs_std_types.h struct ib_flow_action **collection; collection 85 tools/perf/builtin-bench.c static struct collection collections[] = { collection 107 tools/perf/builtin-bench.c static void dump_benchmarks(struct collection *coll) collection 138 tools/perf/builtin-bench.c struct collection *coll; collection 194 tools/perf/builtin-bench.c static void run_collection(struct collection *coll) collection 221 tools/perf/builtin-bench.c struct collection *coll; collection 229 tools/perf/builtin-bench.c struct collection *coll; collection 137 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 254 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 256 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry(collection, &its->collection_list, coll_list) { collection 257 virt/kvm/arm/vgic/vgic-its.c if (coll_id == collection->collection_id) collection 258 virt/kvm/arm/vgic/vgic-its.c return collection; collection 381 virt/kvm/arm/vgic/vgic-its.c if (!its_is_collection_mapped(ite->collection)) collection 384 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, ite->collection->target_addr); collection 399 virt/kvm/arm/vgic/vgic-its.c if (!ite->collection || coll != ite->collection) collection 669 virt/kvm/arm/vgic/vgic-its.c if (!ite || !its_is_collection_mapped(ite->collection)) collection 672 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, ite->collection->target_addr); collection 841 virt/kvm/arm/vgic/vgic-its.c if (ite && ite->collection) { collection 868 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 874 virt/kvm/arm/vgic/vgic-its.c if (!its_is_collection_mapped(ite->collection)) collection 877 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 878 virt/kvm/arm/vgic/vgic-its.c if (!its_is_collection_mapped(collection)) collection 881 virt/kvm/arm/vgic/vgic-its.c ite->collection = collection; collection 882 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, collection->target_addr); collection 975 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 980 virt/kvm/arm/vgic/vgic-its.c collection = kzalloc(sizeof(*collection), GFP_KERNEL); collection 981 virt/kvm/arm/vgic/vgic-its.c if (!collection) collection 984 virt/kvm/arm/vgic/vgic-its.c collection->collection_id = coll_id; collection 985 virt/kvm/arm/vgic/vgic-its.c collection->target_addr = COLLECTION_NOT_MAPPED; collection 987 virt/kvm/arm/vgic/vgic-its.c list_add_tail(&collection->coll_list, &its->collection_list); collection 988 virt/kvm/arm/vgic/vgic-its.c *colp = collection; collection 995 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 1004 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 1005 virt/kvm/arm/vgic/vgic-its.c if (!collection) collection 1009 virt/kvm/arm/vgic/vgic-its.c if (ite->collection && collection 1010 virt/kvm/arm/vgic/vgic-its.c ite->collection->collection_id == coll_id) collection 1011 virt/kvm/arm/vgic/vgic-its.c ite->collection = NULL; collection 1013 virt/kvm/arm/vgic/vgic-its.c list_del(&collection->coll_list); collection 1014 virt/kvm/arm/vgic/vgic-its.c kfree(collection); collection 1019 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection, collection 1029 virt/kvm/arm/vgic/vgic-its.c ite->collection = collection; collection 1048 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection, *new_coll = NULL; collection 1071 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 1072 virt/kvm/arm/vgic/vgic-its.c if (!collection) { collection 1073 virt/kvm/arm/vgic/vgic-its.c int ret = vgic_its_alloc_collection(its, &collection, coll_id); collection 1076 virt/kvm/arm/vgic/vgic-its.c new_coll = collection; collection 1079 virt/kvm/arm/vgic/vgic-its.c ite = vgic_its_alloc_ite(device, collection, event_id); collection 1086 virt/kvm/arm/vgic/vgic-its.c if (its_is_collection_mapped(collection)) collection 1087 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, collection->target_addr); collection 1209 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 1223 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 1225 virt/kvm/arm/vgic/vgic-its.c if (!collection) { collection 1228 virt/kvm/arm/vgic/vgic-its.c ret = vgic_its_alloc_collection(its, &collection, collection 1232 virt/kvm/arm/vgic/vgic-its.c collection->target_addr = target_addr; collection 1234 virt/kvm/arm/vgic/vgic-its.c collection->target_addr = target_addr; collection 1235 virt/kvm/arm/vgic/vgic-its.c update_affinity_collection(kvm, its, collection); collection 1298 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 1304 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 1305 virt/kvm/arm/vgic/vgic-its.c if (!its_is_collection_mapped(collection)) collection 1308 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, collection->target_addr); collection 2124 virt/kvm/arm/vgic/vgic-its.c ite->collection->collection_id; collection 2139 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 2166 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 2167 virt/kvm/arm/vgic/vgic-its.c if (!collection) collection 2170 virt/kvm/arm/vgic/vgic-its.c ite = vgic_its_alloc_ite(dev, collection, event_id); collection 2174 virt/kvm/arm/vgic/vgic-its.c if (its_is_collection_mapped(collection)) collection 2175 virt/kvm/arm/vgic/vgic-its.c vcpu = kvm_get_vcpu(kvm, collection->target_addr); collection 2444 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection, collection 2450 virt/kvm/arm/vgic/vgic-its.c ((u64)collection->target_addr << KVM_ITS_CTE_RDBASE_SHIFT) | collection 2451 virt/kvm/arm/vgic/vgic-its.c collection->collection_id); collection 2458 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 2479 virt/kvm/arm/vgic/vgic-its.c collection = find_collection(its, coll_id); collection 2480 virt/kvm/arm/vgic/vgic-its.c if (collection) collection 2482 virt/kvm/arm/vgic/vgic-its.c ret = vgic_its_alloc_collection(its, &collection, coll_id); collection 2485 virt/kvm/arm/vgic/vgic-its.c collection->target_addr = target_addr; collection 2498 virt/kvm/arm/vgic/vgic-its.c struct its_collection *collection; collection 2508 virt/kvm/arm/vgic/vgic-its.c list_for_each_entry(collection, &its->collection_list, coll_list) { collection 2509 virt/kvm/arm/vgic/vgic-its.c ret = vgic_its_save_cte(its, collection, gpa, cte_esz);