Home
last modified time | relevance | path

Searched refs:usage_id (Results 1 – 16 of 16) sorted by relevance

/Linux-v5.4/include/linux/
Dhid-sensor-hub.h27 u32 usage_id; member
50 u32 usage_id; member
92 u32 usage_id, size_t raw_len, char *raw_data,
94 int (*send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id,
127 u32 usage_id,
139 u32 usage_id);
157 u32 usage_id, u32 attr_usage_id,
179 u32 usage_id,
220 unsigned usage_id; member
249 u32 usage_id,
[all …]
/Linux-v5.4/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c22 u32 usage_id; member
353 int hid_sensor_format_scale(u32 usage_id, in hid_sensor_format_scale() argument
364 if (unit_conversion[i].usage_id == usage_id && in hid_sensor_format_scale()
388 u32 usage_id, in hid_sensor_get_reporting_interval() argument
392 HID_FEATURE_REPORT, usage_id, in hid_sensor_get_reporting_interval()
406 u32 usage_id, in hid_sensor_get_report_latency_info() argument
410 usage_id, in hid_sensor_get_report_latency_info()
448 u32 usage_id, in hid_sensor_parse_common_attributes() argument
456 hid_sensor_get_reporting_interval(hsdev, usage_id, st); in hid_sensor_parse_common_attributes()
459 HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
[all …]
/Linux-v5.4/drivers/hid/
Dhid-sensor-hub.c50 u32 usage_id; member
100 u32 usage_id, in sensor_hub_get_callback() argument
111 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
112 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback()
129 u32 usage_id, in sensor_hub_register_callback() argument
138 if (callback->usage_id == usage_id && in sensor_hub_register_callback()
150 callback->usage_id = usage_id; in sensor_hub_register_callback()
160 if (usage_id == HID_USAGE_SENSOR_COLLECTION) in sensor_hub_register_callback()
171 u32 usage_id) in sensor_hub_remove_callback() argument
179 if (callback->usage_id == usage_id && in sensor_hub_remove_callback()
[all …]
Dhid-sensor-custom.c57 u32 usage_id; member
74 int usage_id; member
413 unsigned usage_id, size_t raw_len, in hid_sensor_capture_sample() argument
435 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
455 unsigned usage_id, void *priv) in hid_sensor_send_event() argument
487 sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; in hid_sensor_custom_add_field()
/Linux-v5.4/drivers/iio/orientation/
Dhid-sensor-incl-3d.c192 unsigned usage_id, in incl_3d_proc_event() argument
209 unsigned usage_id, in incl_3d_capture_sample() argument
217 switch (usage_id) { in incl_3d_capture_sample()
239 unsigned usage_id, in incl_3d_parse_report() argument
246 usage_id, in incl_3d_parse_report()
256 usage_id, in incl_3d_parse_report()
266 usage_id, in incl_3d_parse_report()
288 HID_FEATURE_REPORT, usage_id, in incl_3d_parse_report()
Dhid-sensor-rotation.c148 unsigned usage_id, in dev_rot_proc_event() argument
165 unsigned usage_id, in dev_rot_capture_sample() argument
172 if (usage_id == HID_USAGE_SENSOR_ORIENT_QUATERNION) { in dev_rot_capture_sample()
186 unsigned usage_id, in dev_rot_parse_report() argument
193 usage_id, in dev_rot_parse_report()
216 HID_FEATURE_REPORT, usage_id, in dev_rot_parse_report()
/Linux-v5.4/drivers/iio/light/
Dhid-sensor-prox.c163 unsigned usage_id, in prox_proc_event() argument
180 unsigned usage_id, in prox_capture_sample() argument
188 switch (usage_id) { in prox_capture_sample()
204 unsigned usage_id, in prox_parse_report() argument
210 usage_id, in prox_parse_report()
224 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
234 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
Dhid-sensor-als.c183 unsigned usage_id, in als_proc_event() argument
200 unsigned usage_id, in als_capture_sample() argument
209 switch (usage_id) { in als_capture_sample()
226 unsigned usage_id, in als_parse_report() argument
232 usage_id, in als_parse_report()
253 HID_FEATURE_REPORT, usage_id, in als_parse_report()
/Linux-v5.4/drivers/iio/temperature/
Dhid-sensor-temperature.c122 unsigned int usage_id, void *pdev) in temperature_proc_event() argument
137 unsigned int usage_id, size_t raw_len, in temperature_capture_sample() argument
143 switch (usage_id) { in temperature_capture_sample()
156 unsigned int usage_id, in temperature_parse_report() argument
162 usage_id, in temperature_parse_report()
179 HID_FEATURE_REPORT, usage_id, in temperature_parse_report()
/Linux-v5.4/drivers/iio/humidity/
Dhid-sensor-humidity.c124 unsigned int usage_id, void *pdev) in humidity_proc_event() argument
139 unsigned int usage_id, size_t raw_len, in humidity_capture_sample() argument
145 switch (usage_id) { in humidity_capture_sample()
159 unsigned int usage_id, in humidity_parse_report() argument
165 usage_id, in humidity_parse_report()
182 HID_FEATURE_REPORT, usage_id, in humidity_parse_report()
/Linux-v5.4/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c287 unsigned usage_id, in magn_3d_proc_event() argument
302 unsigned usage_id, in magn_3d_capture_sample() argument
312 switch (usage_id) { in magn_3d_capture_sample()
316 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AXIS) in magn_3d_capture_sample()
323 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH) in magn_3d_capture_sample()
345 unsigned usage_id, in magn_3d_parse_report() argument
360 usage_id, in magn_3d_parse_report()
444 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
454 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
464 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
/Linux-v5.4/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c193 unsigned usage_id, in gyro_3d_proc_event() argument
210 unsigned usage_id, in gyro_3d_capture_sample() argument
219 switch (usage_id) { in gyro_3d_capture_sample()
223 offset = usage_id - HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS; in gyro_3d_capture_sample()
239 unsigned usage_id, in gyro_3d_parse_report() argument
248 usage_id, in gyro_3d_parse_report()
271 HID_FEATURE_REPORT, usage_id, in gyro_3d_parse_report()
/Linux-v5.4/drivers/iio/pressure/
Dhid-sensor-press.c167 unsigned usage_id, in press_proc_event() argument
184 unsigned usage_id, in press_capture_sample() argument
192 switch (usage_id) { in press_capture_sample()
208 unsigned usage_id, in press_parse_report() argument
214 usage_id, in press_parse_report()
233 HID_FEATURE_REPORT, usage_id, in press_parse_report()
/Linux-v5.4/drivers/rtc/
Drtc-hid-sensor-time.c50 unsigned usage_id, void *priv) in hid_time_proc_event() argument
77 unsigned usage_id, size_t raw_len, in hid_time_capture_sample() argument
83 switch (usage_id) { in hid_time_capture_sample()
136 unsigned usage_id, in hid_time_parse_report() argument
143 HID_INPUT_REPORT, usage_id, in hid_time_parse_report()
/Linux-v5.4/drivers/iio/accel/
Dhid-sensor-accel-3d.c232 unsigned usage_id, in accel_3d_proc_event() argument
256 unsigned usage_id, in accel_3d_capture_sample() argument
265 switch (usage_id) { in accel_3d_capture_sample()
269 offset = usage_id - HID_USAGE_SENSOR_ACCEL_X_AXIS; in accel_3d_capture_sample()
291 unsigned usage_id, in accel_3d_parse_report() argument
300 usage_id, in accel_3d_parse_report()
323 HID_FEATURE_REPORT, usage_id, in accel_3d_parse_report()
/Linux-v5.4/Documentation/hid/
Dhid-sensor.rst95 u32 usage_id,
103 u32 usage_id):
112 u32 usage_id, u32 attr_usage_id,
142 u32 usage_id,