Home
last modified time | relevance | path

Searched refs:cpu_state (Results 1 – 18 of 18) sorted by relevance

/kernel/linux/linux-5.10/arch/arm/mach-omap2/
Dcpuidle44xx.c28 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()
Domap-mpuss-lowpower.c84 int (*finish_suspend)(unsigned long cpu_state);
86 void (*scu_prepare)(unsigned int cpu_id, unsigned int cpu_state);
94 static int default_finish_suspend(unsigned long cpu_state) in default_finish_suspend() argument
103 static void dummy_scu_prepare(unsigned int cpu_id, unsigned int cpu_state) in dummy_scu_prepare() argument
128 static void scu_pwrst_prepare(unsigned int cpu_id, unsigned int cpu_state) in scu_pwrst_prepare() argument
133 switch (cpu_state) { in scu_pwrst_prepare()
308 unsigned int cpu_state = 0; in omap4_hotplug_cpu() local
318 cpu_state = 1; in omap4_hotplug_cpu()
330 omap_pm_ops.finish_suspend(cpu_state); in omap4_hotplug_cpu()
Dcommon.h314 int omap4_finish_suspend(unsigned long cpu_state);
324 static inline int omap4_finish_suspend(unsigned long cpu_state) in omap4_finish_suspend() argument
/kernel/linux/linux-5.10/arch/sh/kernel/
Dsmp.c37 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()
/kernel/linux/linux-5.10/arch/ia64/kernel/
Dsmpboot.c113 DEFINE_PER_CPU(int, cpu_state);
381 per_cpu(cpu_state, cpuid) = CPU_ONLINE; in smp_callin()
558 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in smp_prepare_boot_cpu()
668 if (per_cpu(cpu_state, cpu) == CPU_DEAD) in __cpu_die()
732 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in __cpu_up()
Dprocess.c207 __this_cpu_write(cpu_state, CPU_DEAD); in play_dead()
/kernel/linux/linux-5.10/arch/mips/loongson64/
Dsmp.c26 DEFINE_PER_CPU(int, cpu_state);
354 per_cpu(cpu_state, cpu) = CPU_ONLINE; in loongson3_init_secondary()
434 per_cpu(cpu_state, smp_processor_id()) = CPU_ONLINE; in loongson3_prepare_cpus()
490 while (per_cpu(cpu_state, cpu) != CPU_DEAD) in loongson3_cpu_die()
747 state_addr = &per_cpu(cpu_state, cpu); in play_dead()
/kernel/linux/linux-5.10/arch/ia64/include/asm/
Dcpu.h16 DECLARE_PER_CPU(int, cpu_state);
/kernel/linux/linux-5.10/arch/mips/cavium-octeon/
Dsmp.c287 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()
/kernel/linux/linux-5.10/arch/sh/include/asm/
Dsmp.h34 DECLARE_PER_CPU(int, cpu_state);
/kernel/linux/linux-5.10/arch/arm/mach-exynos/
Dsuspend.c63 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()
/kernel/linux/linux-5.10/kernel/sched/
Dcore_ctl.c65 static DEFINE_PER_CPU(struct cpu_data, cpu_state);
167 c = &per_cpu(cpu_state, cpu); in show_global_state()
675 c = &per_cpu(cpu_state, cpu); in core_ctl_check()
896 struct cpu_data *state = &per_cpu(cpu_state, cpu); in isolation_cpuhp_state()
1017 state = &per_cpu(cpu_state, cpu); in cluster_init()
/kernel/linux/linux-5.10/arch/powerpc/kernel/
Dsmp.c74 static DEFINE_PER_CPU(int, cpu_state) = { 0 };
1105 per_cpu(cpu_state, cpu) = CPU_DEAD; in generic_set_cpu_dead()
1115 per_cpu(cpu_state, cpu) = CPU_UP_PREPARE; in generic_set_cpu_up()
1120 return per_cpu(cpu_state, cpu) == CPU_UP_PREPARE; in generic_check_cpu_restart()
1125 return per_cpu(cpu_state, cpu) == CPU_DEAD; in is_cpu_dead()
/kernel/linux/linux-5.10/arch/parisc/include/uapi/asm/
Dpdc.h647 unsigned int cpu_state; member
680 unsigned int cpu_state; member
/kernel/linux/linux-5.10/drivers/media/pci/cx18/
Dcx18-scb.h103 u32 cpu_state; member
Dcx18-scb.c104 cx18_writel(cx, SCB_OFFSET + offsetof(struct cx18_scb, cpu_state), in cx18_init_scb()
/kernel/linux/linux-5.10/drivers/net/ethernet/qlogic/qed/
Dqed_mcp.c441 u32 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2; in qed_mcp_print_cpu_info() local
445 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_print_cpu_info()
454 cpu_mode, cpu_state, cpu_pc_0, cpu_pc_1, cpu_pc_2); in qed_mcp_print_cpu_info()
2732 u32 resp = 0, param = 0, cpu_state, cnt = 0; in qed_mcp_halt() local
2744 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_halt()
2745 if (cpu_state & MCP_REG_CPU_STATE_SOFT_HALTED) in qed_mcp_halt()
2752 qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_MODE), cpu_state); in qed_mcp_halt()
2765 u32 cpu_mode, cpu_state; in qed_mcp_resume() local
2773 cpu_state = qed_rd(p_hwfn, p_ptt, MCP_REG_CPU_STATE); in qed_mcp_resume()
2775 if (cpu_state & MCP_REG_CPU_STATE_SOFT_HALTED) { in qed_mcp_resume()
[all …]
/kernel/linux/patches/linux-5.10/imx8mm_patch/patches/drivers/
D0036_linux_drivers_staging.patch4946 + u32 cpu_state;