arm64: dts: Revert "specify console via command line"
[linux/fpc-iii.git] / arch / unicore32 / include / mach / pm.h
blobcb40b8490a5758a1cbca4bf318000ae013bb2d18
1 /* SPDX-License-Identifier: GPL-2.0-only */
2 /*
3 * linux/arch/unicore/include/mach/pm.h
5 * Code specific to PKUnity SoC and UniCore ISA
7 * Copyright (C) 2001-2010 GUAN Xue-tao
8 */
9 #ifndef __PUV3_PM_H__
10 #define __PUV3_PM_H__
12 #include <linux/suspend.h>
14 struct puv3_cpu_pm_fns {
15 int save_count;
16 void (*save)(unsigned long *);
17 void (*restore)(unsigned long *);
18 int (*valid)(suspend_state_t state);
19 void (*enter)(suspend_state_t state);
20 int (*prepare)(void);
21 void (*finish)(void);
24 extern struct puv3_cpu_pm_fns *puv3_cpu_pm_fns;
26 /* sleep.S */
27 extern void puv3_cpu_suspend(unsigned int);
29 extern void puv3_cpu_resume(void);
31 extern int puv3_pm_enter(suspend_state_t state);
33 /* Defined in hibernate_asm.S */
34 extern int restore_image(pgd_t *resume_pg_dir, struct pbe *restore_pblist);
36 extern struct pbe *restore_pblist;
37 #endif