Lines Matching +full:suspend +full:- +full:to +full:- +full:ram
1 // SPDX-License-Identifier: GPL-2.0+
3 // Copyright (c) 2004-2006 Simtec Electronics
6 // S3C24XX Power Manager (Suspend-To-RAM) support
8 // See Documentation/arm/samsung-s3c24xx/suspend.rst for more information
10 // Parts based on arch/arm/mach-pxa/pm.c
12 // Thanks to Dimitry Andric for debugging
15 #include <linux/suspend.h>
24 #include "regs-clock.h"
25 #include "regs-gpio.h"
26 #include "regs-irq.h"
27 #include "gpio-samsung.h"
31 #include "gpio-cfg.h"
34 #include "regs-mem-s3c24xx.h"
36 #define PFX "s3c24xx-pm: "
42 * to the original system.
44 * if we cannot guarantee this, then things are going to go very
60 * check to see if the pin is configured correctly for sleep mode, and
98 * need to check whether it is an external interrupt source, in s3c_pm_configure_extint()
103 s3c_pm_check_resume_pin(pin, pin - S3C2410_GPF(0)); in s3c_pm_configure_extint()
107 s3c_pm_check_resume_pin(pin, (pin - S3C2410_GPG(0))+8); in s3c_pm_configure_extint()