Lines Matching refs:cpu_dev
111 struct device *cpu_dev; in _dev_pm_opp_cpumask_remove_table() local
120 cpu_dev = get_cpu_device(cpu); in _dev_pm_opp_cpumask_remove_table()
121 if (!cpu_dev) { in _dev_pm_opp_cpumask_remove_table()
127 dev_pm_opp_remove_table(cpu_dev); in _dev_pm_opp_cpumask_remove_table()
155 int dev_pm_opp_set_sharing_cpus(struct device *cpu_dev, in dev_pm_opp_set_sharing_cpus() argument
163 opp_table = _find_opp_table(cpu_dev); in dev_pm_opp_set_sharing_cpus()
168 if (cpu == cpu_dev->id) in dev_pm_opp_set_sharing_cpus()
173 dev_err(cpu_dev, "%s: failed to get cpu%d device\n", in dev_pm_opp_set_sharing_cpus()
205 int dev_pm_opp_get_sharing_cpus(struct device *cpu_dev, struct cpumask *cpumask) in dev_pm_opp_get_sharing_cpus() argument
211 opp_table = _find_opp_table(cpu_dev); in dev_pm_opp_get_sharing_cpus()
228 cpumask_set_cpu(cpu_dev->id, cpumask); in dev_pm_opp_get_sharing_cpus()