Home
last modified time | relevance | path

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

/arch/x86/kernel/cpu/
Dcpu.h5 struct cpu_dev { struct
39 static const struct cpu_dev *const __cpu_dev_##cpu_devX __used \ argument
43 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.c443 static const struct cpu_dev cyrix_cpu_dev = {
454 static const struct cpu_dev nsc_cpu_dev = {
Dcommon.c86 static const struct cpu_dev default_cpu = {
92 static const struct cpu_dev *this_cpu = &default_cpu;
416 static const struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {};
752 const struct cpu_dev *const *cdev; in early_cpu_init()
760 const struct cpu_dev *cpudev = *cdev; in early_cpu_init()
Dcentaur.c218 static const struct cpu_dev centaur_cpu_dev = {
Dintel.c693 static const struct cpu_dev intel_cpu_dev = {
Damd.c795 static const struct cpu_dev amd_cpu_dev = {
/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.c293 static void __init imx6q_opp_check_speed_grading(struct device *cpu_dev) in imx6q_opp_check_speed_grading() argument
324 if (dev_pm_opp_disable(cpu_dev, 1200000000)) in imx6q_opp_check_speed_grading()
327 if (dev_pm_opp_disable(cpu_dev, 996000000)) in imx6q_opp_check_speed_grading()
331 if (dev_pm_opp_disable(cpu_dev, 852000000)) in imx6q_opp_check_speed_grading()
342 struct device *cpu_dev = get_cpu_device(0); in imx6q_opp_init() local
344 if (!cpu_dev) { in imx6q_opp_init()
348 np = of_node_get(cpu_dev->of_node); in imx6q_opp_init()
354 if (of_init_opp_table(cpu_dev)) { in imx6q_opp_init()
359 imx6q_opp_check_speed_grading(cpu_dev); in imx6q_opp_init()
/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()
570 struct device *cpu_dev = get_cpu_device(cpu); in ve_spc_clk_init() local
571 if (!cpu_dev) { in ve_spc_clk_init()
[all …]
/arch/arm/mach-mvebu/
Dpmsu.c626 struct device *cpu_dev; in armada_xp_pmsu_cpufreq_init() local
630 cpu_dev = get_cpu_device(cpu); in armada_xp_pmsu_cpufreq_init()
631 if (!cpu_dev) { in armada_xp_pmsu_cpufreq_init()
636 clk = clk_get(cpu_dev, 0); in armada_xp_pmsu_cpufreq_init()
648 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk), 0); in armada_xp_pmsu_cpufreq_init()
654 ret = dev_pm_opp_add(cpu_dev, clk_get_rate(clk) / 2, 0); in armada_xp_pmsu_cpufreq_init()
/arch/arm/common/
DbL_switcher.c427 struct device *cpu_dev = get_cpu_device(i); in bL_switcher_restore_cpus() local
428 int ret = device_online(cpu_dev); in bL_switcher_restore_cpus()
430 dev_err(cpu_dev, "switcher: unable to restore CPU\n"); in bL_switcher_restore_cpus()