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 197
- drivers/iio/common/hid-sensors/hid-sensor-attributes.c, line 313
- drivers/iio/gyro/hid-sensor-gyro-3d.c, line 158
- drivers/iio/humidity/hid-sensor-humidity.c, line 114
- drivers/iio/light/hid-sensor-als.c, line 221
- drivers/iio/light/hid-sensor-prox.c, line 148
- drivers/iio/magnetometer/hid-sensor-magn-3d.c
- drivers/iio/orientation/hid-sensor-incl-3d.c, line 170
- drivers/iio/orientation/hid-sensor-rotation.c, line 178
- drivers/iio/position/hid-sensor-custom-intel-hinge.c, line 166
- drivers/iio/pressure/hid-sensor-press.c, line 137
- drivers/iio/temperature/hid-sensor-temperature.c, line 113
Smatch caller information:
drivers/iio/orientation/hid-sensor-rotation.c dev_rot_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| 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_write_raw() -> hid_sensor_write_raw_hyst_value()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 2 | val2 | (-2147483647)-s32max |
| DATA_SOURCE | 1 | val1 | $2 |
| DATA_SOURCE | 2 | val2 | $3 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| USER_DATA | 1 | val1 | s32min-s32max |
| USER_DATA | 2 | val2 | 0-s32max[c] |
| LOCK2 | &of->mutex | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |