Searched defs:cpu (Results 1 - 25 of 567) sorted by relevance

1234567891011>>

/arch/arm/mach-highbank/
H A Dhotplug.c27 int platform_cpu_kill(unsigned int cpu) argument
36 void platform_cpu_die(unsigned int cpu) argument
40 highbank_set_cpu_jump(cpu, secondary_startup);
46 panic("highbank: cpu %d unexpectedly exit from shutdown\n", cpu);
49 int platform_cpu_disable(unsigned int cpu) argument
55 return cpu == 0 ? -EPERM : 0;
H A Dplatsmp.c28 void __cpuinit platform_secondary_init(unsigned int cpu) argument
33 int __cpuinit boot_secondary(unsigned int cpu, struct task_struct *idle) argument
35 gic_raise_softirq(cpumask_of(cpu), 0);
/arch/ia64/include/asm/
H A Dcpu.h5 #include <linux/cpu.h>
10 struct cpu cpu; member in struct:ia64_cpu
/arch/powerpc/platforms/pasemi/
H A Dpasemi.h21 extern void restore_astate(int cpu);
28 static inline void restore_astate(int cpu) argument
/arch/alpha/include/asm/
H A Dtopology.h9 static inline int cpu_to_node(int cpu) argument
16 node = alpha_mv.cpuid_to_nid(cpu);
29 int cpu;
36 for_each_online_cpu(cpu) {
37 if (cpu_to_node(cpu) == node)
38 cpumask_set_cpu(cpu, node_to_cpumask_map[node]);
/arch/arm/include/asm/
H A Dcpu.h2 * arch/arm/include/asm/cpu.h
14 #include <linux/cpu.h>
17 struct cpu cpu; member in struct:cpuinfo_arm
/arch/arm/mach-omap2/
H A Domap-hotplug.c2 * OMAP4 SMP cpu-hotplug support
27 int platform_cpu_kill(unsigned int cpu) argument
36 void __ref platform_cpu_die(unsigned int cpu) argument
53 omap4_hotplug_cpu(cpu, PWRDM_POWER_OFF);
61 pr_debug("CPU%u: spurious wakeup call\n", cpu);
65 int platform_cpu_disable(unsigned int cpu) argument
71 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-ux500/
H A Dhotplug.c20 static inline void platform_do_lowpower(unsigned int cpu) argument
28 if (pen_release == cpu_logical_map(cpu)) {
37 int platform_cpu_kill(unsigned int cpu) argument
47 void platform_cpu_die(unsigned int cpu) argument
50 platform_do_lowpower(cpu);
53 int platform_cpu_disable(unsigned int cpu) argument
59 return cpu == 0 ? -EPERM : 0;
/arch/microblaze/kernel/cpu/
H A Dcpuinfo.c67 struct device_node *cpu = NULL; local
69 cpu = (struct device_node *) of_find_node_by_type(NULL, "cpu");
70 if (!cpu)
71 printk(KERN_ERR "You don't have cpu!!!\n");
80 set_cpuinfo_static(&cpuinfo, cpu);
87 set_cpuinfo_static(&cpuinfo, cpu);
88 set_cpuinfo_pvr_full(&cpuinfo, cpu);
92 set_cpuinfo_static(&cpuinfo, cpu);
H A Dcpuinfo-pvr-full.c33 void set_cpuinfo_pvr_full(struct cpuinfo *ci, struct device_node *cpu) argument
118 ci->cpu_clock_freq = fcpu(cpu, "timebase-frequency");
H A Dcpuinfo-static.c23 void __init set_cpuinfo_static(struct cpuinfo *ci, struct device_node *cpu) argument
28 (fcpu(cpu, "xlnx,use-barrel") ? PVR0_USE_BARREL_MASK : 0) |
29 (fcpu(cpu, "xlnx,use-msr-instr") ? PVR2_USE_MSR_INSTR : 0) |
30 (fcpu(cpu, "xlnx,use-pcmp-instr") ? PVR2_USE_PCMP_INSTR : 0) |
31 (fcpu(cpu, "xlnx,use-div") ? PVR0_USE_DIV_MASK : 0);
43 ci->use_mult = fcpu(cpu, "xlnx,use-hw-mul");
51 ci->use_fpu = fcpu(cpu, "xlnx,use-fpu");
59 (fcpu(cpu, "xlnx,unaligned-exceptions") ?
61 (fcpu(cpu, "xlnx,ill-opcode-exception") ?
63 (fcpu(cpu, "xln
[all...]
/arch/mips/include/asm/
H A Dbugs.h16 #include <asm/cpu.h>
17 #include <asm/cpu-info.h>
35 unsigned int cpu = smp_processor_id(); local
37 cpu_data[cpu].udelay_val = loops_per_jiffy;
/arch/x86/lib/
H A Dcache-smp.c9 void wbinvd_on_cpu(int cpu) argument
11 smp_call_function_single(cpu, __wbinvd, NULL, 1);
/arch/x86/vdso/
H A Dvgetcpu.c16 __vdso_getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *unused) argument
27 if (cpu)
28 *cpu = p & 0xfff;
34 long getcpu(unsigned *cpu, unsigned *node, struct getcpu_cache *tcache)
/arch/arm/mach-imx/
H A Dhotplug.c18 int platform_cpu_kill(unsigned int cpu) argument
66 void platform_cpu_die(unsigned int cpu) argument
69 imx_enable_cpu(cpu, false);
74 panic("cpu %d unexpectedly exit from shutdown\n", cpu);
77 int platform_cpu_disable(unsigned int cpu) argument
83 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-msm/
H A Dhotplug.c29 static inline void platform_do_lowpower(unsigned int cpu) argument
31 /* Just enter wfi for now. TODO: Properly shut off the cpu. */
41 if (pen_release == cpu_logical_map(cpu)) {
56 pr_debug("CPU%u: spurious wakeup call\n", cpu);
60 int platform_cpu_kill(unsigned int cpu) argument
70 void platform_cpu_die(unsigned int cpu) argument
76 platform_do_lowpower(cpu);
85 int platform_cpu_disable(unsigned int cpu) argument
91 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-shmobile/
H A Dhotplug.c22 int platform_cpu_kill(unsigned int cpu) argument
31 if (cpumask_test_cpu(cpu, &dead_cpus))
32 return shmobile_platform_cpu_kill(cpu);
40 void platform_cpu_die(unsigned int cpu) argument
47 cpumask_set_cpu(cpu, &dead_cpus);
63 int platform_cpu_disable(unsigned int cpu) argument
65 cpumask_clear_cpu(cpu, &dead_cpus);
70 return cpu == 0 ? -EPERM : 0;
/arch/blackfin/include/asm/
H A Dcpu.h14 struct cpu cpu; member in struct:blackfin_cpudata
/arch/sh/kernel/
H A Dlocaltimer.c47 void local_timer_setup(unsigned int cpu) argument
49 struct clock_event_device *clk = &per_cpu(local_clockevent, cpu);
59 clk->cpumask = cpumask_of(cpu);
64 void local_timer_stop(unsigned int cpu) argument
/arch/x86/include/asm/
H A Dcpu.h5 #include <linux/cpu.h>
18 #define cpu_physical_id(cpu) boot_cpu_physical_apicid
25 struct cpu cpu; member in struct:x86_cpu
/arch/x86/kernel/
H A Dcrash.c27 #include <asm/cpu.h>
35 static void kdump_nmi_callback(int cpu, struct pt_regs *regs) argument
47 crash_save_cpu(regs, cpu);
/arch/arm/mach-exynos/
H A Dhotplug.c64 static inline void platform_do_lowpower(unsigned int cpu, int *spurious) argument
69 if (cpu == 1)
80 if (pen_release == cpu_logical_map(cpu)) {
98 int platform_cpu_kill(unsigned int cpu) argument
108 void platform_cpu_die(unsigned int cpu) argument
116 platform_do_lowpower(cpu, &spurious);
125 pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious);
128 int platform_cpu_disable(unsigned int cpu) argument
134 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-realview/
H A Dhotplug.c58 static inline void platform_do_lowpower(unsigned int cpu, int *spurious) argument
74 if (pen_release == cpu_logical_map(cpu)) {
92 int platform_cpu_kill(unsigned int cpu) argument
102 void platform_cpu_die(unsigned int cpu) argument
110 platform_do_lowpower(cpu, &spurious);
119 pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious);
122 int platform_cpu_disable(unsigned int cpu) argument
128 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-tegra/
H A Dhotplug.c56 static inline void platform_do_lowpower(unsigned int cpu, int *spurious) argument
72 /*if (pen_release == cpu) {*/
90 int platform_cpu_kill(unsigned int cpu) argument
100 void platform_cpu_die(unsigned int cpu) argument
108 platform_do_lowpower(cpu, &spurious);
117 pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious);
120 int platform_cpu_disable(unsigned int cpu) argument
126 return cpu == 0 ? -EPERM : 0;
/arch/arm/mach-vexpress/
H A Dhotplug.c59 static inline void platform_do_lowpower(unsigned int cpu, int *spurious) argument
69 if (pen_release == cpu_logical_map(cpu)) {
87 int platform_cpu_kill(unsigned int cpu) argument
97 void platform_cpu_die(unsigned int cpu) argument
105 platform_do_lowpower(cpu, &spurious);
114 pr_warn("CPU%u: %u spurious wakeup calls\n", cpu, spurious);
117 int platform_cpu_disable(unsigned int cpu) argument
123 return cpu == 0 ? -EPERM : 0;

Completed in 1188 milliseconds

1234567891011>>