Lines Matching refs:hsdev
141 struct hid_sensor_hub_device *hsdev =
142 accel_state->common_attributes.hsdev;
154 accel_state->common_attributes.hsdev,
155 hsdev->usage, address, report_id,
232 static int accel_3d_proc_event(struct hid_sensor_hub_device *hsdev,
256 static int accel_3d_capture_sample(struct hid_sensor_hub_device *hsdev,
291 struct hid_sensor_hub_device *hsdev,
300 ret = sensor_hub_input_get_attribute_info(hsdev,
318 hsdev->usage,
324 sensor_hub_input_get_attribute_info(hsdev,
347 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;
357 accel_state->common_attributes.hsdev = hsdev;
360 if (hsdev->usage == HID_USAGE_SENSOR_ACCEL_3D) {
371 ret = hid_sensor_parse_common_attributes(hsdev, hsdev->usage,
383 ret = accel_3d_parse_report(pdev, hsdev,
385 hsdev->usage, accel_state);
413 ret = sensor_hub_register_callback(hsdev, hsdev->usage,
434 struct hid_sensor_hub_device *hsdev = pdev->dev.platform_data;
438 sensor_hub_remove_callback(hsdev, hsdev->usage);