Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 1 files as a function:
Referenced in 3 files:
- drivers/powercap/idle_inject.c
- drivers/thermal/cpuidle_cooling.c, line 143
- drivers/thermal/intel/intel_powerclamp.c, line 616
Smatch caller information:
drivers/thermal/intel/intel_powerclamp.c remove_idle_injection() -> idle_inject_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | global &powerclamp_lock | ||
| HALF_LOCKED2 | &cdev->lock |
drivers/thermal/cpuidle_cooling.c cpuidle_cooling_set_cur_state() -> idle_inject_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | ii_dev | 4096-ptr_max |
| PARAM_VALUE | 0 | ii_dev->idle_duration_us | 0-4294967295 |
| PARAM_VALUE | 0 | ii_dev->run_duration_us | 0-4294967295 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| LOCK2 | &cdev->lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| TYPE_LOCK | (struct thermal_cooling_device)->lock |
drivers/powercap/idle_inject.c idle_inject_unregister() -> idle_inject_stop()
| Type | Parameter | Key | Value |
|---|---|---|---|
| BUF_SIZE | 0 | ii_dev | (-1),104,112-1136 |
| BUF_SIZE | 0 | ii_dev | (-1),104,112-1136 |
| DATA_SOURCE | 0 | ii_dev | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| NOCHECK_CALL | |||
| HALF_LOCKED2 | global &powerclamp_lock |