Searched +full:suspend +full:- +full:to +full:- +full:ram (Results 1 – 25 of 269) sorted by relevance
1234567891011
/Linux-v5.10/kernel/power/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 2 config SUSPEND config 3 bool "Suspend to RAM and standby" 7 Allow the system to enter sleep states in which main memory is 9 suspend-to-RAM state (e.g. the ACPI S3 state). 12 bool "Enable freezer for suspend to RAM/standby" \ 14 depends on SUSPEND 17 This allows you to turn off the freezer for suspend. If this is 18 done, no tasks are frozen for suspend to RAM/standby. 23 bool "Skip kernel's sys_sync() on suspend to RAM/standby" [all …]
|
/Linux-v5.10/Documentation/power/ |
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, 35 You need to append resume=/dev/your_swap_partition to kernel command 43 After preparing then you suspend by:: 47 - If you feel ACPI works pretty well on your system, you might try:: 51 - If you would like to write hibernation image to swap and then suspend [all …]
|
D | userland-swsusp.rst | 2 Documentation for userland software suspend interface 12 Now, to use the userland interface for software suspend you need special 13 utilities that will read/write the system memory snapshot from/to the 15 <http://suspend.sourceforge.net>. You may want to have a look at them if you 16 are going to develop your own suspend/resume utilities. 25 reading, it is considered to be in the suspend mode. Otherwise it is 26 assumed to be in the resume mode. The device cannot be open for simultaneous 27 reading and writing. It is also impossible to have the device open more than 39 and SNAPSHOT_ATOMIC_RESTORE to succeed 46 last argument of ioctl() should be a pointer to an int variable, [all …]
|
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 21 testing the new driver. Please see Documentation/power/basic-pm-debugging.rst 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 28 without the new driver, you are ready to test it: [all …]
|
D | basic-pm-debugging.rst | 2 Debugging hibernation and suspend 7 1. Testing hibernation (aka suspend to disk or STD) 10 To check if hibernation works, you can try to hibernate in the "reboot" mode:: 15 and the system should create a hibernation image, reboot, resume and get back to 17 hibernation is most likely to work correctly. Still, you need to repeat the 21 modes causes the PM core to skip some platform-related callbacks which on ACPI 22 systems might be necessary to make hibernation work. Thus, if your machine 23 fails to hibernate or resume in the "reboot" mode, you should try the 38 (it is similar to the "reboot" mode, but it requires you to press the power 39 button to make the system resume). [all …]
|
D | charger-manager.rst | 7 Charger Manager provides in-kernel battery charger management that 8 requires temperature monitoring during suspend-to-RAM state 10 wants to look at the aggregated information of the multiple chargers. 12 Charger Manager is a platform_driver with power-supply-class entries. 13 An instance of Charger Manager (a platform-device created with Charger-Manager) 26 own power-supply-class and each power-supply-class can provide 28 aggregates charger-related information from multiple sources and 29 shows combined information as a single power-supply-class. 31 * Support for in suspend-to-RAM polling (with suspend_again callback) 32 While the battery is being charged and the system is in suspend-to-RAM, [all …]
|
D | suspend-and-cpuhotplug.rst | 2 Interaction of Suspend code (S3) with the CPU hotplug infrastructure 5 (C) 2011 - 2014 Srivatsa S. Bhat <srivatsa.bhat@linux.vnet.ibm.com> 8 I. Differences between CPU hotplug and Suspend-to-RAM 11 How does the regular CPU hotplug code differ from how the Suspend-to-RAM 14 Well, a picture is worth a thousand words... So ASCII art follows :-) 17 interactions involving the freezer and CPU hotplug and also tries to explain 21 What happens when regular CPU hotplug and Suspend-to-RAM race with each other 24 On a high level, the suspend-resume cycle goes like this:: 26 |Freeze| -> |Disable nonboot| -> |Do suspend| -> |Enable nonboot| -> |Thaw | 32 Suspend call path [all …]
|
D | freezing-of-tasks.rst | 11 kernel threads are controlled during hibernation or system-wide suspend (on some 17 There are three per-task flags used for that, PF_NOFREEZE, PF_FROZEN 21 suspend state as well as before a hibernation image is created (in what follows 22 we only consider hibernation, but the description also applies to suspend). 25 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 26 variable system_freezing_cnt (as opposed to a per-task flag) is used to indicate 27 whether the system is to undergo a freezing operation. And freeze_processes() 29 fake signal to all user space processes, and wakes up all the kernel threads. 30 All freezable tasks must react to that by calling try_to_freeze(), which 31 results in a call to __refrigerator() (defined in kernel/freezer.c), which sets [all …]
|
/Linux-v5.10/Documentation/admin-guide/pm/ |
D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 Sleep states are global low-power states of the entire system in which user 22 the Linux kernel can support up to four system sleep states, including 23 hibernation and up to three variants of system suspend. The sleep states that 28 Suspend-to-Idle 29 --------------- 31 This is a generic, pure software, light-weight variant of system suspend (also 32 referred to as S2I or S2Idle). It allows more energy to be saved relative to 34 I/O devices into low-power states (possibly lower-power than available in the 38 The system is woken up from this state by in-band interrupts, so theoretically [all …]
|
D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 System Suspend Code Flows 12 At least one global system-wide transition needs to be carried out for the 13 system to get from the working state into one of the supported 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 15 transition to occur for this purpose, but the other sleep states, commonly 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 23 working state is referred to as *system resume*. 25 The kernel code flows associated with the suspend and resume transitions for [all …]
|
/Linux-v5.10/arch/mips/include/asm/ |
D | pm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * PM helper macros for CPU power off (e.g. Suspend-to-RAM). 13 #include <asm/asm-offsets.h> 18 /* Save CPU state to stack for suspend to RAM */ 38 /* Restore CPU state from stack after resume from RAM */ 63 /* Get address of static suspend state into t1 */ 68 /* Save important CPU state for early restoration to global data */ 82 /* save stack pointer (pointing to GPRs) */ 90 * Segment configuration must be restored prior to any access to 102 /* restore stack pointer (pointing to GPRs) */ [all …]
|
/Linux-v5.10/arch/arm/mach-socfpga/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 24 bool "Suspend to RAM on SOCFPGA" 26 Select this if you want to enable Suspend-to-RAM on SOCFPGA
|
/Linux-v5.10/include/linux/power/ |
D | charger-manager.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 7 * This framework enables to control and multiple chargers and to 8 * monitor charging even in the context of suspend-to-RAM with 45 * @wq: the workqueue to control charger according to the state of 48 * @nb: the notifier block to receive changed state from EXTCON 62 /* The charger-manager use Extcon framework */ 72 * Set min/max current of regulator to protect over-current issue 73 * according to a kind of charger cable when cable is attached. 86 * Set if the charger-manager cannot control charger, 89 * the array of charger cables to enable/disable charger [all …]
|
/Linux-v5.10/arch/arm/mach-s3c/ |
D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0 4 // Copyright 2004-2008 Simtec Electronics 8 // S3C common power management (suspend to ram) support. 11 #include <linux/suspend.h> 19 #include <asm/suspend.h> 22 #include "regs-clock.h" 23 #include "regs-irq.h" 30 #include "pm-core.h" 36 /* The IRQ ext-int code goes here, it is too small to currently bother 44 unsigned long bit = 1L << IRQ_EINT_BIT(data->irq); in s3c_irqext_wake() [all …]
|
D | pm-s3c24xx.c | 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" [all …]
|
/Linux-v5.10/drivers/soc/samsung/ |
D | s3c-pm-check.c | 1 // SPDX-License-Identifier: GPL-2.0 3 // originally in linux/arch/arm/plat-s3c24xx/pm.c 5 // Copyright (c) 2004-2008 Simtec Electronics 9 // S3C Power Mangament - suspend/resume memory corruption check. 12 #include <linux/suspend.h> 18 #include <linux/soc/samsung/s3c-pm.h> 21 #error CONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE must be a positive non-zero value 24 /* suspend checking code... 29 * CONFIG_SAMSUNG_PM_CHECK_CHUNKSIZE defines the block-size for the CRC, 30 * increasing it will mean that the area corrupted will be less easy to spot, [all …]
|
/Linux-v5.10/Documentation/arm/samsung-s3c24xx/ |
D | suspend.rst | 2 S3C24XX Suspend Support 7 ------------ 9 The S3C24XX supports a low-power suspend mode, where the SDRAM is kept 10 in Self-Refresh mode, and all but the essential peripheral blocks are 16 ------------ 24 4) Any peripherals that are going to be powered down at the same 25 time require suspend/resume support. 29 -------- 31 The S3C2410 user manual defines the process of sending the CPU to 33 is to set the GSTATUS3 register to the physical address of the [all …]
|
D | overview.rst | 8 ------------ 10 The Samsung S3C24XX range of ARM9 System-on-Chip CPUs are supported 16 corresponding code has been removed after a while. If someone wishes to 21 included under the arch/arm/mach-s3c2416 directory. Note, while core 27 ------------- 38 ------ 41 arch/arm/plat-s3c24xx with headers in include/asm-arm/plat-s3c24xx. 42 This directory should be kept to items shared between the platform 43 code (arch/arm/plat-s3c24xx) and the arch/arm/mach-s3c24* code. 47 in arch/arm/mach-s3c2410 and S3C2440 in arch/arm/mach-s3c2440 [all …]
|
/Linux-v5.10/arch/arm/mach-shmobile/ |
D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Suspend-to-RAM support code for SH-Mobile ARM 9 #include <linux/suspend.h>
|
/Linux-v5.10/Documentation/ABI/testing/ |
D | sysfs-devices-power | 6 allowing the user space to check and modify some power 14 space to check if the device is enabled to wake up the system 15 from sleep states, such as the memory sleep state (suspend to 16 RAM) and hibernation (suspend to disk), and to enable or disable 17 it to do that as desired. 20 used to activate the system from a sleep state. Such devices 24 + "enabled\n" to issue the events; 25 + "disabled\n" not to do so; 29 "disabled" to it. 33 be enabled to wake up the system from sleep states. [all …]
|
D | sysfs-class-rc | 6 The rc/ class sub-directory belongs to the Remote Controller 30 Writing "+proto" will add a protocol to the list of enabled 33 Writing "-proto" will remove a protocol from the list of enabled 50 Use in combination with /sys/class/rc/rcN/filter_mask to set the 56 This value may be reset to 0 if the current protocol is altered. 63 Sets the scancode filter mask of bits to compare. 64 Use in combination with /sys/class/rc/rcN/filter to set the bits 66 value. A value of 0 disables the filter to allow all valid 67 scancodes to be processed. 73 This value may be reset to 0 if the current protocol is altered. [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/regulator/ |
D | mcp16502-regulator.txt | 4 - compatible: "microchip,mcp16502" 5 - reg: I2C slave address 6 - lpm-gpios: GPIO for LPM pin. Note that this GPIO *must* remain high during 7 suspend-to-ram, keeping the PMIC into HIBERNATE mode. 8 - regulators: A node that houses a sub-node for each regulator within 9 the device. Each sub-node is identified using the node's 10 name. The content of each sub-node is defined by the 14 1) VDD_IO - Buck (1.2 - 3.7 V) 15 2) VDD_DDR - Buck (0.6 - 1.85 V) 16 3) VDD_CORE - Buck (0.6 - 1.85 V) [all …]
|
D | regulator.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Liam Girdwood <lgirdwood@gmail.com> 11 - Mark Brown <broonie@kernel.org> 14 regulator-name: 18 regulator-min-microvolt: 21 regulator-max-microvolt: 24 regulator-microvolt-offset: 25 description: Offset applied to voltages to compensate for voltage drops [all …]
|
/Linux-v5.10/Documentation/userspace-api/media/rc/ |
D | rc-sysfs-nodes.rst | 1 .. SPDX-License-Identifier: GFDL-1.1-no-invariants-or-later 9 As defined at ``Documentation/ABI/testing/sysfs-class-rc``, those are 18 The ``/sys/class/rc/`` class sub-directory belongs to the Remote 43 Writing "+proto" will add a protocol to the list of enabled protocols. 45 Writing "-proto" will remove a protocol from the list of enabled 63 Use in combination with ``/sys/class/rc/rcN/filter_mask`` to set the 68 This value may be reset to 0 if the current protocol is altered. 76 Sets the scancode filter mask of bits to compare. Use in combination 77 with ``/sys/class/rc/rcN/filter`` to set the bits of the scancode which 79 filter to allow all valid scancodes to be processed. [all …]
|
/Linux-v5.10/drivers/memory/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 This option allows to enable specific memory controller drivers, 12 vary from memory tuning and frequency scaling to enabling 13 access to attached peripherals through memory bus. 34 bool "Atmel (Multi-port DDR-)SDRAM Controller" 39 This driver is for Atmel SDRAM Controller or Atmel Multi-port 40 DDR-SDRAM Controller available on Atmel AT91SAM9 and SAMA5 SoCs. 42 LP-DDR memories. 53 Used to configure the EBI (external bus interface) when the device- 62 This driver provides access to the DPFE interface of Broadcom [all …]
|
1234567891011