Lines Matching refs:hsdev
147 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() argument
164 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() argument
184 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() argument
191 ret = sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
209 hsdev->usage, in dev_rot_parse_report()
215 sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
235 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() local
245 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
248 switch (hsdev->usage) { in hid_dev_rot_probe()
262 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, in hid_dev_rot_probe()
277 ret = dev_rot_parse_report(pdev, hsdev, in hid_dev_rot_probe()
279 hsdev->usage, rot_state); in hid_dev_rot_probe()
314 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_dev_rot_probe()
335 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove() local
339 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_dev_rot_remove()