Defined in 1 files as a function:

Referenced in 1 files:

Smatch caller information:

drivers/cpufreq/amd-pstate.c amd_pstate_cpu_online() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/amd-pstate.c amd_pstate_epp_resume() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 global &device_hotplug_lock

drivers/cpufreq/amd-pstate.c amd_pstate_init_freq() -> freq_to_perf()

Type Parameter Key Value
PARAM_VALUE 2 freq_val 1-u32max
RX_PATH
TASK_NOT_RUNNING
HOST_DATA 1 nominal_freq 0-u32max
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/amd-pstate.c amd_pstate_resume() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 global &device_hotplug_lock

drivers/cpufreq/amd-pstate.c amd_pstate_resume() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &system_transition_mutex
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 global &device_hotplug_lock

drivers/cpufreq/amd-pstate.c amd_pstate_update_freq() -> freq_to_perf()

Type Parameter Key Value
DATA_SOURCE 2 freq_val $1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 freq_val

drivers/cpufreq/amd-pstate.c amd_pstate_update_min_max_limit() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 freq_val

drivers/cpufreq/amd-pstate.c amd_pstate_update_min_max_limit() -> freq_to_perf()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 freq_val

drivers/cpufreq/amd-pstate.c store_amd_pstate_floor_freq() -> freq_to_perf()

Type Parameter Key Value
CAPPED_DATA 2 freq_val 1
RX_PATH
TASK_NOT_RUNNING
NO_OVERFLOW_SIMPLE 2 freq_val
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 _T->lock