Defined in 1 files as a function:
Referenced in 1 files:
Smatch caller information:
drivers/cpufreq/intel_pstate.c intel_cpufreq_cpu_init() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_data->hwp_cap_cached | 0 |
| PARAM_VALUE | 0 | cpu_data->hwp_req_cached | 0 |
| PARAM_VALUE | 0 | cpu_data->pstate.max_pstate | 0 |
| PARAM_VALUE | 0 | cpu_data->pstate.turbo_pstate | 0 |
| PARAM_VALUE | 1 | hwp_req_data | 0 |
| CAPPED_DATA | 0 | cpu_data->cpu | 1 |
| 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_cpu_init() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hwp_req_data | 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_get_energy_pref_index() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 1 | hwp_req_data | 0 |
| DATA_SOURCE | 0 | cpu_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &of->mutex | ||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &of->prealloc_mutex | ||
| HALF_LOCKED2 | &pool->lock | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem | ||
| TYPE_LOCK | (struct kernfs_open_file)->mutex |
drivers/cpufreq/intel_pstate.c intel_pstate_hwp_set() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_data->epp_policy | 2 |
| PARAM_VALUE | 0 | cpu_data->policy | 2 |
| PARAM_VALUE | 1 | hwp_req_data | 0-u16max |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &intel_pstate_limits_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/intel_pstate.c intel_pstate_hwp_set() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_data->epp_powersave | 0-s16max |
| PARAM_VALUE | 0 | cpu_data->policy | 0-1,3-u32max |
| PARAM_VALUE | 1 | hwp_req_data | 0-u16max |
| FUZZY_MAX | 0 | cpu_data->epp_powersave | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | global &intel_pstate_limits_lock | ||
| HALF_LOCKED2 | &of->mutex | ||
| HALF_LOCKED2 | &policy->rwsem |
drivers/cpufreq/intel_pstate.c intel_pstate_update_epp_defaults() -> intel_pstate_get_epp()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu_data | 4096-ptr_max |
| PARAM_VALUE | 0 | cpu_data->epp_default | s16min-(-1) |
| PARAM_VALUE | 1 | hwp_req_data | 0 |
| BUF_SIZE | 0 | cpu_data | (-1),528 |
| BUF_SIZE | 0 | cpu_data | (-1),528 |
| DATA_SOURCE | 0 | cpu_data | $0 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | &policy->rwsem |