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
- drivers/iio/common/hid-sensors/hid-sensor-trigger.c
- drivers/iio/gyro/hid-sensor-gyro-3d.c
- drivers/iio/humidity/hid-sensor-humidity.c
- drivers/iio/light/hid-sensor-als.c
- drivers/iio/light/hid-sensor-prox.c
- drivers/iio/magnetometer/hid-sensor-magn-3d.c
- drivers/iio/orientation/hid-sensor-incl-3d.c
- drivers/iio/orientation/hid-sensor-rotation.c
- drivers/iio/position/hid-sensor-custom-intel-hinge.c
- drivers/iio/pressure/hid-sensor-press.c
- drivers/iio/temperature/hid-sensor-temperature.c
Smatch caller information:
drivers/iio/orientation/hid-sensor-rotation.c dev_rot_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/orientation/hid-sensor-rotation.c dev_rot_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/temperature/hid-sensor-temperature.c temperature_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/temperature/hid-sensor-temperature.c temperature_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/orientation/hid-sensor-incl-3d.c incl_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-prox.c prox_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-prox.c prox_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-als.c als_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/light/hid-sensor-als.c als_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/magnetometer/hid-sensor-magn-3d.c magn_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/position/hid-sensor-custom-intel-hinge.c hinge_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/common/hid-sensors/hid-sensor-trigger.c buffer_postenable() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock | ||
| HALF_LOCKED2 | &of->mutex |
drivers/iio/common/hid-sensors/hid-sensor-trigger.c buffer_predisable() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 0 |
| BUF_SIZE | 0 | st | s32min-(-2),1-s32max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | _T->lock |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/accel/hid-sensor-accel-3d.c accel_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/humidity/hid-sensor-humidity.c humidity_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/humidity/hid-sensor-humidity.c humidity_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/gyro/hid-sensor-gyro-3d.c gyro_3d_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/pressure/hid-sensor-press.c press_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 1 | state | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |
drivers/iio/pressure/hid-sensor-press.c press_read_raw() -> hid_sensor_power_state()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | st | 4096-ptr_max |
| PARAM_VALUE | 0 | st->hsdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->pdev | 4096-ptr_max |
| PARAM_VALUE | 0 | st->runtime_pm_enable.counter | 0-s32max |
| PARAM_VALUE | 1 | state | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | _T->lock |