Searched defs:cpu_dev (Results 1 - 8 of 8) sorted by relevance

/drivers/cpufreq/
H A Dvexpress-spc-cpufreq.c29 static int ve_spc_init_opp_table(struct device *cpu_dev) argument
35 return dev_pm_opp_get_opp_count(cpu_dev) <= 0;
38 static int ve_spc_get_transition_latency(struct device *cpu_dev) argument
H A Darm_big_little_dt.c46 static int dt_init_opp_table(struct device *cpu_dev) argument
51 np = of_node_get(cpu_dev->of_node);
53 pr_err("failed to find cpu%d node\n", cpu_dev->id);
57 ret = of_init_opp_table(cpu_dev);
63 static int dt_get_transition_latency(struct device *cpu_dev) argument
68 np = of_node_get(cpu_dev->of_node);
H A Dhighbank-cpufreq.c64 struct device *cpu_dev; local
73 cpu_dev = get_cpu_device(0);
74 if (!cpu_dev) {
79 np = of_node_get(cpu_dev->of_node);
85 cpu_clk = clk_get(cpu_dev, NULL);
H A Dcpufreq-dt.c33 struct device *cpu_dev; member in struct:private_data
45 struct device *cpu_dev = priv->cpu_dev; local
62 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_Hz);
65 dev_err(cpu_dev, "failed to find OPP for %ld\n",
75 dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n",
83 dev_err(cpu_dev, "failed to scale voltage up: %d\n",
91 dev_err(cpu_dev, "failed to set clock rate: %d\n", ret);
101 dev_err(cpu_dev, "failed to scale voltage down: %d\n",
113 struct device *cpu_dev; local
187 struct device *cpu_dev; local
345 struct device *cpu_dev; local
[all...]
H A Dimx6q-cpufreq.c33 static struct device *cpu_dev; variable in typeref:struct:device
52 opp = dev_pm_opp_find_freq_ceil(cpu_dev, &freq_hz);
55 dev_err(cpu_dev, "failed to find OPP for %ld\n", freq_hz);
63 dev_dbg(cpu_dev, "%u MHz, %ld mV --> %u MHz, %ld mV\n",
72 dev_err(cpu_dev, "failed to scale vddpu up: %d\n", ret);
78 dev_err(cpu_dev, "failed to scale vddsoc up: %d\n", ret);
83 dev_err(cpu_dev,
108 dev_err(cpu_dev, "failed to set clock rate: %d\n", ret);
117 dev_warn(cpu_dev,
123 dev_warn(cpu_dev, "faile
[all...]
H A Darm_big_little.c283 static void _put_cluster_clk_and_freq_table(struct device *cpu_dev) argument
285 u32 cluster = raw_cpu_to_cluster(cpu_dev->id);
291 dev_pm_opp_free_cpufreq_table(cpu_dev, &freq_table[cluster]);
292 dev_dbg(cpu_dev, "%s: cluster: %d\n", __func__, cluster);
295 static void put_cluster_clk_and_freq_table(struct device *cpu_dev) argument
297 u32 cluster = cpu_to_cluster(cpu_dev->id);
304 return _put_cluster_clk_and_freq_table(cpu_dev);
320 static int _get_cluster_clk_and_freq_table(struct device *cpu_dev) argument
322 u32 cluster = raw_cpu_to_cluster(cpu_dev->id);
329 ret = arm_bL_ops->init_opp_table(cpu_dev);
363 get_cluster_clk_and_freq_table(struct device *cpu_dev) argument
427 struct device *cpu_dev; local
476 struct device *cpu_dev; local
[all...]
H A Dcpufreq.c880 struct device *cpu_dev; local
886 cpu_dev = get_cpu_device(j);
887 ret = sysfs_create_link(&cpu_dev->kobj, &policy->kobj,
1092 struct device *cpu_dev)
1100 ret = kobject_move(&policy->kobj, &cpu_dev->kobj);
1382 struct device *cpu_dev = get_cpu_device(new_cpu); local
1384 sysfs_remove_link(&cpu_dev->kobj, "cpufreq");
1385 ret = update_policy_cpu(policy, new_cpu, cpu_dev);
1387 if (sysfs_create_link(&cpu_dev->kobj, &policy->kobj,
1390 __func__, cpu_dev
1091 update_policy_cpu(struct cpufreq_policy *policy, unsigned int cpu, struct device *cpu_dev) argument
[all...]
/drivers/cpuidle/
H A Dsysfs.c612 struct device *cpu_dev = get_cpu_device((unsigned long)dev->cpu); local
623 error = kobject_init_and_add(&kdev->kobj, &ktype_cpuidle, &cpu_dev->kobj,

Completed in 125 milliseconds