Lines Matching refs:hsdev
145 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() argument
162 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() argument
182 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() argument
189 ret = sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
207 hsdev->usage, in dev_rot_parse_report()
213 sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
233 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() local
243 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
246 switch (hsdev->usage) { in hid_dev_rot_probe()
260 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, in hid_dev_rot_probe()
275 ret = dev_rot_parse_report(pdev, hsdev, in hid_dev_rot_probe()
277 hsdev->usage, rot_state); in hid_dev_rot_probe()
306 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_dev_rot_probe()
325 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove() local
329 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_dev_rot_remove()