Lines Matching refs:cpu_dev
1060 struct device *cpu_dev;
1067 cpu_dev = get_cpu_device(cpu);
1068 if (!cpu_dev) {
1075 ret = dev_pm_opp_of_add_table(cpu_dev);
1105 * @cpu_dev using operating-points-v2
1108 * @cpu_dev: CPU device for which we do this operation
1111 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1113 * Returns -ENOENT if operating-points-v2 isn't present for @cpu_dev.
1115 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev,
1122 np = dev_pm_opp_of_get_opp_desc_node(cpu_dev);
1124 dev_dbg(cpu_dev, "%s: Couldn't find opp node.\n", __func__);
1128 cpumask_set_cpu(cpu_dev->id, cpumask);
1135 if (cpu == cpu_dev->id)
1140 dev_err(cpu_dev, "%s: failed to get cpu%d node\n",