Lines Matching +full:attribute +full:- +full:set
1 /* SPDX-License-Identifier: GPL-2.0-only */
10 #include <linux/hid-sensor-ids.h>
15 * struct hid_sensor_hub_attribute_info - Attribute info
17 * @attrib_id: Attribute id for this attribute.
20 * @units: Measurment unit for this attribute.
23 * @logical_minimum: Logical minimum value for this attribute.
24 * @logical_maximum: Logical maximum value for this attribute.
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
79 * struct hid_sensor_hub_callbacks - Client callback functions
99 * sensor_hub_device_open() - Open hub device
107 * sensor_hub_device_clode() - Close hub device
117 * sensor_hub_register_callback() - Register client callbacks
131 * sensor_hub_remove_callback() - Remove client callbacks
145 * sensor_hub_input_get_attribute_info() - Get an attribute information
147 * @type: Type of this attribute, input/output/feature
148 * @usage_id: Attribute usage id of parent physical device as per spec
149 * @attr_usage_id: Attribute usage id as per spec
150 * @info: return information about attribute after parsing report
152 * Parses report and returns the attribute information such as report id,
161 * sensor_hub_input_attr_get_raw_value() - Synchronous read request
163 * @usage_id: Attribute usage id of parent physical device as per spec
164 * @attr_usage_id: Attribute usage id as per spec
167 * @is_signed: If true then fields < 32 bits will be sign-extended
169 * Issues a synchronous or asynchronous read request for an input attribute.
186 * sensor_hub_set_feature() - Feature set request
191 * @buffer: buffer to use in the feature set
193 * Used to set a field in feature report. For example this can set polling
200 * sensor_hub_get_feature() - Feature get request
215 /* hid-sensor-attributes */
245 return -(0x0f-unit_expo+1); in hid_sensor_convert_exponent()