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
499 collection = &hdev->collection[ 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()