Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 12 files:
- drivers/iio/accel/hid-sensor-accel-3d.c, line 172
- drivers/iio/common/hid-sensors/hid-sensor-attributes.c, line 260
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 133
- drivers/iio/humidity/hid-sensor-humidity.c, line 94
- drivers/iio/light/hid-sensor-als.c, line 192
- drivers/iio/light/hid-sensor-prox.c, line 123
- drivers/iio/magnetometer/hid-sensor-magn-3d.c
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 145
- drivers/iio/orientation/hid-sensor-rotation.c, line 153
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 147
- drivers/iio/pressure/hid-sensor-press.c, line 112
- drivers/iio/temperature/hid-sensor-temperature.c, line 95
Smatch caller information:
drivers/iio/orientation/hid-sensor-rotation.c dev_rot_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 2039855607664033792 |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 2039855607664033796 |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/temperature/hid-sensor-temperature.c temperature_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val1 | 2039855607664033792 |
| PARAM_VALUE | 2 | val2 | 2039855607664033796 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/hid-sensor-prox.c prox_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/light/hid-sensor-als.c als_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 2039855607664033792 |
| PARAM_VALUE | 2 | val2 | 2039855607664033796 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/humidity/hid-sensor-humidity.c humidity_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | val1 | 2039855607664033792 |
| PARAM_VALUE | 2 | val2 | 2039855607664033796 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/iio/pressure/hid-sensor-press.c press_read_raw() -> hid_sensor_read_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | val1 | 4096-ptr_max |
| PARAM_VALUE | 1 | *val1 | 0 |
| PARAM_VALUE | 2 | val2 | 4096-ptr_max |
| PARAM_VALUE | 2 | *val2 | 0 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 1 | val1 | 16 |
| BUF_SIZE | 2 | val2 | 12 |
| BUF_SIZE | 2 | val2 | 12 |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |