Lines Matching +full:suspend +full:- +full:mode

2  * arch/arm/mach-lpc32xx/pm.c
17 * direct-run, and halt modes. When switching between halt and run modes,
18 * the CPU transistions through direct-run mode. For Linux, direct-run
19 * mode is not used in normal operation. Halt mode is used when the
22 * Run mode:
25 * the HCLK_PLL rate. Linux runs in this mode.
27 * Direct-run mode:
30 * source or the frequency of the main oscillator. In this mode, the
33 * Halt mode:
38 * wake the system up back into direct-run mode.
43 * SDRAM will still be accessible in direct-run mode. In DDR based systems,
44 * a transition to direct-run mode will stop all DDR accesses (no clocks).
46 * and exit DRAM self-refresh modes must not be executed in DRAM. A small
49 * Suspend is handled with the following logic:
50 * Backup a small area of IRAM used for the suspend code
51 * Copy suspend code to IRAM
53 * Places DRAMs in self-refresh mode
54 * Enter direct-run mode
57 * Enter halt mode - CPU and buses will stop
58 * System enters direct-run mode when an enabled event occurs
60 * Run mode is entered
61 * DRAMS are placed back into normal mode
63 * IRAM code are used for suspend is restored
64 * Suspend mode is exited
67 #include <linux/suspend.h>
79 * Both STANDBY and MEM suspend states are handled the same with no
91 return -ENOMEM; in lpc32xx_pm_enter()
94 * Copy code to suspend system into IRAM. The suspend code in lpc32xx_pm_enter()
103 /* Transfer to suspend code in IRAM */ in lpc32xx_pm_enter()
128 * Setup SDRAM self-refresh clock to automatically disable o in lpc32xx_pm_init()
129 * start of self-refresh. This only needs to be done once. in lpc32xx_pm_init()