Searched refs:cpu_state (Results 1 – 13 of 13) sorted by relevance
/arch/arm/mach-omap2/ |
D | cpuidle44xx.c | 28 u32 cpu_state; member 36 .cpu_state = PWRDM_POWER_ON, 41 .cpu_state = PWRDM_POWER_OFF, 46 .cpu_state = PWRDM_POWER_OFF, 54 .cpu_state = PWRDM_POWER_ON, 59 .cpu_state = PWRDM_POWER_RET, 108 omap4_enter_lowpower(dev->cpu, cx->cpu_state); in omap_enter_idle_smp() 187 omap4_enter_lowpower(dev->cpu, cx->cpu_state); in omap_enter_idle_coupled()
|
D | omap-mpuss-lowpower.c | 85 int (*finish_suspend)(unsigned long cpu_state); 87 void (*scu_prepare)(unsigned int cpu_id, unsigned int cpu_state); 95 static int default_finish_suspend(unsigned long cpu_state) in default_finish_suspend() argument 104 static void dummy_scu_prepare(unsigned int cpu_id, unsigned int cpu_state) in dummy_scu_prepare() argument 129 static void scu_pwrst_prepare(unsigned int cpu_id, unsigned int cpu_state) in scu_pwrst_prepare() argument 134 switch (cpu_state) { in scu_pwrst_prepare() 311 unsigned int cpu_state = 0; in omap4_hotplug_cpu() local 321 cpu_state = 1; in omap4_hotplug_cpu() 333 omap_pm_ops.finish_suspend(cpu_state); in omap4_hotplug_cpu()
|
D | common.h | 307 int omap4_finish_suspend(unsigned long cpu_state); 317 static inline int omap4_finish_suspend(unsigned long cpu_state) in omap4_finish_suspend() argument
|
/arch/sh/kernel/ |
D | smp.c | 37 DEFINE_PER_CPU(int, cpu_state) = { 0 }; 79 per_cpu(cpu_state, cpu) = CPU_ONLINE; in smp_prepare_boot_cpu() 89 if (per_cpu(cpu_state, cpu) == CPU_DEAD) { in native_cpu_die() 113 __this_cpu_write(cpu_state, CPU_DEAD); in play_dead_common() 200 per_cpu(cpu_state, cpu) = CPU_ONLINE; in start_secondary() 218 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in __cpu_up()
|
/arch/ia64/include/asm/ |
D | cpu.h | 16 DECLARE_PER_CPU(int, cpu_state);
|
/arch/sh/include/asm/ |
D | smp.h | 35 DECLARE_PER_CPU(int, cpu_state);
|
/arch/ia64/kernel/ |
D | smpboot.c | 115 DEFINE_PER_CPU(int, cpu_state); 387 per_cpu(cpu_state, cpuid) = CPU_ONLINE; in smp_callin() 569 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in smp_prepare_boot_cpu() 679 if (per_cpu(cpu_state, cpu) == CPU_DEAD) in __cpu_die() 743 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in __cpu_up()
|
D | process.c | 219 __this_cpu_write(cpu_state, CPU_DEAD); in play_dead()
|
/arch/mips/loongson64/loongson-3/ |
D | smp.c | 25 DEFINE_PER_CPU(int, cpu_state); 312 per_cpu(cpu_state, cpu) = CPU_ONLINE; in loongson3_init_secondary() 388 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in loongson3_prepare_cpus() 443 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in loongson3_cpu_die() 688 state_addr = &per_cpu(cpu_state, cpu); in play_dead()
|
/arch/mips/cavium-octeon/ |
D | smp.c | 287 static DEFINE_PER_CPU(int, cpu_state); 315 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in octeon_cpu_die() 353 per_cpu(cpu_state, cpu) = CPU_DEAD; in play_dead()
|
/arch/arm/mach-exynos/ |
D | suspend.c | 63 int cpu_state; member 343 pm_state.cpu_state = readl_relaxed(pm_state.sysram_base + in exynos5420_pm_prepare() 486 writel_relaxed(pm_state.cpu_state, in exynos5420_pm_resume()
|
/arch/powerpc/kernel/ |
D | smp.c | 72 static DEFINE_PER_CPU(int, cpu_state) = { 0 }; 985 per_cpu(cpu_state, cpu) = CPU_DEAD; in generic_set_cpu_dead() 995 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in generic_set_cpu_up() 1000 return per_cpu(cpu_state, cpu) == CPU_UP_PREPARE; in generic_check_cpu_restart() 1005 return per_cpu(cpu_state, cpu) == CPU_DEAD; in is_cpu_dead()
|
/arch/parisc/include/uapi/asm/ |
D | pdc.h | 648 unsigned int cpu_state; member 681 unsigned int cpu_state; member
|