Home
last modified time | relevance | path

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

/linux-4.19.296/include/linux/
Dhid-sensor-hub.h40 u32 usage_id; member
63 u32 usage_id; member
105 u32 usage_id, size_t raw_len, char *raw_data,
107 int (*send_event)(struct hid_sensor_hub_device *hsdev, u32 usage_id,
140 u32 usage_id,
152 u32 usage_id);
170 u32 usage_id, u32 attr_usage_id,
192 u32 usage_id,
233 unsigned usage_id; member
262 u32 usage_id,
[all …]
/linux-4.19.296/drivers/iio/common/hid-sensors/
Dhid-sensor-attributes.c30 u32 usage_id; member
361 int hid_sensor_format_scale(u32 usage_id, in hid_sensor_format_scale() argument
372 if (unit_conversion[i].usage_id == usage_id && in hid_sensor_format_scale()
396 u32 usage_id, in hid_sensor_get_reporting_interval() argument
400 HID_FEATURE_REPORT, usage_id, in hid_sensor_get_reporting_interval()
414 u32 usage_id, in hid_sensor_get_report_latency_info() argument
418 usage_id, in hid_sensor_get_report_latency_info()
456 u32 usage_id, in hid_sensor_parse_common_attributes() argument
464 hid_sensor_get_reporting_interval(hsdev, usage_id, st); in hid_sensor_parse_common_attributes()
467 HID_FEATURE_REPORT, usage_id, in hid_sensor_parse_common_attributes()
[all …]
/linux-4.19.296/drivers/hid/
Dhid-sensor-hub.c63 u32 usage_id; member
113 u32 usage_id, in sensor_hub_get_callback() argument
124 if ((callback->usage_id == usage_id || in sensor_hub_get_callback()
125 callback->usage_id == HID_USAGE_SENSOR_COLLECTION) && in sensor_hub_get_callback()
142 u32 usage_id, in sensor_hub_register_callback() argument
151 if (callback->usage_id == usage_id && in sensor_hub_register_callback()
163 callback->usage_id = usage_id; in sensor_hub_register_callback()
173 if (usage_id == HID_USAGE_SENSOR_COLLECTION) in sensor_hub_register_callback()
184 u32 usage_id) in sensor_hub_remove_callback() argument
192 if (callback->usage_id == usage_id && in sensor_hub_remove_callback()
[all …]
Dhid-sensor-custom.c65 u32 usage_id; member
82 int usage_id; member
425 unsigned usage_id, size_t raw_len, in hid_sensor_capture_sample() argument
447 header.usage_id = hsdev->usage; in hid_sensor_capture_sample()
467 unsigned usage_id, void *priv) in hid_sensor_send_event() argument
499 sensor_field->attribute.usage_id = sensor_inst->hsdev->usage; in hid_sensor_custom_add_field()
/linux-4.19.296/drivers/iio/orientation/
Dhid-sensor-incl-3d.c204 unsigned usage_id, in incl_3d_proc_event() argument
221 unsigned usage_id, in incl_3d_capture_sample() argument
229 switch (usage_id) { in incl_3d_capture_sample()
251 unsigned usage_id, in incl_3d_parse_report() argument
258 usage_id, in incl_3d_parse_report()
268 usage_id, in incl_3d_parse_report()
278 usage_id, in incl_3d_parse_report()
300 HID_FEATURE_REPORT, usage_id, in incl_3d_parse_report()
Dhid-sensor-rotation.c156 unsigned usage_id, in dev_rot_proc_event() argument
173 unsigned usage_id, in dev_rot_capture_sample() argument
180 if (usage_id == HID_USAGE_SENSOR_ORIENT_QUATERNION) { in dev_rot_capture_sample()
194 unsigned usage_id, in dev_rot_parse_report() argument
201 usage_id, in dev_rot_parse_report()
224 HID_FEATURE_REPORT, usage_id, in dev_rot_parse_report()
/linux-4.19.296/drivers/iio/temperature/
Dhid-sensor-temperature.c136 unsigned int usage_id, void *pdev) in temperature_proc_event() argument
150 unsigned int usage_id, size_t raw_len, in temperature_capture_sample() argument
156 switch (usage_id) { in temperature_capture_sample()
169 unsigned int usage_id, in temperature_parse_report() argument
175 usage_id, in temperature_parse_report()
192 HID_FEATURE_REPORT, usage_id, in temperature_parse_report()
/linux-4.19.296/drivers/iio/humidity/
Dhid-sensor-humidity.c138 unsigned int usage_id, void *pdev) in humidity_proc_event() argument
152 unsigned int usage_id, size_t raw_len, in humidity_capture_sample() argument
158 switch (usage_id) { in humidity_capture_sample()
172 unsigned int usage_id, in humidity_parse_report() argument
178 usage_id, in humidity_parse_report()
195 HID_FEATURE_REPORT, usage_id, in humidity_parse_report()
/linux-4.19.296/drivers/iio/light/
Dhid-sensor-prox.c179 unsigned usage_id, in prox_proc_event() argument
196 unsigned usage_id, in prox_capture_sample() argument
204 switch (usage_id) { in prox_capture_sample()
220 unsigned usage_id, in prox_parse_report() argument
226 usage_id, in prox_parse_report()
240 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
250 HID_FEATURE_REPORT, usage_id, in prox_parse_report()
Dhid-sensor-als.c196 unsigned usage_id, in als_proc_event() argument
213 unsigned usage_id, in als_capture_sample() argument
222 switch (usage_id) { in als_capture_sample()
239 unsigned usage_id, in als_parse_report() argument
245 usage_id, in als_parse_report()
266 HID_FEATURE_REPORT, usage_id, in als_parse_report()
/linux-4.19.296/drivers/iio/magnetometer/
Dhid-sensor-magn-3d.c300 unsigned usage_id, in magn_3d_proc_event() argument
315 unsigned usage_id, in magn_3d_capture_sample() argument
325 switch (usage_id) { in magn_3d_capture_sample()
329 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_MAGN_FLUX_X_AXIS) in magn_3d_capture_sample()
336 offset = (usage_id - HID_USAGE_SENSOR_ORIENT_COMP_MAGN_NORTH) in magn_3d_capture_sample()
358 unsigned usage_id, in magn_3d_parse_report() argument
373 usage_id, in magn_3d_parse_report()
457 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
467 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
477 HID_FEATURE_REPORT, usage_id, in magn_3d_parse_report()
/linux-4.19.296/drivers/iio/gyro/
Dhid-sensor-gyro-3d.c206 unsigned usage_id, in gyro_3d_proc_event() argument
223 unsigned usage_id, in gyro_3d_capture_sample() argument
232 switch (usage_id) { in gyro_3d_capture_sample()
236 offset = usage_id - HID_USAGE_SENSOR_ANGL_VELOCITY_X_AXIS; in gyro_3d_capture_sample()
252 unsigned usage_id, in gyro_3d_parse_report() argument
261 usage_id, in gyro_3d_parse_report()
284 HID_FEATURE_REPORT, usage_id, in gyro_3d_parse_report()
/linux-4.19.296/drivers/iio/pressure/
Dhid-sensor-press.c179 unsigned usage_id, in press_proc_event() argument
196 unsigned usage_id, in press_capture_sample() argument
204 switch (usage_id) { in press_capture_sample()
220 unsigned usage_id, in press_parse_report() argument
226 usage_id, in press_parse_report()
245 HID_FEATURE_REPORT, usage_id, in press_parse_report()
/linux-4.19.296/drivers/rtc/
Drtc-hid-sensor-time.c63 unsigned usage_id, void *priv) in hid_time_proc_event() argument
90 unsigned usage_id, size_t raw_len, in hid_time_capture_sample() argument
96 switch (usage_id) { in hid_time_capture_sample()
149 unsigned usage_id, in hid_time_parse_report() argument
156 HID_INPUT_REPORT, usage_id, in hid_time_parse_report()
/linux-4.19.296/drivers/iio/accel/
Dhid-sensor-accel-3d.c248 unsigned usage_id, in accel_3d_proc_event() argument
272 unsigned usage_id, in accel_3d_capture_sample() argument
281 switch (usage_id) { in accel_3d_capture_sample()
285 offset = usage_id - HID_USAGE_SENSOR_ACCEL_X_AXIS; in accel_3d_capture_sample()
308 unsigned usage_id, in accel_3d_parse_report() argument
317 usage_id, in accel_3d_parse_report()
340 HID_FEATURE_REPORT, usage_id, in accel_3d_parse_report()