Lines Matching +full:device +full:- +full:id
1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
16 * @usage_id: Parent usage id of a physical device.
17 * @attrib_id: Attribute id for this attribute.
18 * @report_id: Report id in which this information resides.
39 * struct sensor_hub_pending - Synchronous read pending information
42 * @usage_id: Usage id for physical device, E.g. Gyro usage id.
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
80 * @pdev: Platform device instance of the client driver.
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.
119 * @usage_id: Usage id of the client (E.g. 0x200076 for Gyro).
131 * sensor_hub_remove_callback() - Remove client callbacks
132 * @hsdev: Hub device instance.
133 * @usage_id: Usage id of the client (E.g. 0x200076 for Gyro).
145 * sensor_hub_input_get_attribute_info() - Get an attribute information
146 * @hsdev: Hub device instance.
148 * @usage_id: Attribute usage id of parent physical device as per spec
149 * @attr_usage_id: Attribute usage id as per spec
152 * Parses report and returns the attribute information such as report id,
161 * sensor_hub_input_attr_get_raw_value() - Synchronous read request
162 * @hsdev: Hub device instance.
163 * @usage_id: Attribute usage id of parent physical device as per spec
164 * @attr_usage_id: Attribute usage id as per spec
165 * @report_id: Report id to look for
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.
188 * @report_id: Report id to look for
200 * sensor_hub_get_feature() - Feature get request
201 * @hsdev: Hub device instance.
202 * @report_id: Report id to look for
214 /* hid-sensor-attributes */
243 return -(0x0f-unit_expo+1); in hid_sensor_convert_exponent()