Lines Matching refs:hsdev
62 static int hid_time_proc_event(struct hid_sensor_hub_device *hsdev, in hid_time_proc_event() argument
89 static int hid_time_capture_sample(struct hid_sensor_hub_device *hsdev, in hid_time_capture_sample() argument
148 struct hid_sensor_hub_device *hsdev, in hid_time_parse_report() argument
155 if (sensor_hub_input_get_attribute_info(hsdev, in hid_time_parse_report()
214 sensor_hub_input_attr_get_raw_value(time_state->common_attributes.hsdev, in hid_rtc_read_time()
239 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_probe() local
250 time_state->common_attributes.hsdev = hsdev; in hid_time_probe()
253 ret = hid_sensor_parse_common_attributes(hsdev, in hid_time_probe()
261 ret = hid_time_parse_report(pdev, hsdev, HID_USAGE_SENSOR_TIME, in hid_time_probe()
271 ret = sensor_hub_register_callback(hsdev, HID_USAGE_SENSOR_TIME, in hid_time_probe()
278 ret = sensor_hub_device_open(hsdev); in hid_time_probe()
288 hid_device_io_start(hsdev->hdev); in hid_time_probe()
295 hid_device_io_stop(hsdev->hdev); in hid_time_probe()
305 sensor_hub_device_close(hsdev); in hid_time_probe()
307 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME); in hid_time_probe()
313 struct hid_sensor_hub_device *hsdev = dev_get_platdata(&pdev->dev); in hid_time_remove() local
315 sensor_hub_device_close(hsdev); in hid_time_remove()
316 sensor_hub_remove_callback(hsdev, HID_USAGE_SENSOR_TIME); in hid_time_remove()