| /linux/Documentation/admin-guide/pm/ |
| H A D | suspend-flows.rst | 5 System Suspend Code Flows 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 20 the target sleep state is referred to as *system suspend* too (in the majority 25 The kernel code flows associated with the suspend and resume transitions for 27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows 28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and 31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states 33 boils down to the platform-specific actions carried out by the suspend and 35 available. Apart from that, the suspend and resume code flows for these sleep 37 *platform-dependent suspend* states in what follows. [all …]
|
| H A D | sleep-states.rst | 23 hibernation and up to three variants of system suspend. The sleep states that 28 Suspend-to-Idle 31 This is a generic, pure software, light-weight variant of system suspend (also 43 or :ref:`suspend-to-RAM <s2ram>`, or it can be used in addition to any of the 44 deeper system suspend variants to provide reduced resume latency. It is always 58 I/O devices into low-power states, which is done for :ref:`suspend-to-idle 61 allow more energy to be saved relative to :ref:`suspend-to-idle <s2idle>`, but 65 reduced relative to :ref:`suspend-to-idle <s2idle>` and it may be necessary to 70 core system suspend subsystem. On ACPI-based systems this state is mapped to 75 Suspend-to-RAM [all …]
|
| /linux/Documentation/power/ |
| H A D | swsusp.rst | 2 Swap suspend 11 If you touch anything on disk between suspend and resume... 20 problems. If your disk driver does not support suspend... (IDE does), 22 between suspend and resume, it may do something wrong. If you change 26 ( ) suspend/resume support is needed to make it safe. 28 If you have any filesystems on USB devices mounted before software suspend, 43 After preparing then you suspend by:: 51 - If you would like to write hibernation image to swap and then suspend 54 echo suspend > /sys/power/disk; echo disk > /sys/power/state 56 - If you have SATA disks, you'll need recent kernels with SATA suspend [all …]
|
| H A D | drivers-testing.rst | 2 Testing suspend and resume support in device drivers 10 Unfortunately, to effectively test the support for the system-wide suspend and 11 resume transitions in a driver, it is necessary to suspend and resume a fully 14 (aka suspend to disk or STD) and suspend to RAM (STR), because each of these 18 Of course, for this purpose the test system has to be known to suspend and 20 resolve all suspend/resume-related problems in the test system before you start 22 for more information about the debugging of suspend/resume functionality. 27 Once you have resolved the suspend/resume-related problems with your test system 42 e) Try the test modes of suspend (see: 47 f) Attempt to suspend to RAM using the s2ram tool with the driver loaded [all …]
|
| /linux/arch/arm/boot/dts/rockchip/ |
| H A D | rk3288-evb-rk808.dts | 47 regulator-off-in-suspend; 58 regulator-on-in-suspend; 59 regulator-suspend-microvolt = <1000000>; 68 regulator-on-in-suspend; 79 regulator-on-in-suspend; 80 regulator-suspend-microvolt = <3300000>; 91 regulator-on-in-suspend; 92 regulator-suspend-microvolt = <3300000>; 103 regulator-off-in-suspend; 114 regulator-on-in-suspend; [all …]
|
| /linux/arch/arm64/boot/dts/rockchip/ |
| H A D | px30-firefly-jd4-core.dtsi | 98 regulator-on-in-suspend; 99 regulator-suspend-microvolt = <950000>; 112 regulator-off-in-suspend; 113 regulator-suspend-microvolt = <950000>; 123 regulator-on-in-suspend; 135 regulator-on-in-suspend; 136 regulator-suspend-microvolt = <3000000>; 148 regulator-on-in-suspend; 149 regulator-suspend-microvolt = <3300000>; 161 regulator-on-in-suspend; [all …]
|
| H A D | rk3588-armsom-lm7.dtsi | 85 fcs,suspend-voltage-selector = <1>; 95 regulator-off-in-suspend; 102 fcs,suspend-voltage-selector = <1>; 112 regulator-off-in-suspend; 198 regulator-off-in-suspend; 211 regulator-off-in-suspend; 224 regulator-off-in-suspend; 225 regulator-suspend-microvolt = <750000>; 238 regulator-off-in-suspend; 251 regulator-off-in-suspend; [all …]
|
| H A D | rk3588-edgeble-neu6a-common.dtsi | 97 fcs,suspend-voltage-selector = <1>; 107 regulator-off-in-suspend; 114 fcs,suspend-voltage-selector = <1>; 124 regulator-off-in-suspend; 215 regulator-off-in-suspend; 228 regulator-off-in-suspend; 241 regulator-off-in-suspend; 242 regulator-suspend-microvolt = <750000>; 255 regulator-off-in-suspend; 268 regulator-off-in-suspend; [all …]
|
| H A D | rk3399-evb-ind.dts | 96 fcs,suspend-voltage-selector = <1>; 99 regulator-off-in-suspend; 116 fcs,suspend-voltage-selector = <1>; 119 regulator-off-in-suspend; 155 regulator-off-in-suspend; 169 regulator-off-in-suspend; 180 regulator-on-in-suspend; 193 regulator-on-in-suspend; 194 regulator-suspend-microvolt = <3300000>; 206 regulator-on-in-suspend; [all …]
|
| H A D | rk3582-radxa-e52c.dts | 208 fcs,suspend-voltage-selector = <1>; 218 regulator-off-in-suspend; 225 fcs,suspend-voltage-selector = <1>; 235 regulator-off-in-suspend; 254 fcs,suspend-voltage-selector = <1>; 264 regulator-off-in-suspend; 450 regulator-off-in-suspend; 463 regulator-off-in-suspend; 476 regulator-on-in-suspend; 477 regulator-suspend-microvolt = <750000>; [all …]
|
| H A D | rk3399-evb.dts | 208 regulator-on-in-suspend; 209 regulator-suspend-microvolt = <900000>; 221 regulator-off-in-suspend; 230 regulator-on-in-suspend; 241 regulator-on-in-suspend; 242 regulator-suspend-microvolt = <1800000>; 253 regulator-off-in-suspend; 264 regulator-off-in-suspend; 275 regulator-on-in-suspend; 276 regulator-suspend-microvolt = <1800000>; [all …]
|
| H A D | rk3326-anbernic-rg351m.dtsi | 196 regulator-on-in-suspend; 197 regulator-suspend-microvolt = <950000>; 210 regulator-off-in-suspend; 211 regulator-suspend-microvolt = <950000>; 221 regulator-on-in-suspend; 233 regulator-off-in-suspend; 234 regulator-suspend-microvolt = <3300000>; 246 regulator-on-in-suspend; 247 regulator-suspend-microvolt = <1800000>; 259 regulator-on-in-suspend; [all …]
|
| H A D | px30-evb.dts | 219 regulator-on-in-suspend; 220 regulator-suspend-microvolt = <950000>; 233 regulator-off-in-suspend; 234 regulator-suspend-microvolt = <950000>; 244 regulator-on-in-suspend; 256 regulator-on-in-suspend; 257 regulator-suspend-microvolt = <3000000>; 269 regulator-on-in-suspend; 270 regulator-suspend-microvolt = <3300000>; 282 regulator-on-in-suspend; [all …]
|
| /linux/arch/arm/boot/dts/samsung/ |
| H A D | exynos5422-samsung-k3g.dts | 96 regulator-off-in-suspend; 108 regulator-off-in-suspend; 120 regulator-off-in-suspend; 132 regulator-off-in-suspend; 144 regulator-off-in-suspend; 156 regulator-off-in-suspend; 202 regulator-on-in-suspend; 213 regulator-off-in-suspend; 225 regulator-on-in-suspend; 243 regulator-off-in-suspend; [all …]
|
| H A D | exynos5420-galaxy-tab-common.dtsi | 146 regulator-off-in-suspend; 158 regulator-off-in-suspend; 170 regulator-off-in-suspend; 182 regulator-off-in-suspend; 194 regulator-off-in-suspend; 207 regulator-off-in-suspend; 253 regulator-on-in-suspend; 264 regulator-off-in-suspend; 276 regulator-on-in-suspend; 295 regulator-off-in-suspend; [all …]
|
| /linux/Documentation/devicetree/bindings/mfd/ |
| H A D | rockchip,rk817.yaml | 242 regulator-on-in-suspend; 243 regulator-suspend-microvolt = <950000>; 256 regulator-off-in-suspend; 257 regulator-suspend-microvolt = <950000>; 267 regulator-on-in-suspend; 279 regulator-off-in-suspend; 280 regulator-suspend-microvolt = <3300000>; 292 regulator-on-in-suspend; 293 regulator-suspend-microvolt = <1800000>; 305 regulator-on-in-suspend; [all …]
|
| /linux/tools/power/pm-graph/config/ |
| H A D | suspend.cfg | 2 # Generic S3 (Suspend to Mem) test 9 # sudo ./sleepgraph.py -config config/suspend.cfg 20 # Suspend Mode 26 output-dir: suspend-{hostname}-{date}-{time} 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (default: false) 57 # Back to Back Suspend Delay [all …]
|
| H A D | suspend-x2-proc.cfg | 2 # Proc S3 (Suspend to Mem) x2 test - includes user processes 9 # sudo ./sleepgraph.py -config config/suspend-proc.cfg 20 # Suspend Mode 26 output-dir: suspend-{hostname}-{date}-{time}-x2-proc 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (default: false) 57 # Back to Back Suspend Delay [all …]
|
| H A D | suspend-dev.cfg | 2 # Dev S3 (Suspend to Mem) test - includes src calls / kernel threads 9 # sudo ./sleepgraph.py -config config/suspend-dev.cfg 20 # Suspend Mode 26 output-dir: suspend-{hostname}-{date}-{time}-dev 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 42 # Command to execute in lieu of suspend (default: "") 53 # Back to Back Suspend/Resume 54 # Run two suspend/resumes back to back (default: false) 57 # Back to Back Suspend Delay [all …]
|
| H A D | suspend-callgraph.cfg | 2 # Full Callgraph for S3 (Suspend to Mem) test 9 # sudo ./sleepgraph.py -config config/suspend.cfg 21 # Suspend Mode 27 output-dir: suspend-{hostname}-{date}-{time}-cg 37 # Suspend/Resume Gap 38 # insert a small visible gap between suspend and resume on the timeline (default: false) 43 # Command to execute in lieu of suspend (default: "") 54 # Back to Back Suspend/Resume 55 # Run two suspend/resumes back to back (default: false) 58 # Back to Back Suspend Delay [all …]
|
| H A D | example.cfg | 2 # Generic S3 (Suspend to Mem) test 20 # Suspend Mode 26 output-dir: suspend-{hostname}-{date}-{time} 36 # Suspend/Resume Gap 37 # insert a small visible gap between suspend and resume on the timeline (default: false) 44 # Sync filesystem before suspend 48 # Runtime suspend enable/disable 49 # Enable/disable runtime suspend for all devices, restore all after test (default: no-action) 66 # Command to execute in lieu of suspend (default: "") 81 # Back to Back Suspend/Resume [all …]
|
| /linux/tools/power/pm-graph/ |
| H A D | README | 8 pm-graph: suspend/resume/boot timing analysis tools 50 their linux stack's suspend/resume & boot time. Using a kernel image built 51 with a few extra options enabled, the tools will execute a suspend or boot, 54 and kernel processes are taking the most time in suspend/resume & boot. 107 in file: kernel/power/suspend.c 137 %> sudo ./sleepgraph.py -config config/suspend.cfg 141 files in subdirectory: suspend-mmddyy-HHMMSS. The ftrace file can 173 %> sudo ./sleepgraph.py -config config/suspend-dev.cfg 182 the period before and after suspend/resume. 189 successive suspend/resumes. [all …]
|
| /linux/kernel/power/ |
| H A D | suspend.c | 3 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 26 #include <linux/suspend.h> 66 * pm_suspend_default_s2idle - Check if suspend-to-idle is the default suspend. 68 * Return 'true' if suspend-to-idle has been selected as the default system 69 * suspend method. 135 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop() 138 * Suspend-to-idle equals: in s2idle_loop() 143 * Wakeups during the noirq suspend of devices may be spurious, so try in s2idle_loop() 160 pm_pr_dbg("resume from suspend-to-idle\n"); in s2idle_loop() 194 * Suspend-to-idle should be supported even without any suspend_ops, in pm_states_init() [all …]
|
| /linux/Documentation/driver-api/pm/ |
| H A D | notifiers.rst | 5 Suspend/Hibernation Notifiers 14 before hibernation/suspend or after restore/resume, but they require the system 15 to be fully functional, so the drivers' and subsystems' ``->suspend()`` and 24 ``->resume()`` routine. A suspend/hibernation notifier may be used for that. 26 Subsystems or drivers having such needs can register suspend notifiers that 50 The system is preparing for suspend. 53 The system has just resumed or an error occurred during suspend. Device 66 The hibernation and suspend notifiers are called with :c:data:`pm_mutex` held. 70 To register and/or unregister a suspend notifier use 72 respectively (both defined in :file:`include/linux/suspend.h`). If you don't [all …]
|
| /linux/arch/arm/boot/dts/microchip/ |
| H A D | at91-sama5d27_wlsom1.dtsi | 99 regulator-on-in-suspend; 104 regulator-off-in-suspend; 118 regulator-on-in-suspend; 119 regulator-suspend-microvolt = <1200000>; 120 regulator-changeable-in-suspend; 125 regulator-on-in-suspend; 126 regulator-suspend-microvolt = <1200000>; 127 regulator-changeable-in-suspend; 141 regulator-on-in-suspend; 146 regulator-off-in-suspend; [all …]
|