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