Lines Matching full:cpus
30 cpumask_var_t cpus; member
50 if (cpumask_test_cpu(cpu, priv->cpus)) in cpufreq_dt_find_data()
129 cpumask_copy(policy->cpus, priv->cpus); in cpufreq_init()
211 if (!alloc_cpumask_var(&priv->cpus, GFP_KERNEL)) in dt_cpufreq_early_init()
214 cpumask_set_cpu(cpu, priv->cpus); in dt_cpufreq_early_init()
232 ret = dev_pm_opp_of_get_sharing_cpus(cpu_dev, priv->cpus); in dt_cpufreq_early_init()
238 * operating-points-v2 not supported, fallback to all CPUs share in dt_cpufreq_early_init()
240 * sharing CPUs. in dt_cpufreq_early_init()
242 if (dev_pm_opp_get_sharing_cpus(cpu_dev, priv->cpus)) in dt_cpufreq_early_init()
247 * Initialize OPP tables for all priv->cpus. They will be shared by in dt_cpufreq_early_init()
248 * all CPUs which have marked their CPUs shared with OPP bindings. in dt_cpufreq_early_init()
251 * before updating priv->cpus. Otherwise, we will end up creating in dt_cpufreq_early_init()
252 * duplicate OPPs for the CPUs. in dt_cpufreq_early_init()
257 ret = dev_pm_opp_of_cpumask_add_table(priv->cpus); in dt_cpufreq_early_init()
276 cpumask_setall(priv->cpus); in dt_cpufreq_early_init()
277 ret = dev_pm_opp_set_sharing_cpus(cpu_dev, priv->cpus); in dt_cpufreq_early_init()
294 dev_pm_opp_of_cpumask_remove_table(priv->cpus); in dt_cpufreq_early_init()
297 free_cpumask_var(priv->cpus); in dt_cpufreq_early_init()
308 dev_pm_opp_of_cpumask_remove_table(priv->cpus); in dt_cpufreq_release()
310 free_cpumask_var(priv->cpus); in dt_cpufreq_release()