Lines Matching +full:sensor +full:- +full:hub
1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
39 * struct sensor_hub_pending - Synchronous read pending information
43 * @attr_usage_id: Usage Id of a field, E.g. X-AXIS for a gyro.
57 * struct hid_sensor_hub_device - Stores the hub instance data
59 * @vendor_id: Vendor id of hub device.
60 * @product_id: Product id of hub device.
61 * @usage: Usage id for this hub device instance.
79 * struct hid_sensor_hub_callbacks - Client callback functions
99 * sensor_hub_device_open() - Open hub device
100 * @hsdev: Hub device instance.
102 * Used to open hid device for sensor hub.
107 * sensor_hub_device_clode() - Close hub device
108 * @hsdev: Hub device instance.
110 * Used to clode hid device for sensor hub.
117 * sensor_hub_register_callback() - Register client callbacks
118 * @hsdev: Hub device instance.
122 * Used to register callbacks by client processing drivers. Sensor
123 * hub core driver will call these callbacks to offload processing
131 * sensor_hub_remove_callback() - Remove client callbacks
132 * @hsdev: Hub device instance.
142 /* Hid sensor hub core interfaces */
145 * sensor_hub_input_get_attribute_info() - Get an attribute information
146 * @hsdev: Hub device instance.
161 * sensor_hub_input_attr_get_raw_value() - Synchronous read request
162 * @hsdev: Hub device instance.
167 * @is_signed: If true then fields < 32 bits will be sign-extended
186 * sensor_hub_set_feature() - Feature set request
187 * @hsdev: Hub device instance.
200 * sensor_hub_get_feature() - Feature get request
201 * @hsdev: Hub device instance.
215 /* hid-sensor-attributes */
217 /* Common hid sensor iio structure */
245 return -(0x0f-unit_expo+1); in hid_sensor_convert_exponent()