Lines Matching full: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()
152 * If there is a handler registered for the collection type, then in sensor_hub_register_callback()
153 * it will handle all reports for sensors in this collection. If in sensor_hub_register_callback()
155 * we want to make sure that the reports are directed to collection in sensor_hub_register_callback()
156 * handler, as this may be a fusion sensor. So add collection handlers in sensor_hub_register_callback()
479 struct hid_collection *collection = NULL; in sensor_hub_raw_event() local
503 collection = &hdev->collection[ in sensor_hub_raw_event()
505 hid_dbg(hdev, "collection->usage %x\n", in sensor_hub_raw_event()
506 collection->usage); in sensor_hub_raw_event()
540 if (callback && collection && callback->send_event) in sensor_hub_raw_event()
541 callback->send_event(hsdev, collection->usage, in sensor_hub_raw_event()
658 struct hid_collection *collection = &hdev->collection[i]; in sensor_hub_probe() local
660 if (collection->type == HID_COLLECTION_PHYSICAL || in sensor_hub_probe()
661 collection->type == HID_COLLECTION_APPLICATION) { in sensor_hub_probe()
673 hsdev->usage = collection->usage; in sensor_hub_probe()
688 collection->usage); in sensor_hub_probe()
707 if (collection->type == HID_COLLECTION_APPLICATION && in sensor_hub_probe()
708 collection->usage == HID_USAGE_SENSOR_COLLECTION) in sensor_hub_probe()