Documented in 1 files:

Defined in 1 files as a prototype:

Defined in 2 files as a function:

Referenced in 21 files:

Smatch caller information:

drivers/thermal/ti-soc-thermal/ti-thermal-common.c ti_thermal_register_cpu_cooling() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
RX_PATH
TASK_NOT_RUNNING

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_check_floor_freq() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_check_freq() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_check_freq_attrs() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit

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

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_epp() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0

drivers/cpufreq/amd-pstate-ut.c amd_pstate_ut_epp() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0

drivers/devfreq/governor_passive.c cpufreq_passive_register_notifier() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
CONSTRAINT 0 cpu <3035
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 _T->lock
HALF_LOCKED2 global &devfreq_list_lock

drivers/devfreq/governor_passive.c get_target_freq_with_cpufreq() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
RX_PATH
TASK_NOT_RUNNING
LOCK2 &devfreq->lock
TYPE_LOCK (struct devfreq)->lock

drivers/cpufreq/s5pv210-cpufreq.c s5pv210_cpufreq_reboot_notifier_event() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0

drivers/cpufreq/mediatek-cpufreq.c mtk_cpufreq_opp_notifier() -> cpufreq_cpu_get()

Type Parameter Key Value

drivers/powercap/dtpm_cpu.c __dtpm_cpu_setup() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
HALF_LOCKED2 global &dtpm_lock

drivers/powercap/dtpm_cpu.c pd_release() -> cpufreq_cpu_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/acpi/processor_thermal.c cpu_has_cpufreq() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &cdev->lock

drivers/acpi/processor_thermal.c cpufreq_update_thermal_limit() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &cdev->lock
HALF_LOCKED2 &of->mutex
TYPE_LOCK (struct thermal_cooling_device)->lock

drivers/cpufreq/brcmstb-avs-cpufreq.c brcm_avs_cpufreq_get() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem
HALF_LOCKED2 flags
HALF_LOCKED2 global &cpufreq_driver_lock

kernel/power/energy_model.c em_check_capacity_update() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r find_next_bit
RX_PATH
TASK_NOT_RUNNING

kernel/power/energy_model.c em_cpufreq_update_efficiencies() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-8192
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu r cpumask_first_and
RX_PATH
TASK_NOT_RUNNING
LOCK2 global &em_pd_mutex

drivers/cpufreq/cpufreq.c cpufreq_get() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0

drivers/cpufreq/cpufreq.c cpufreq_get_hw_max_freq() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0

drivers/cpufreq/cpufreq.c cpufreq_policy_is_good_for_eas() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
CONSTRAINT 0 cpu <3035
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 global &sched_domains_mutex

drivers/cpufreq/cpufreq.c cpufreq_quick_get() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &devfreq->lock
HALF_LOCKED2 &tz->lock

drivers/cpufreq/cpufreq.c cpufreq_quick_get_max() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex

drivers/cpufreq/cpufreq.c cpufreq_update_limits() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &pool->lock

drivers/cpufreq/cpufreq.c cpufreq_update_policy() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cpufreq/intel_pstate.c intel_pstate_update_max_freq() -> cpufreq_cpu_get()

Type Parameter Key Value
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock
HALF_LOCKED2 _T->lock

drivers/cpufreq/intel_pstate.c update_cpu_qos_request() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0-64
CAPPED_DATA 0 cpu 1
DATA_SOURCE 0 cpu $0
RX_PATH
TASK_NOT_RUNNING
LOCK2 &of->mutex
LOCK2 _T->lock
HALF_LOCKED2 &of->prealloc_mutex
HALF_LOCKED2 &pool->lock
TYPE_LOCK (struct kernfs_open_file)->mutex

drivers/cpufreq/amd-pstate.c amd_pstate_power_supply_notifier() -> cpufreq_cpu_get()

Type Parameter Key Value

drivers/cpufreq/amd-pstate.c amd_pstate_profile_set() -> cpufreq_cpu_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &pool->lock

drivers/cpufreq/amd-pstate.c amd_pstate_verify() -> cpufreq_cpu_get()

Type Parameter Key Value
RX_PATH
TASK_NOT_RUNNING
HALF_LOCKED2 &of->mutex
HALF_LOCKED2 &policy->rwsem

arch/x86/kvm/x86.c kvm_timer_init() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
PREEMPT_ADD <- disables preempt
LOCK2 _T->lock

drivers/thermal/imx_thermal.c imx_thermal_register_legacy_cooling() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
RX_PATH
TASK_NOT_RUNNING

drivers/gpu/drm/i915/gt/intel_llc.c cpu_max_MHz() -> cpufreq_cpu_get()

Type Parameter Key Value
PARAM_VALUE 0 cpu 0
RX_PATH
TASK_NOT_RUNNING
LOCK2 __flags