Documented in 1 files:
Defined in 1 files as a prototype:
Defined in 2 files as a function:
Referenced in 24 files:
- arch/arm/kernel/cpuidle.c, line 135
- arch/arm/mach-sunxi/mc_smp.c
- arch/riscv/kernel/cacheinfo.c, line 107
- arch/riscv/kernel/cpufeature.c
- drivers/base/cacheinfo.c
- drivers/cpufreq/cpufreq-dt-platdev.c, line 221
- drivers/cpufreq/kirkwood-cpufreq.c, line 112
- drivers/cpufreq/pmac32-cpufreq.c, line 621
- drivers/cpufreq/pmac64-cpufreq.c, line 652
- drivers/cpufreq/qcom-cpufreq-hw.c
- drivers/cpufreq/spear-cpufreq.c, line 177
- drivers/cpufreq/tegra124-cpufreq.c, line 59
- drivers/cpufreq/tegra20-cpufreq.c, line 25
- drivers/cpuidle/cpuidle-psci.c
- drivers/cpuidle/cpuidle-qcom-spm.c, line 94
- drivers/cpuidle/cpuidle-riscv-sbi.c
- drivers/cpuidle/dt_idle_states.c
- drivers/edac/a72_edac.c, line 191
- drivers/of/base.c, line 2119
- drivers/of/cpu.c
- drivers/opp/of.c, line 1297
- drivers/soc/qcom/spm.c, line 396
- drivers/thermal/cpuidle_cooling.c, line 249
- include/linux/cpufreq.h, line 1161
Smatch caller information:
drivers/opp/of.c dev_pm_opp_of_get_sharing_cpus() -> of_cpu_device_node_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 | &policy->rwsem |
drivers/soc/qcom/spm.c spm_get_cpu() -> of_cpu_device_node_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 |
drivers/cpufreq/tegra20-cpufreq.c cpu0_node_has_opp_v2_prop() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/of/cpu.c of_cpu_node_to_id() -> of_cpu_device_node_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 |
drivers/cpufreq/spear-cpufreq.c spear_cpufreq_probe() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/cpufreq/apple-soc-cpufreq.c parse_perf_domain() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-8192 |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| STR_LEN | 0 | cpu | 19,25 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/tegra124-cpufreq.c tegra124_cpufreq_probe() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
| RX_PATH | |||
| TASK_NOT_RUNNING |
drivers/base/cacheinfo.c cache_setup_of_node() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cpu | $0 |
| STR_LEN | 0 | cpu | (-1),8-9,11-29,31-34,38 |
| BIT_INFO | 0 | cpu | 0x0,0x7fffffff |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| HALF_LOCKED2 | global &cpuhp_state_mutex | ||
| HALF_LOCKED2 | irq |
drivers/base/cacheinfo.c init_of_cache_level() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cpu | $0 |
drivers/of/base.c of_find_last_cache_level() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| DATA_SOURCE | 0 | cpu | $0 |
drivers/cpufreq/cpufreq-dt-platdev.c cpu0_node_has_opp_v2_prop() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0 |
drivers/cpufreq/mediatek-cpufreq-hw.c parse_perf_domain() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-s32max |
| CAPPED_DATA | 0 | cpu | 1 |
| DATA_SOURCE | 0 | cpu | $0 |
| STR_LEN | 0 | cpu | 19,25 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_cpufreq_hw_cpu_init() -> of_cpu_device_node_get()
| Type | Parameter | Key | Value |
|---|---|---|---|
| PARAM_VALUE | 0 | cpu | 0-8192 |
| CAPPED_DATA | 0 | cpu | 1 |
| RX_PATH | |||
| TASK_NOT_RUNNING | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/cpufreq/qcom-cpufreq-hw.c qcom_get_related_cpus() -> of_cpu_device_node_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 | |||
| LOCK2 | &policy->rwsem | ||
| HALF_LOCKED2 | &sp->mutex | ||
| TYPE_LOCK | (struct cpufreq_policy)->rwsem |
drivers/thermal/cpuidle_cooling.c cpuidle_cooling_register() -> of_cpu_device_node_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 |