/Linux-v5.15/Documentation/devicetree/bindings/arm/ |
D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/arm/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 14 1 - Introduction 18 where cores can be put in different low-power states (ranging from simple wfi 20 range of dynamic idle states that a processor can enter at run-time, can be 27 - Running 28 - Idle_standby [all …]
|
/Linux-v5.15/Documentation/driver-api/usb/ |
D | power-management.rst | 1 .. _usb-power-management: 7 :Date: Last-updated: February 2014 11 --------- 13 * What is Remote Wakeup? 17 * Changing the default idle-delay time 31 ------------------------- 35 component is ``suspended`` it is in a nonfunctional low-power state; it 37 ``resumed`` (returned to a functional full-power state) when the kernel 66 What is Remote Wakeup? 67 ---------------------- [all …]
|
/Linux-v5.15/drivers/acpi/ |
D | device_pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * drivers/acpi/device_pm.c - ACPI device power management routines. 27 * acpi_power_state_string - String representation of ACPI device power state. 53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get() 55 return -ENODEV; in acpi_dev_pm_explicit_get() 62 * acpi_device_get_power - Get power state of an ACPI device. 81 return -EINVAL; in acpi_device_get_power() 83 if (!device->flags.power_manageable) { in acpi_device_get_power() 84 /* TBD: Non-recursive algorithm for walking up hierarchy. */ in acpi_device_get_power() 85 *state = device->parent ? in acpi_device_get_power() [all …]
|
D | acpi_tad.c | 1 // SPDX-License-Identifier: GPL-2.0 10 * It only supports the system wakeup capabilities of the TAD. 13 * allowing user space to manage the AC and DC wakeup timers of the TAD: 19 * The wakeup events handling and power management of the TAD is expected to 56 u16 year; /* 1900 - 9999 */ 57 u8 month; /* 1 - 12 */ 58 u8 day; /* 1 - 31 */ 59 u8 hour; /* 0 - 23 */ 60 u8 minute; /* 0 - 59 */ 61 u8 second; /* 0 - 59 */ [all …]
|
D | sleep.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * sleep.c - ACPI sleep support. 7 * Copyright (c) 2000-2003 Patrick Mochel 30 * Some HW-full platforms do not have _S5, so they may need 68 /* do we have a wakeup address for S2 and S3? */ in acpi_sleep_prepare() 72 return -EFAULT; in acpi_sleep_prepare() 179 DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"), 186 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), 192 .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)", 200 .ident = "Panasonic CF51-2L", [all …]
|
/Linux-v5.15/Documentation/devicetree/bindings/input/ |
D | atmel,maxtouch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nick Dyer <nick@shmanahar.org> 11 - Linus Walleij <linus.walleij@linaro.org> 27 vdda-supply: 31 vdd-supply: 35 reset-gpios: 42 wake-gpios: 49 linux,gpio-keymap: [all …]
|
D | rotary-encoder.txt | 4 - gpios: a spec for at least two GPIOs to be used, most significant first 7 - linux,axis: the input subsystem axis to map to this rotary encoder. 9 - rotary-encoder,steps: Number of steps in a full turnaround of the 12 - rotary-encoder,relative-axis: register a relative axis rather than an 13 absolute one. Relative axis will only generate +1/-1 events on the input 15 - rotary-encoder,rollover: Automatic rollover when the rotary value becomes 17 - rotary-encoder,steps-per-period: Number of steps (stable states) per period. 19 1: Full-period mode (default) 20 2: Half-period mode 21 4: Quarter-period mode [all …]
|
/Linux-v5.15/arch/arm/mach-s3c/ |
D | pm-s3c2412.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include "regs-gpio.h" 27 #include "wakeup-mask.h" 29 #include "regs-dsc-s3c24xx.h" 30 #include "s3c2412-power.h" 38 /* set our standby method to sleep */ in s3c2412_cpu_suspend() 50 /* mapping of interrupts to parts of the wakeup mask */ 76 /* save the PWRCFG to get back to original sleep method */ 81 * get damaged during wakeup */
|
/Linux-v5.15/Documentation/power/ |
D | pci.rst | 13 power management refer to Documentation/driver-api/pm/devices.rst and 27 1.1. Native and Platform-Based Power Management 28 ----------------------------------------------- 31 devices into states in which they draw less power (low-power states) at the 34 Usually, a device is put into a low-power state when it is underutilized or 36 again, it has to be put back into the "fully functional" state (full-power 41 PCI devices may be put into low-power states in two ways, by using the device 50 Devices supporting the native PCI PM usually can generate wakeup signals called 53 to put the device that sent it into the full-power state. However, the PCI Bus 54 Power Management Interface Specification doesn't define any standard method of [all …]
|
D | charger-manager.rst | 7 Charger Manager provides in-kernel battery charger management that 8 requires temperature monitoring during suspend-to-RAM state 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, 35 periodically. However, such a method wakes up devices unnecessarily for [all …]
|
/Linux-v5.15/Documentation/driver-api/pm/ |
D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). 42 by implementing various role-specific suspend and resume methods to [all …]
|
/Linux-v5.15/net/tipc/ |
D | bcast.c | 4 * Copyright (c) 2004-2006, 2014-2017, Ericsson AB 6 * Copyright (c) 2005, 2010-2011, Wind River Systems 48 const char tipc_bclink_name[] = "broadcast-link"; 52 * struct tipc_bc_base - base structure for keeping broadcast send state 61 * @rc_ratio: dest count as percentage of cluster size where send method changes 79 return tipc_net(net)->bcbase; in tipc_bc_base() 82 /* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link 93 tipc_bc_base(net)->rcast_support = supp; in tipc_bcast_toggle_rcast() 101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold() 110 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary() [all …]
|
/Linux-v5.15/Documentation/ABI/testing/ |
D | sysfs-power | 15 labels, which may be "mem" (suspend), "standby" (power-on 16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation). 21 See Documentation/admin-guide/pm/sleep-states.rst for more 39 See Documentation/admin-guide/pm/sleep-states.rst for more 47 suspend-to-disk mechanism. Reading from this file returns 48 the name of the method by which the system will be put to 51 'firmware' - means that the memory image will be saved to disk 55 'platform' - the memory image will be saved by the kernel and 59 'shutdown' - the memory image will be saved by the kernel and 62 'reboot' - the memory image will be saved by the kernel and [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/sprd/ |
D | sc9860.dtsi | 6 * SPDX-License-Identifier: (GPL-2.0+ OR MIT) 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/gpio/gpio.h> 16 #address-cells = <2>; 17 #size-cells = <0>; 19 cpu-map { 53 compatible = "arm,cortex-a53"; 55 enable-method = "psci"; 56 cpu-idle-states = <&CORE_PD &CLUSTER_PD>; [all …]
|
/Linux-v5.15/drivers/input/misc/ |
D | soc_button_array.c | 1 // SPDX-License-Identifier: GPL-2.0-only 27 bool wakeup; member 48 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in 49 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs 53 * problematic because when re-enabling the irq, which happens whenever _LID 55 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the 57 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s, 65 * Acer Switch 10 SW5-012. _LID method messes with home- and 66 * power-button GPIO IRQ settings. When (re-)enabling the irq 68 * ones, leading to an irq-type of IRQ_TYPE_LEVEL_LOW | [all …]
|
/Linux-v5.15/kernel/power/ |
D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 65 * pm_suspend_default_s2idle - Check if suspend-to-idle is the default suspend. 67 * Return 'true' if suspend-to-idle has been selected as the default system 68 * suspend method. 122 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop() 125 * Suspend-to-idle equals: in s2idle_loop() 134 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop() 135 if (s2idle_ops->wake()) in s2idle_loop() 146 pm_pr_dbg("resume from suspend-to-idle\n"); in s2idle_loop() [all …]
|
/Linux-v5.15/drivers/acpi/x86/ |
D | s2idle.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Architecture-specific ACPI-based support for suspend-to-idle. 7 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 11 * Controller) and a specific _DSM method under it. That method, if present, 13 * low-power state in which certain types of activity are not desirable or that 36 #define ACPI_LPS0_DSM_UUID_MICROSOFT "11e00d56-ce64-47ce-837b-1f898f9aa461" 38 #define ACPI_LPS0_DSM_UUID "c4eb40a0-6cd2-11e2-bcfd-0800200c9a66" 49 #define ACPI_LPS0_DSM_UUID_AMD "e3f32452-febc-43ce-9039-932122d37721" 108 for (i = 0; i < out_obj->package.count; i++) { in lpi_device_get_constraints_amd() 109 union acpi_object *package = &out_obj->package.elements[i]; in lpi_device_get_constraints_amd() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/nvidia/ |
D | tegra186-p3509-0000+p3636-0001.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/linux-event-codes.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3509-0000+p3636-0001", "nvidia,tegra186"; 30 stdout-path = "serial0:115200n8"; 41 phy-reset-gpios = <&gpio_aon TEGRA186_AON_GPIO(AA, 6) GPIO_ACTIVE_LOW>; 42 phy-handle = <&phy>; 43 phy-mode = "rgmii-id"; [all …]
|
/Linux-v5.15/Documentation/arm/samsung-s3c24xx/ |
D | suspend.rst | 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 ------------ 29 -------- 42 --------------- 53 There is currently no support for over-riding the default method of 57 Note, the original method of adding an late_initcall() is wrong, 60 The following is an example of code used for testing wakeup from 74 "button-irq-eint0", NULL); [all …]
|
/Linux-v5.15/include/linux/ |
D | pm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pm.h - Power management interface 54 * struct dev_pm_ops - device PM callbacks. 59 * new calls to the probe method from being made too once @prepare() has 61 * registration of a child already in progress), it may return -EAGAIN, so 64 * This method is executed for all kinds of suspend transitions and is 71 * runtime-suspended and it may be left in that state during the entire 76 * The PM core executes subsystem-level @prepare() for all devices before 87 * @complete: Undo the changes made by @prepare(). This method is executed for 94 * The PM core executes subsystem-level @complete() after it has executed [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/ti/ |
D | k3-j7200.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/k3.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 16 interrupt-parent = <&gic500>; 17 #address-cells = <2>; 18 #size-cells = <2>; 38 #address-cells = <1>; [all …]
|
D | k3-j721e.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2016-2019 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/interrupt-controller/irq.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/pinctrl/k3.h> 11 #include <dt-bindings/soc/ti,sci_pm_domain.h> 16 interrupt-parent = <&gic500>; 17 #address-cells = <2>; 18 #size-cells = <2>; 39 #address-cells = <1>; [all …]
|
/Linux-v5.15/drivers/usb/host/ |
D | ohci-at91.c | 1 // SPDX-License-Identifier: GPL-1.0+ 6 * Copyright (C) 2005 Thibaut VARENE <varenet@parisc-linux.org> 11 * Based on ohci-omap.c 17 #include <linux/dma-mapping.h> 29 #include <soc/at91/atmel-sfr.h> 39 ((struct ohci_at91_priv *)hcd_to_ohci(h)->priv) 56 bool wakeup; /* Saved wake-up state for resume */ member 63 static const char hcd_name[] = "ohci-atmel"; 71 /*-------------------------------------------------------------------------*/ 75 if (ohci_at91->clocked) in at91_start_clock() [all …]
|
/Linux-v5.15/arch/arm64/boot/dts/mediatek/ |
D | pumpkin-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 7 #include <dt-bindings/gpio/gpio.h> 16 stdout-path = "serial0:921600n8"; 21 compatible = "linaro,optee-tz"; 22 method = "smc"; 26 gpio-keys { 27 compatible = "gpio-keys"; 28 input-name = "gpio-keys"; 29 pinctrl-names = "default"; 30 pinctrl-0 = <&gpio_keys_default>; [all …]
|
/Linux-v5.15/arch/x86/platform/olpc/ |
D | olpc-xo15-sci.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * Support for OLPC XO-1.5 System Control Interrupts (SCI) 5 * Copyright (C) 2009-2010 One Laptop per Child 12 #include <linux/olpc-ec.h> 17 #define DRV_NAME "olpc-xo15-sci" 20 #define XO15_SCI_DEVICE_NAME "OLPC XO-1.5 SCI" 26 * The normal ACPI LID wakeup behavior is wake-on-open, but not 27 * wake-on-close. This is implemented as standard by the XO-1.5 DSDT. 30 * wake-on-close behavior. This is useful (e.g.) when we opportunistically 34 * This is controlled through a custom method in the XO-1.5 DSDT. [all …]
|