Lines Matching refs:hsdev
145 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() argument
167 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() argument
198 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() argument
205 ret = sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
223 hsdev->usage, in dev_rot_parse_report()
237 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() local
247 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
250 switch (hsdev->usage) { in hid_dev_rot_probe()
264 ret = hid_sensor_parse_common_attributes(hsdev, in hid_dev_rot_probe()
265 hsdev->usage, in hid_dev_rot_probe()
282 ret = dev_rot_parse_report(pdev, hsdev, in hid_dev_rot_probe()
284 hsdev->usage, rot_state); in hid_dev_rot_probe()
313 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_dev_rot_probe()
332 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove() local
336 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_dev_rot_remove()