Lines Matching refs: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()
475 struct hid_collection *collection = NULL; in sensor_hub_raw_event() local
498 collection = &hdev->collection[ in sensor_hub_raw_event()
501 collection->usage); in sensor_hub_raw_event()
535 if (callback && collection && callback->send_event) in sensor_hub_raw_event()
536 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()