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