Home
last modified time | relevance | path

Searched refs:cpu_dev (Results 1 – 13 of 13) sorted by relevance

/arch/arm/mach-vexpress/
Dspc.c427 static int ve_init_opp_table(struct device *cpu_dev) in ve_init_opp_table() argument
433 cluster = topology_physical_package_id(cpu_dev->id); in ve_init_opp_table()
440 ret = dev_pm_opp_add(cpu_dev, opps->freq * 1000, opps->u_volt); in ve_init_opp_table()
442 dev_warn(cpu_dev, "failed to add opp %lu %lu\n", in ve_init_opp_table()
532 static struct clk *ve_spc_clk_register(struct device *cpu_dev) in ve_spc_clk_register() argument
544 spc->cluster = topology_physical_package_id(cpu_dev->id); in ve_spc_clk_register()
548 init.name = dev_name(cpu_dev); in ve_spc_clk_register()
553 return devm_clk_register(cpu_dev, &spc->hw); in ve_spc_clk_register()
571 struct device *cpu_dev = get_cpu_device(cpu); in ve_spc_clk_init() local
572 if (!cpu_dev) { in ve_spc_clk_init()
[all …]
/arch/powerpc/platforms/pseries/
Dpseries_energy.c230 struct device *cpu_dev; in pseries_energy_init() local
246 cpu_dev = get_cpu_device(cpu); in pseries_energy_init()
247 err = device_create_file(cpu_dev, in pseries_energy_init()
251 err = device_create_file(cpu_dev, in pseries_energy_init()
268 struct device *cpu_dev; in pseries_energy_cleanup() local
278 cpu_dev = get_cpu_device(cpu); in pseries_energy_cleanup()
279 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
281 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
/arch/arm/mach-imx/
Dmach-imx6q.c292 static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev) in imx6q_opp_check_speed_grading() argument
323 if (dev_pm_opp_disable(cpu_dev, 1200000000)) in imx6q_opp_check_speed_grading()
326 if (dev_pm_opp_disable(cpu_dev, 996000000)) in imx6q_opp_check_speed_grading()
330 if (dev_pm_opp_disable(cpu_dev, 852000000)) in imx6q_opp_check_speed_grading()
341 struct device *cpu_dev = get_cpu_device(0); in imx6q_opp_init() local
343 if (!cpu_dev) { in imx6q_opp_init()
347 np = of_node_get(cpu_dev->of_node); in imx6q_opp_init()
353 if (dev_pm_opp_of_add_table(cpu_dev)) { in imx6q_opp_init()
358 imx6q_opp_check_speed_grading(cpu_dev); in imx6q_opp_init()
/arch/x86/kernel/cpu/
Dcpu.h5 struct cpu_dev { struct
40 static const struct cpu_dev *const __cpu_dev_##cpu_devX __used \ argument
44 extern const struct cpu_dev *const __x86_cpu_dev_start[],
Dumc.c10 static const struct cpu_dev umc_cpu_dev = {
Dtransmeta.c100 static const struct cpu_dev transmeta_cpu_dev = {
Dcyrix.c444 static const struct cpu_dev cyrix_cpu_dev = {
455 static const struct cpu_dev nsc_cpu_dev = {
Dcentaur.c218 static const struct cpu_dev centaur_cpu_dev = {
Dcommon.c89 static const struct cpu_dev default_cpu = {
95 static const struct cpu_dev *this_cpu = &default_cpu;
467 static const struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {};
1086 const struct cpu_dev *const *cdev; in early_cpu_init()
1094 const struct cpu_dev *cpudev = *cdev; in early_cpu_init()
Dintel.c785 static const struct cpu_dev intel_cpu_dev = {
Damd.c965 static const struct cpu_dev amd_cpu_dev = {
/arch/arm/mach-mvebu/
Dpmsu.c653 struct device *cpu_dev; in armada_xp_pmsu_cpufreq_init() local
657 cpu_dev = get_cpu_device(cpu); in armada_xp_pmsu_cpufreq_init()
658 if (!cpu_dev) { in armada_xp_pmsu_cpufreq_init()
663 clk = clk_get(cpu_dev, 0); in armada_xp_pmsu_cpufreq_init()
675 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk), 0); in armada_xp_pmsu_cpufreq_init()
681 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk) / 2, 0); in armada_xp_pmsu_cpufreq_init()
/arch/arm/common/
DbL_switcher.c415 struct device *cpu_dev = get_cpu_device(i); in bL_switcher_restore_cpus() local
416 int ret = device_online(cpu_dev); in bL_switcher_restore_cpus()
418 dev_err(cpu_dev, "switcher: unable to restore CPU\n"); in bL_switcher_restore_cpus()