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