Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/intel_pstate.c intel_cpufreq_fast_switch() -> intel_pstate_freq_to_hwp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 1 | freq | $1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &sg_policy->update_lock |
drivers/cpufreq/intel_pstate.c intel_pstate_hybrid_hwp_adjust() -> intel_pstate_freq_to_hwp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu->pstate.max_pstate | 0 |
| PARAM_VALUE | 0 | cpu->pstate.turbo_pstate | 0 |
| BUF_SIZE | 0 | cpu | (-1),528 |
| BUF_SIZE | 0 | cpu | (-1),528 |
| CAPPED_DATA | 0 | cpu->cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/intel_pstate.c intel_pstate_hybrid_hwp_adjust() -> intel_pstate_freq_to_hwp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu->pstate.max_pstate | 0 |
| PARAM_VALUE | 0 | cpu->pstate.turbo_pstate | 0 |
| BUF_SIZE | 0 | cpu | (-1),528 |
| BUF_SIZE | 0 | cpu | (-1),528 |
| CAPPED_DATA | 0 | cpu->cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/intel_pstate.c intel_pstate_update_perf_limits() -> intel_pstate_freq_to_hwp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 4096-ptr_max |
| DATA_SOURCE | 0 | cpu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &intel_pstate_limits_lock |
drivers/cpufreq/intel_pstate.c intel_pstate_update_perf_limits() -> intel_pstate_freq_to_hwp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 4096-ptr_max |
| DATA_SOURCE | 0 | cpu | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem | ||
| HALF_LOCKED2 | global &intel_pstate_limits_lock |