Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 1 files as a function:

Referenced in 3 files:

Smatch caller information:

drivers/thermal/intel/intel_powerclamp.c idle_inject_update() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 1 run_duration_us 0-2500000,4294942296-u32max
DATA_SOURCE 1 run_duration_us r get_run_time
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 global &powerclamp_lock
HALF_LOCKED2 irq

drivers/thermal/intel/intel_powerclamp.c powerclamp_idle_injection_register() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 0 ii_dev 4096-ptr_max
PARAM_VALUE 1 run_duration_us 4000
BUF_SIZE 0 ii_dev 104-s32max
BUF_SIZE 0 ii_dev 104-s32max
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cdev->lock
LOCK2 global &powerclamp_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/thermal/intel/intel_powerclamp.c powerclamp_set_cur_state() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 1 run_duration_us 0-2500000,4294942296-u32max
DATA_SOURCE 1 run_duration_us r get_run_time
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cdev->lock
LOCK2 global &powerclamp_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/thermal/intel/intel_powerclamp.c trigger_idle_injection() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 1 run_duration_us 0-2500000,4294942296-u32max
DATA_SOURCE 1 run_duration_us r get_run_time
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cdev->lock
LOCK2 global &powerclamp_lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/thermal/cpuidle_cooling.c __cpuidle_cooling_register() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 0 ii_dev 4096-ptr_max
PARAM_VALUE 1 run_duration_us 4000
BUF_SIZE 0 ii_dev 104,112-1136
BUF_SIZE 0 ii_dev 104,112-1136
DATA_SOURCE 0 ii_dev r idle_inject_register
NOCHECK_CALL

drivers/thermal/cpuidle_cooling.c cpuidle_cooling_set_cur_state() -> idle_inject_set_duration()

Type Parameter Key Value
PARAM_VALUE 0 ii_dev 4096-ptr_max
DATA_SOURCE 1 run_duration_us r cpuidle_cooling_runtime
RX_PATH
TASK_NOT_RUNNING
NOCHECK_CALL
LOCK2 &cdev->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock