Lines Matching refs:cpu_dev
1251 struct device *cpu_dev;
1258 cpu_dev = get_cpu_device(cpu);
1259 if (!cpu_dev) {
1266 ret = dev_pm_opp_of_add_table(cpu_dev);
1296 * @cpu_dev using operating-points-v2
1299 * @cpu_dev: CPU device for which we do this operation
1302 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1304 * Returns -ENOENT if operating-points-v2 isn't present for @cpu_dev.
1306 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev,
1313 np = dev_pm_opp_of_get_opp_desc_node(cpu_dev);
1315 dev_dbg(cpu_dev, "%s: Couldn't find opp node.\n", __func__);
1319 cpumask_set_cpu(cpu_dev->id, cpumask);
1326 if (cpu == cpu_dev->id)
1331 dev_err(cpu_dev, "%s: failed to get cpu%d node\n",