Lines Matching refs:collection
76 struct hid_collection *collection = &hdev->collection[i];
77 if (collection->type == HID_COLLECTION_PHYSICAL ||
78 collection->type == HID_COLLECTION_APPLICATION)
153 * If there is a handler registered for the collection type, then
154 * it will handle all reports for sensors in this collection. If
156 * we want to make sure that the reports are directed to collection
157 * handler, as this may be a fusion sensor. So add collection handlers
480 struct hid_collection *collection = NULL;
504 collection = &hdev->collection[
506 hid_dbg(hdev, "collection->usage %x\n",
507 collection->usage);
541 if (callback && collection && callback->send_event)
542 callback->send_event(hsdev, collection->usage,
660 struct hid_collection *collection = &hdev->collection[i];
662 if (collection->type == HID_COLLECTION_PHYSICAL ||
663 collection->type == HID_COLLECTION_APPLICATION) {
675 hsdev->usage = collection->usage;
690 collection->usage);
709 if (collection->type == HID_COLLECTION_APPLICATION &&
710 collection->usage == HID_USAGE_SENSOR_COLLECTION)