Home
last modified time | relevance | path

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

/openbmc/linux/include/linux/
H A Dhid-sensor-hub.h27 u32 usage_id; member
50 u32 usage_id; member
92 u32 usage_id, size_t raw_len, char *raw_data,
127 u32 usage_id,
139 u32 usage_id);
157 u32 usage_id, u32 attr_usage_id,
179 u32 usage_id,
221 unsigned usage_id; member
251 u32 usage_id,
269 u32 report_id, int field_index, u32 usage_id);
[all …]
/openbmc/linux/drivers/iio/common/hid-sensors/
H A Dhid-sensor-attributes.c15 u32 usage_id; member
413 if (unit_conversion[i].usage_id == usage_id && in hid_sensor_format_scale()
437 u32 usage_id, in hid_sensor_get_reporting_interval() argument
441 HID_FEATURE_REPORT, usage_id, in hid_sensor_get_reporting_interval()
455 u32 usage_id, in hid_sensor_get_report_latency_info() argument
459 usage_id, in hid_sensor_get_report_latency_info()
497 u32 usage_id, in hid_sensor_parse_common_attributes() argument
511 HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
516 HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
524 HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
[all …]
/openbmc/linux/drivers/hid/
H A Dhid-sensor-hub.c49 u32 usage_id; member
99 u32 usage_id, in sensor_hub_get_callback() argument
110 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
128 u32 usage_id, in sensor_hub_register_callback() argument
137 if (callback->usage_id == usage_id && in sensor_hub_register_callback()
149 callback->usage_id = usage_id; in sensor_hub_register_callback()
170 u32 usage_id) in sensor_hub_remove_callback() argument
178 if (callback->usage_id == usage_id && in sensor_hub_remove_callback()
310 hsdev->pending.usage_id = usage_id; in sensor_hub_input_attr_get_raw_value()
376 u32 usage_id, in sensor_hub_input_get_attribute_info() argument
[all …]
H A Dhid-sensor-custom.c61 u32 usage_id; member
78 int usage_id; member
418 unsigned usage_id, size_t raw_len, in hid_sensor_capture_sample() argument
440 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
460 unsigned usage_id, void *priv) in hid_sensor_send_event() argument
492 sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; in hid_sensor_custom_add_field()
/openbmc/linux/tools/testing/selftests/hid/tests/
H A Dtest_wacom_generic.py542 def usage_id(page_name, usage_name): function
547 usage_id("Generic Desktop", "X"): PhysRange(
550 usage_id("Generic Desktop", "Y"): PhysRange(
553 usage_id("Digitizers", "Width"): PhysRange(
556 usage_id("Digitizers", "Height"): PhysRange(
567 usage_id("Wacom", "Wacom TouchRing"): PhysRange(
570 usage_id("Wacom", "Wacom Offset Left"): PhysRange(
573 usage_id("Wacom", "Wacom Offset Top"): PhysRange(
576 usage_id("Wacom", "Wacom Offset Right"): PhysRange(
579 usage_id("Wacom", "Wacom Offset Bottom"): PhysRange(
[all …]
/openbmc/linux/drivers/iio/orientation/
H A Dhid-sensor-incl-3d.c192 unsigned usage_id, in incl_3d_proc_event() argument
215 unsigned usage_id, in incl_3d_capture_sample() argument
223 switch (usage_id) { in incl_3d_capture_sample()
250 unsigned usage_id, in incl_3d_parse_report() argument
257 usage_id, in incl_3d_parse_report()
267 usage_id, in incl_3d_parse_report()
277 usage_id, in incl_3d_parse_report()
H A Dhid-sensor-rotation.c146 unsigned usage_id, in dev_rot_proc_event() argument
168 unsigned usage_id, in dev_rot_capture_sample() argument
175 if (usage_id == HID_USAGE_SENSOR_ORIENT_QUATERNION) { in dev_rot_capture_sample()
188 } else if (usage_id == HID_USAGE_SENSOR_TIME_TIMESTAMP) { in dev_rot_capture_sample()
200 unsigned usage_id, in dev_rot_parse_report() argument
207 usage_id, in dev_rot_parse_report()
/openbmc/linux/drivers/iio/humidity/
H A Dhid-sensor-humidity.c130 unsigned int usage_id, void *pdev) in humidity_proc_event() argument
144 unsigned int usage_id, size_t raw_len, in humidity_capture_sample() argument
150 switch (usage_id) { in humidity_capture_sample()
164 unsigned int usage_id, in humidity_parse_report() argument
170 usage_id, in humidity_parse_report()
/openbmc/linux/drivers/iio/temperature/
H A Dhid-sensor-temperature.c128 unsigned int usage_id, void *pdev) in temperature_proc_event() argument
142 unsigned int usage_id, size_t raw_len, in temperature_capture_sample() argument
148 switch (usage_id) { in temperature_capture_sample()
161 unsigned int usage_id, in temperature_parse_report() argument
167 usage_id, in temperature_parse_report()
/openbmc/linux/drivers/iio/position/
H A Dhid-sensor-custom-intel-hinge.c193 unsigned int usage_id, void *priv) in hinge_proc_event() argument
212 unsigned int usage_id, size_t raw_len, in hinge_capture_sample() argument
219 switch (usage_id) { in hinge_capture_sample()
223 offset = usage_id - HID_USAGE_SENSOR_DATA_FIELD_CUSTOM_VALUE(1); in hinge_capture_sample()
239 unsigned int usage_id, struct hinge_state *st) in hinge_parse_report() argument
247 usage_id, in hinge_parse_report()
/openbmc/linux/drivers/iio/gyro/
H A Dhid-sensor-gyro-3d.c190 unsigned usage_id, in gyro_3d_proc_event() argument
212 unsigned usage_id, in gyro_3d_capture_sample() argument
221 switch (usage_id) { in gyro_3d_capture_sample()
225 offset = usage_id - HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS; in gyro_3d_capture_sample()
247 unsigned usage_id, in gyro_3d_parse_report() argument
256 usage_id, in gyro_3d_parse_report()
/openbmc/linux/drivers/iio/light/
H A Dhid-sensor-als.c190 unsigned usage_id, in als_proc_event() argument
211 unsigned usage_id, in als_capture_sample() argument
220 switch (usage_id) { in als_capture_sample()
242 unsigned usage_id, in als_parse_report() argument
248 usage_id, in als_parse_report()
261 st->scale_precision = hid_sensor_format_scale(usage_id, &st->als_illum, in als_parse_report()
H A Dhid-sensor-prox.c166 unsigned usage_id, in prox_proc_event() argument
183 unsigned usage_id, in prox_capture_sample() argument
191 switch (usage_id) { in prox_capture_sample()
213 unsigned usage_id, in prox_parse_report() argument
219 usage_id, in prox_parse_report()
/openbmc/linux/drivers/rtc/
H A 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()
/openbmc/linux/drivers/iio/magnetometer/
H A Dhid-sensor-magn-3d.c283 unsigned usage_id, in magn_3d_proc_event() argument
305 unsigned usage_id, in magn_3d_capture_sample() argument
315 switch (usage_id) { in magn_3d_capture_sample()
319 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AXIS) in magn_3d_capture_sample()
326 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH) in magn_3d_capture_sample()
353 unsigned usage_id, in magn_3d_parse_report() argument
368 usage_id, in magn_3d_parse_report()
454 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
/openbmc/linux/drivers/iio/pressure/
H A Dhid-sensor-press.c168 unsigned usage_id, in press_proc_event() argument
188 unsigned usage_id, in press_capture_sample() argument
196 switch (usage_id) { in press_capture_sample()
216 unsigned usage_id, in press_parse_report() argument
222 usage_id, in press_parse_report()
/openbmc/linux/drivers/iio/accel/
H A Dhid-sensor-accel-3d.c236 unsigned usage_id, in accel_3d_proc_event() argument
260 unsigned usage_id, in accel_3d_capture_sample() argument
269 switch (usage_id) { in accel_3d_capture_sample()
273 offset = usage_id - HID_USAGE_SENSOR_ACCEL_X_AXIS; in accel_3d_capture_sample()
296 unsigned usage_id, in accel_3d_parse_report() argument
305 usage_id, in accel_3d_parse_report()
/openbmc/linux/Documentation/hid/
H A Dhid-sensor.rst95 u32 usage_id,
103 u32 usage_id):
112 u32 usage_id, u32 attr_usage_id,
142 u32 usage_id,