Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 13 files:
- drivers/iio/accel/hid-sensor-accel-3d.c, line 347
- drivers/iio/common/hid-sensors/hid-sensor-attributes.c, line 589
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 282
- drivers/iio/humidity/hid-sensor-humidity.c, line 210
- drivers/iio/light/hid-sensor-als.c, line 366
- drivers/iio/light/hid-sensor-prox.c, line 278
- drivers/iio/magnetometer/hid-sensor-magn-3d.c, line 472
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 313
- drivers/iio/orientation/hid-sensor-rotation.c, line 335
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 285
- drivers/iio/pressure/hid-sensor-press.c, line 248
- drivers/iio/temperature/hid-sensor-temperature.c, line 207
- drivers/rtc/rtc-hid-sensor-time.c, line 239
Smatch caller information:
drivers/iio/orientation/hid-sensor-rotation.c hid_dev_rot_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | hsdev->usage | 2097290,2097294,2097345 |
| PARAM_VALUE | 1 | usage_id | 2097290,2097294,2097345 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 7100537406769111040 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/temperature/hid-sensor-temperature.c hid_temperature_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097203 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 7269270540915490816 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 1 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/orientation/hid-sensor-incl-3d.c hid_incl_3d_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097286 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 4106894313854119936 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/light/hid-sensor-prox.c hid_prox_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 6126039015746002944 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/light/hid-sensor-als.c hid_als_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 154850472584044544 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/magnetometer/hid-sensor-magn-3d.c hid_magn_3d_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097283 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 5236432966109274112 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hid_hinge_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 4328722933305151488 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 1 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/accel/hid-sensor-accel-3d.c hid_accel_3d_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 622777386468892672 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 1 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/humidity/hid-sensor-humidity.c hid_humidity_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097202 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 200720411649884160 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 1 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/rtc/rtc-hid-sensor-time.c hid_time_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097312 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 0 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 0 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| MEM_ZERO | 2 | st | |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/iio/gyro/hid-sensor-gyro-3d.c hid_gyro_3d_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097270 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 6881912260217999360 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 1 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |
drivers/iio/pressure/hid-sensor-press.c hid_press_probe() -> hid_sensor_parse_common_attributes()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | usage_id | 2097201 |
| PARAM_VALUE | 2 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 3 | sensitivity_addresses | 7321627599434559488 |
| PARAM_VALUE | 4 | sensitivity_addresses_len | 2 |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 0 | hsdev | s32min-(-2),1-s32max |
| BUF_SIZE | 3 | sensitivity_addresses | 8 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| UNITS | 4 | sensitivity_addresses_len | unit_array_size |