Home
last modified time | relevance | path

Searched refs:cpu_dev (Results 1 – 16 of 16) 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()
530 static struct clk *ve_spc_clk_register(struct device *cpu_dev) in ve_spc_clk_register() argument
540 spc->cluster = topology_physical_package_id(cpu_dev->id); in ve_spc_clk_register()
544 init.name = dev_name(cpu_dev); in ve_spc_clk_register()
549 return devm_clk_register(cpu_dev, &spc->hw); in ve_spc_clk_register()
567 struct device *cpu_dev = get_cpu_device(cpu); in ve_spc_clk_init() local
568 if (!cpu_dev) { in ve_spc_clk_init()
[all …]
/arch/powerpc/platforms/pseries/
Dpseries_energy.c303 struct device *cpu_dev; in pseries_energy_init() local
318 cpu_dev = get_cpu_device(cpu); in pseries_energy_init()
319 err = device_create_file(cpu_dev, in pseries_energy_init()
323 err = device_create_file(cpu_dev, in pseries_energy_init()
340 struct device *cpu_dev; in pseries_energy_cleanup() local
350 cpu_dev = get_cpu_device(cpu); in pseries_energy_cleanup()
351 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
353 sysfs_remove_file(&cpu_dev->kobj, in pseries_energy_cleanup()
/arch/x86/kernel/cpu/
Dcpu.h6 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[],
Dintel_epb.c176 struct device *cpu_dev = get_cpu_device(cpu); in intel_epb_online() local
180 sysfs_merge_group(&cpu_dev->kobj, &intel_epb_attr_group); in intel_epb_online()
187 struct device *cpu_dev = get_cpu_device(cpu); in intel_epb_offline() local
190 sysfs_unmerge_group(&cpu_dev->kobj, &intel_epb_attr_group); in intel_epb_offline()
Dumc.c11 static const struct cpu_dev umc_cpu_dev = {
Dtransmeta.c103 static const struct cpu_dev transmeta_cpu_dev = {
Dcyrix.c448 static const struct cpu_dev cyrix_cpu_dev = {
459 static const struct cpu_dev nsc_cpu_dev = {
Dzhaoxin.c122 static const struct cpu_dev zhaoxin_cpu_dev = {
Dcentaur.c240 static const struct cpu_dev centaur_cpu_dev = {
Dhygon.c384 static const struct cpu_dev hygon_cpu_dev = {
Dcommon.c118 static const struct cpu_dev default_cpu = {
124 static const struct cpu_dev *this_cpu = &default_cpu;
649 static const struct cpu_dev *cpu_devs[X86_VENDOR_NUM] = {};
1481 const struct cpu_dev *const *cdev; in early_cpu_init()
1489 const struct cpu_dev *cpudev = *cdev; in early_cpu_init()
Dintel.c926 static const struct cpu_dev intel_cpu_dev = {
Damd.c1229 static const struct cpu_dev amd_cpu_dev = {
/arch/arm/mach-milbeaut/
Dplatsmp.c138 struct clk *m10v_clclk_register(struct device *cpu_dev);
/arch/arm/common/
DbL_switcher.c412 struct device *cpu_dev = get_cpu_device(i); in bL_switcher_restore_cpus() local
413 int ret = device_online(cpu_dev); in bL_switcher_restore_cpus()
415 dev_err(cpu_dev, "switcher: unable to restore CPU\n"); in bL_switcher_restore_cpus()
/arch/arc/kernel/
Dsetup.c619 struct device *cpu_dev = get_cpu_device(cpu_id); in show_cpuinfo() local
634 cpu_clk = clk_get(cpu_dev, NULL); in show_cpuinfo()