Lines Matching defs:cpu_dev
1217 struct device *cpu_dev;
1224 cpu_dev = get_cpu_device(cpu);
1225 if (!cpu_dev) {
1232 ret = dev_pm_opp_of_add_table(cpu_dev);
1262 * @cpu_dev using operating-points-v2
1265 * @cpu_dev: CPU device for which we do this operation
1268 * This updates the @cpumask with CPUs that are sharing OPPs with @cpu_dev.
1270 * Returns -ENOENT if operating-points-v2 isn't present for @cpu_dev.
1272 int dev_pm_opp_of_get_sharing_cpus(struct device *cpu_dev,
1279 dev_pm_opp_of_get_opp_desc_node(cpu_dev);
1282 dev_dbg(cpu_dev, "%s: Couldn't find opp node.\n", __func__);
1286 cpumask_set_cpu(cpu_dev->id, cpumask);
1293 if (cpu == cpu_dev->id)
1300 dev_err(cpu_dev, "%s: failed to get cpu%d node\n",