/linux-6.3-rc2/arch/arm/mach-omap2/ |
A 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, true); in omap_enter_idle_smp() 187 omap4_enter_lowpower(dev->cpu, cx->cpu_state, true); in omap_enter_idle_coupled()
|
A 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() 318 unsigned int cpu_state = 0; in omap4_hotplug_cpu() local 328 cpu_state = 1; in omap4_hotplug_cpu() 340 omap_pm_ops.finish_suspend(cpu_state); in omap4_hotplug_cpu()
|
A D | common.h | 287 int omap4_finish_suspend(unsigned long cpu_state); 297 static inline int omap4_finish_suspend(unsigned long cpu_state) in omap4_finish_suspend() argument
|
/linux-6.3-rc2/arch/sh/kernel/ |
A 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() 198 per_cpu(cpu_state, cpu) = CPU_ONLINE; in start_secondary() 216 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in __cpu_up()
|
/linux-6.3-rc2/arch/parisc/include/uapi/asm/ |
A D | pdc.h | 639 unsigned int cpu_state; member 672 unsigned int cpu_state; member 707 struct pim_cpu_state_cf cpu_state; member 717 struct pim_cpu_state_cf cpu_state; member
|
/linux-6.3-rc2/arch/loongarch/kernel/ |
A D | smp.c | 69 static DEFINE_PER_CPU(int, cpu_state); 236 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in loongson_prepare_cpus() 273 per_cpu(cpu_state, cpu) = CPU_ONLINE; in loongson_init_secondary() 313 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in loongson_cpu_die() 327 __this_cpu_write(cpu_state, CPU_DEAD); in play_dead()
|
/linux-6.3-rc2/arch/ia64/kernel/ |
A D | smpboot.c | 114 DEFINE_PER_CPU(int, cpu_state); 382 per_cpu(cpu_state, cpuid) = CPU_ONLINE; in smp_callin() 559 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in smp_prepare_boot_cpu() 665 if (per_cpu(cpu_state, cpu) == CPU_DEAD) in __cpu_die() 729 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in __cpu_up()
|
A D | process.c | 209 __this_cpu_write(cpu_state, CPU_DEAD); in play_dead()
|
/linux-6.3-rc2/arch/mips/cavium-octeon/ |
A D | smp.c | 285 static DEFINE_PER_CPU(int, cpu_state); 310 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in octeon_cpu_die() 348 per_cpu(cpu_state, cpu) = CPU_DEAD; in play_dead()
|
/linux-6.3-rc2/arch/ia64/include/asm/ |
A D | cpu.h | 16 DECLARE_PER_CPU(int, cpu_state);
|
/linux-6.3-rc2/arch/mips/loongson64/ |
A D | smp.c | 26 DEFINE_PER_CPU(int, cpu_state); 443 per_cpu(cpu_state, cpu) = CPU_ONLINE; in loongson3_init_secondary() 528 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in loongson3_prepare_cpus() 563 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in loongson3_cpu_die() 822 state_addr = &per_cpu(cpu_state, cpu); in play_dead()
|
/linux-6.3-rc2/arch/sh/include/asm/ |
A D | smp.h | 34 DECLARE_PER_CPU(int, cpu_state);
|
/linux-6.3-rc2/arch/arm/mach-exynos/ |
A 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()
|
/linux-6.3-rc2/arch/powerpc/kernel/ |
A D | smp.c | 73 static DEFINE_PER_CPU(int, cpu_state) = { 0 }; 1213 per_cpu(cpu_state, cpu) = CPU_DEAD; in generic_set_cpu_dead() 1223 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in generic_set_cpu_up() 1228 return per_cpu(cpu_state, cpu) == CPU_UP_PREPARE; in generic_check_cpu_restart() 1233 return per_cpu(cpu_state, cpu) == CPU_DEAD; in is_cpu_dead()
|
/linux-6.3-rc2/drivers/media/pci/cx18/ |
A D | cx18-scb.h | 103 u32 cpu_state; member
|
A D | cx18-scb.c | 104 cx18_writel(cx, SCB_OFFSET + offsetof(struct cx18_scb, cpu_state), in cx18_init_scb()
|
/linux-6.3-rc2/drivers/net/ethernet/qlogic/qed/ |
A D | qed_mcp.c | 443 u32 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2; in qed_mcp_print_cpu_info() local 447 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_print_cpu_info() 456 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2); in qed_mcp_print_cpu_info() 2782 u32 resp = 0, param = 0, cpu_state, cnt = 0; in qed_mcp_halt() local 2794 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_halt() 2795 if (cpu_state & MCP_REG_CPU_STATE_SOFT_HALTED) in qed_mcp_halt() 2802 qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state); in qed_mcp_halt() 2815 u32 cpu_mode, cpu_state; in qed_mcp_resume() local 2823 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_resume() 2825 if (cpu_state & MCP_REG_CPU_STATE_SOFT_HALTED) { in qed_mcp_resume() [all …]
|