Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 8 files:

Smatch caller information:

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_check_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 0 cpunum 0-64
PARAM_VALUE 1 perf_caps 6699689115486474240
CAPPED_DATA 0 cpunum 1
DATA_SOURCE 0 cpunum r find_next_bit
CONSTRAINT 0 cpunum <3035
HOST_DATA 1 perf_caps->guaranteed_perf 0-u32max
HOST_DATA 1 perf_caps->highest_perf 0-u32max
HOST_DATA 1 perf_caps->lowest_freq 0-u32max
HOST_DATA 1 perf_caps->lowest_nonlinear_perf 0-u32max
HOST_DATA 1 perf_caps->lowest_perf 0-u32max
HOST_DATA 1 perf_caps->nominal_freq 0-u32max
HOST_DATA 1 perf_caps->nominal_perf 0-u32max
HOST_DATA 1 perf_caps->reference_perf 0-u32max

drivers/acpi/cppc_acpi.c show_guaranteed_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 6005831352399482880
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_highest_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 8512474228381085696
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_lowest_freq() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 3213899870722748416
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_lowest_nonlinear_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 4734127743766601728
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_lowest_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 5581335968035758080
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_nominal_freq() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 2421391473079566336
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_nominal_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 1039999235927330816
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/acpi/cppc_acpi.c show_reference_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 1238635038771671040
PARAM_VALUE 1 perf_caps->guaranteed_perf 0
PARAM_VALUE 1 perf_caps->highest_perf 0
PARAM_VALUE 1 perf_caps->lowest_freq 0
PARAM_VALUE 1 perf_caps->lowest_nonlinear_perf 0
PARAM_VALUE 1 perf_caps->lowest_perf 0
PARAM_VALUE 1 perf_caps->nominal_freq 0
PARAM_VALUE 1 perf_caps->nominal_perf 0
PARAM_VALUE 1 perf_caps->reference_perf 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cpufreq/acpi-cpufreq.c get_max_boost_ratio() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 0 cpunum 0-s32max
PARAM_VALUE 1 perf_caps 5069804103862579200
CAPPED_DATA 0 cpunum 1
DATA_SOURCE 0 cpunum $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_cppc_get_scaling() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 92103105639665664
CAPPED_DATA 0 cpunum 1
DATA_SOURCE 0 cpunum $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_cppc_guaranteed() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 697809876554985472
DATA_SOURCE 0 cpunum $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_set_itmt_prio() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 0 cpunum 0-s32max
PARAM_VALUE 1 perf_caps 168372144011321344
CAPPED_DATA 0 cpunum 1
DATA_SOURCE 0 cpunum $0
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_init_freq() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 0 cpunum 0-8192
PARAM_VALUE 1 perf_caps 7368992052850319360
CAPPED_DATA 0 cpunum 1
RX_PATH
TASK_NOT_RUNNING
LOCK2 &policy->rwsem
HALF_LOCKED2 &sp->mutex
TYPE_LOCK (struct cpufreq_policy)->rwsem

drivers/cpufreq/amd-pstate.c shmem_init_perf() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 1 perf_caps 2644821981575004160

arch/x86/kernel/acpi/cppc.c amd_set_max_freq_ratio() -> cppc_get_perf_caps()

Type Parameter Key Value
PARAM_VALUE 0 cpunum 0
PARAM_VALUE 1 perf_caps 4211983544504434688
LOCK2 global &freq_invariance_lock