Lines Matching full:collection

76 		struct hid_collection *collection = &hdev->collection[i];  in sensor_hub_get_physical_device_count()  local
77 if (collection->type == HID_COLLECTION_PHYSICAL || in sensor_hub_get_physical_device_count()
78 collection->type == HID_COLLECTION_APPLICATION) in sensor_hub_get_physical_device_count()
153 * If there is a handler registered for the collection type, then in sensor_hub_register_callback()
154 * it will handle all reports for sensors in this collection. If in sensor_hub_register_callback()
156 * we want to make sure that the reports are directed to collection in sensor_hub_register_callback()
157 * handler, as this may be a fusion sensor. So add collection handlers in sensor_hub_register_callback()
475 struct hid_collection *collection = NULL; in sensor_hub_raw_event() local
499 collection = &hdev->collection[ in sensor_hub_raw_event()
501 hid_dbg(hdev, "collection->usage %x\n", in sensor_hub_raw_event()
502 collection->usage); in sensor_hub_raw_event()
536 if (callback && collection && callback->send_event) in sensor_hub_raw_event()
537 callback->send_event(hsdev, collection->usage, in sensor_hub_raw_event()
655 struct hid_collection *collection = &hdev->collection[i]; in sensor_hub_probe() local
657 if (collection->type == HID_COLLECTION_PHYSICAL || in sensor_hub_probe()
658 collection->type == HID_COLLECTION_APPLICATION) { in sensor_hub_probe()
670 hsdev->usage = collection->usage; in sensor_hub_probe()
685 collection->usage); in sensor_hub_probe()
704 if (collection->type == HID_COLLECTION_APPLICATION && in sensor_hub_probe()
705 collection->usage == HID_USAGE_SENSOR_COLLECTION) in sensor_hub_probe()