Lines Matching refs:hsdev
155 static int dev_rot_proc_event(struct hid_sensor_hub_device *hsdev, in dev_rot_proc_event() argument
172 static int dev_rot_capture_sample(struct hid_sensor_hub_device *hsdev, in dev_rot_capture_sample() argument
192 struct hid_sensor_hub_device *hsdev, in dev_rot_parse_report() argument
199 ret = sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
217 hsdev->usage, in dev_rot_parse_report()
223 sensor_hub_input_get_attribute_info(hsdev, in dev_rot_parse_report()
243 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_probe() local
253 rot_state->common_attributes.hsdev = hsdev; in hid_dev_rot_probe()
256 switch (hsdev->usage) { in hid_dev_rot_probe()
270 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage, in hid_dev_rot_probe()
285 ret = dev_rot_parse_report(pdev, hsdev, in hid_dev_rot_probe()
287 hsdev->usage, rot_state); in hid_dev_rot_probe()
322 ret = sensor_hub_register_callback(hsdev, hsdev->usage, in hid_dev_rot_probe()
343 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data; in hid_dev_rot_remove() local
347 sensor_hub_remove_callback(hsdev, hsdev->usage); in hid_dev_rot_remove()