Home
last modified time | relevance | path

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

/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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 …]
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/drivers/iio/orientation/
Dhid-sensor-incl-3d.c190 unsigned usage_id, in incl_3d_proc_event() argument
207 unsigned usage_id, in incl_3d_capture_sample() argument
215 switch (usage_id) { in incl_3d_capture_sample()
237 unsigned usage_id, in incl_3d_parse_report() argument
244 usage_id, in incl_3d_parse_report()
254 usage_id, in incl_3d_parse_report()
264 usage_id, in incl_3d_parse_report()
286 HID_FEATURE_REPORT, usage_id, in incl_3d_parse_report()
Dhid-sensor-rotation.c146 unsigned usage_id, in dev_rot_proc_event() argument
163 unsigned usage_id, in dev_rot_capture_sample() argument
170 if (usage_id == HID_USAGE_SENSOR_ORIENT_QUATERNION) { in dev_rot_capture_sample()
184 unsigned usage_id, in dev_rot_parse_report() argument
191 usage_id, in dev_rot_parse_report()
214 HID_FEATURE_REPORT, usage_id, in dev_rot_parse_report()
/kernel/linux/linux-5.10/drivers/iio/light/
Dhid-sensor-prox.c165 unsigned usage_id, in prox_proc_event() argument
182 unsigned usage_id, in prox_capture_sample() argument
190 switch (usage_id) { in prox_capture_sample()
206 unsigned usage_id, in prox_parse_report() argument
212 usage_id, in prox_parse_report()
226 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
236 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
Dhid-sensor-als.c181 unsigned usage_id, in als_proc_event() argument
198 unsigned usage_id, in als_capture_sample() argument
207 switch (usage_id) { in als_capture_sample()
224 unsigned usage_id, in als_parse_report() argument
230 usage_id, in als_parse_report()
251 HID_FEATURE_REPORT, usage_id, in als_parse_report()
/kernel/linux/linux-5.10/drivers/iio/temperature/
Dhid-sensor-temperature.c123 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()
/kernel/linux/linux-5.10/drivers/iio/humidity/
Dhid-sensor-humidity.c125 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()
/kernel/linux/linux-5.10/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c285 unsigned usage_id, in magn_3d_proc_event() argument
300 unsigned usage_id, in magn_3d_capture_sample() argument
310 switch (usage_id) { in magn_3d_capture_sample()
314 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AXIS) in magn_3d_capture_sample()
321 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH) in magn_3d_capture_sample()
343 unsigned usage_id, in magn_3d_parse_report() argument
358 usage_id, in magn_3d_parse_report()
442 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
452 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
462 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
/kernel/linux/linux-5.10/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c191 unsigned usage_id, in gyro_3d_proc_event() argument
208 unsigned usage_id, in gyro_3d_capture_sample() argument
217 switch (usage_id) { in gyro_3d_capture_sample()
221 offset = usage_id - HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS; in gyro_3d_capture_sample()
237 unsigned usage_id, in gyro_3d_parse_report() argument
246 usage_id, in gyro_3d_parse_report()
269 HID_FEATURE_REPORT, usage_id, in gyro_3d_parse_report()
/kernel/linux/linux-5.10/drivers/iio/pressure/
Dhid-sensor-press.c165 unsigned usage_id, in press_proc_event() argument
182 unsigned usage_id, in press_capture_sample() argument
190 switch (usage_id) { in press_capture_sample()
206 unsigned usage_id, in press_parse_report() argument
212 usage_id, in press_parse_report()
231 HID_FEATURE_REPORT, usage_id, in press_parse_report()
/kernel/linux/linux-5.10/drivers/iio/accel/
Dhid-sensor-accel-3d.c233 unsigned usage_id, in accel_3d_proc_event() argument
257 unsigned usage_id, in accel_3d_capture_sample() argument
266 switch (usage_id) { in accel_3d_capture_sample()
270 offset = usage_id - HID_USAGE_SENSOR_ACCEL_X_AXIS; in accel_3d_capture_sample()
292 unsigned usage_id, in accel_3d_parse_report() argument
301 usage_id, in accel_3d_parse_report()
324 HID_FEATURE_REPORT, usage_id, in accel_3d_parse_report()
/kernel/linux/linux-5.10/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()
/kernel/linux/linux-5.10/Documentation/hid/
Dhid-sensor.rst95 u32 usage_id,
103 u32 usage_id):
112 u32 usage_id, u32 attr_usage_id,
142 u32 usage_id,