Lines Matching refs:collection
88 struct hid_collection *collection = &hdev->collection[i]; in sensor_hub_get_physical_device_count() local
89 if (collection->type == HID_COLLECTION_PHYSICAL || in sensor_hub_get_physical_device_count()
90 collection->type == HID_COLLECTION_APPLICATION) in sensor_hub_get_physical_device_count()
464 struct hid_collection *collection = NULL; in sensor_hub_raw_event() local
487 collection = &hdev->collection[ in sensor_hub_raw_event()
490 collection->usage); in sensor_hub_raw_event()
524 if (callback && collection && callback->send_event) in sensor_hub_raw_event()
525 callback->send_event(hsdev, collection->usage, in sensor_hub_raw_event()
654 struct hid_collection *collection = &hdev->collection[i]; in sensor_hub_probe() local
656 if (collection->type == HID_COLLECTION_PHYSICAL || in sensor_hub_probe()
657 collection->type == HID_COLLECTION_APPLICATION) { in sensor_hub_probe()
669 hsdev->usage = collection->usage; in sensor_hub_probe()
684 collection->usage); in sensor_hub_probe()
703 if (collection->type == HID_COLLECTION_APPLICATION && in sensor_hub_probe()
704 collection->usage == HID_USAGE_SENSOR_COLLECTION) in sensor_hub_probe()