Lines Matching full:collection

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