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