Searched refs:cpu_state (Results 1 - 14 of 14) sorted by relevance

/linux-master/arch/arm/mach-omap2/
H A Domap-mpuss-lowpower.c85 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) argument
104 static void dummy_scu_prepare(unsigned int cpu_id, unsigned int cpu_state) argument
129 static void scu_pwrst_prepare(unsigned int cpu_id, unsigned int cpu_state) argument
134 switch (cpu_state) {
318 unsigned int cpu_state = 0; local
328 cpu_state = 1;
340 omap_pm_ops.finish_suspend(cpu_state);
H A Dcpuidle44xx.c28 u32 cpu_state; member in struct:idle_statedata
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);
187 omap4_enter_lowpower(dev->cpu, cx->cpu_state, true);
H A Dcommon.h287 int omap4_finish_suspend(unsigned long cpu_state);
297 static inline int omap4_finish_suspend(unsigned long cpu_state) argument
/linux-master/arch/sh/kernel/
H A Dsmp.c37 DEFINE_PER_CPU(int, cpu_state) = { 0 };
79 per_cpu(cpu_state, cpu) = CPU_ONLINE;
89 if (per_cpu(cpu_state, cpu) == CPU_DEAD) {
113 __this_cpu_write(cpu_state, CPU_DEAD);
198 per_cpu(cpu_state, cpu) = CPU_ONLINE;
216 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE;
/linux-master/arch/sh/include/asm/
H A Dsmp.h34 DECLARE_PER_CPU(int, cpu_state);
/linux-master/arch/parisc/include/uapi/asm/
H A Dpdc.h646 unsigned int cpu_state; member in struct:pdc_hpmc_pim_11
679 unsigned int cpu_state; member in struct:pdc_hpmc_pim_20
714 struct pim_cpu_state_cf cpu_state; member in struct:pdc_toc_pim_11
724 struct pim_cpu_state_cf cpu_state; member in struct:pdc_toc_pim_20
/linux-master/arch/loongarch/kernel/
H A Dsmp.c67 static DEFINE_PER_CPU(int, cpu_state);
308 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
345 per_cpu(cpu_state, cpu) = CPU_ONLINE;
386 while (per_cpu(cpu_state, cpu) != CPU_DEAD)
400 __this_cpu_write(cpu_state, CPU_DEAD);
/linux-master/arch/mips/cavium-octeon/
H A Dsmp.c286 static DEFINE_PER_CPU(int, cpu_state);
311 while (per_cpu(cpu_state, cpu) != CPU_DEAD)
350 per_cpu(cpu_state, cpu) = CPU_DEAD;
/linux-master/arch/mips/loongson64/
H A Dsmp.c27 DEFINE_PER_CPU(int, cpu_state);
430 per_cpu(cpu_state, cpu) = CPU_ONLINE;
515 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE;
550 while (per_cpu(cpu_state, cpu) != CPU_DEAD)
810 state_addr = &per_cpu(cpu_state, cpu);
/linux-master/arch/arm/mach-exynos/
H A Dsuspend.c63 int cpu_state; member in struct:exynos_pm_state
344 pm_state.cpu_state = readl_relaxed(pm_state.sysram_base +
487 writel_relaxed(pm_state.cpu_state,
/linux-master/arch/powerpc/kernel/
H A Dsmp.c76 static DEFINE_PER_CPU(int, cpu_state) = { 0 };
1225 per_cpu(cpu_state, cpu) = CPU_DEAD;
1229 * The cpu_state should be set to CPU_UP_PREPARE in kick_cpu(), otherwise
1230 * the cpu_state is always CPU_DEAD after calling generic_set_cpu_dead(),
1235 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE;
1240 return per_cpu(cpu_state, cpu) == CPU_UP_PREPARE;
1245 return per_cpu(cpu_state, cpu) == CPU_DEAD;
/linux-master/drivers/media/pci/cx18/
H A Dcx18-scb.h103 u32 cpu_state; member in struct:cx18_scb
H A Dcx18-scb.c104 cx18_writel(cx, SCB_OFFSET + offsetof(struct cx18_scb, cpu_state),
/linux-master/drivers/net/ethernet/qlogic/qed/
H A Dqed_mcp.c443 u32 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2; local
447 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
456 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2);
2782 u32 resp = 0, param = 0, cpu_state, cnt = 0; local
2794 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
2795 if (cpu_state & MCP_REG_CPU_STATE_SOFT_HALTED)
2802 qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state);
2815 u32 cpu_mode, cpu_state; local
2823 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE);
2825 if (cpu_state
[all...]

Completed in 210 milliseconds