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,
249 ret = hid_time_parse_report(pdev, hsdev, HID_USAGE_SENSOR_TIME,
259 ret = sensor_hub_register_callback(hsdev, HID_USAGE_SENSOR_TIME,
266 ret = sensor_hub_device_open(hsdev);
276 hid_device_io_start(hsdev->hdev);
283 hid_device_io_stop(hsdev->hdev);
293 sensor_hub_device_close(hsdev);
295 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME);
301 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev);
303 sensor_hub_device_close(hsdev);
304 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME);