Lines Matching refs:hsdev
49 static int hid_time_proc_event(struct hid_sensor_hub_device *hsdev,
76 static int hid_time_capture_sample(struct hid_sensor_hub_device *hsdev,
135 struct hid_sensor_hub_device *hsdev,
142 if (sensor_hub_input_get_attribute_info(hsdev,
200 sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev,
225 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev);
236 time_state->common_attributes.hsdev = hsdev;
239 ret = hid_sensor_parse_common_attributes(hsdev,
247 ret = hid_time_parse_report(pdev, hsdev, HID_USAGE_SENSOR_TIME,
257 ret = sensor_hub_register_callback(hsdev, HID_USAGE_SENSOR_TIME,
264 ret = sensor_hub_device_open(hsdev);
274 hid_device_io_start(hsdev->hdev);
281 hid_device_io_stop(hsdev->hdev);
291 sensor_hub_device_close(hsdev);
293 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME);
299 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev);
301 sensor_hub_device_close(hsdev);
302 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME);