Lines Matching refs: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()
480 struct hid_collection *collection = NULL; in sensor_hub_raw_event() local
504 collection = &hdev->collection[ 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()