/Linux-v6.1/Documentation/devicetree/bindings/cpu/ |
D | idle-states.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> 11 - Anup Patel <anup@brainfault.org> 15 1 - Introduction 18 ARM and RISC-V systems contain HW capable of managing power consumption 19 dynamically, where cores can be put in different low-power states (ranging 22 run-time, can be specified through device tree bindings representing the [all …]
|
/Linux-v6.1/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-v6.1/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. 82 return -EINVAL; in acpi_device_get_power() 86 if (!device->flags.power_manageable) { in acpi_device_get_power() 87 /* TBD: Non-recursive algorithm for walking up hierarchy. */ in acpi_device_get_power() 88 *state = parent ? parent->power.state : ACPI_STATE_D0; 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() 178 DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"), 185 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), 191 .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)", 199 .ident = "Panasonic CF51-2L", [all …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/arch/arm64/boot/dts/exynos/ |
D | exynos7885.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/exynos7885.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #address-cells = <2>; 15 #size-cells = <1>; 17 interrupt-parent = <&gic>; 26 arm-a53-pmu { 27 compatible = "arm,cortex-a53-pmu"; 34 interrupt-affinity = <&cpu0>, 42 arm-a73-pmu { [all …]
|
D | exynos850.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 13 #include <dt-bindings/clock/exynos850.h> 14 #include <dt-bindings/interrupt-controller/arm-gic.h> 15 #include <dt-bindings/soc/samsung,exynos-usi.h> 20 #address-cells = <2>; 21 #size-cells = <1>; 23 interrupt-parent = <&gic>; 34 arm-pmu { 35 compatible = "arm,cortex-a55-pmu"; 44 interrupt-affinity = <&cpu0>, <&cpu1>, <&cpu2>, <&cpu3>, [all …]
|
/Linux-v6.1/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-v6.1/arch/arm64/boot/dts/freescale/ |
D | imx8dxl.dtsi | 1 // SPDX-License-Identifier: GPL-2.0+ 6 #include <dt-bindings/clock/imx8-clock.h> 7 #include <dt-bindings/firmware/imx/rsrc.h> 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/arm-gic.h> 10 #include <dt-bindings/input/input.h> 11 #include <dt-bindings/pinctrl/pads-imx8dxl.h> 12 #include <dt-bindings/thermal/thermal.h> 15 interrupt-parent = <&gic>; 16 #address-cells = <2>; [all …]
|
/Linux-v6.1/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-v6.1/kernel/trace/rv/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 19 lightweight (yet rigorous) method that complements classical 26 Documentation/trace/rv/runtime-verification.rst 34 Enable wip (wakeup in preemptive) sample monitor that illustrates 35 the usage of per-cpu monitors, and one limitation of the 46 Enable wwnr (wakeup while not running) sample monitor, this is a 47 sample monitor that illustrates the usage of per-task monitor. 62 but other reactions can be added (on-demand) via this interface.
|
/Linux-v6.1/arch/arm64/boot/dts/ti/ |
D | k3-am62.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2020-2022 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/k3.h> 12 #include <dt-bindings/soc/ti,sci_pm_domain.h> 17 interrupt-parent = <&gic500>; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
D | k3-am62a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2022 Texas Instruments Incorporated - https://www.ti.com/ 8 #include <dt-bindings/gpio/gpio.h> 9 #include <dt-bindings/interrupt-controller/irq.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 11 #include <dt-bindings/pinctrl/k3.h> 12 #include <dt-bindings/soc/ti,sci_pm_domain.h> 17 interrupt-parent = <&gic500>; 18 #address-cells = <2>; 19 #size-cells = <2>; [all …]
|
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>; 40 #address-cells = <1>; [all …]
|
/Linux-v6.1/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() 141 if (s2idle_ops && s2idle_ops->check) in s2idle_loop() [all …]
|
/Linux-v6.1/drivers/input/misc/ |
D | soc_button_array.c | 1 // SPDX-License-Identifier: GPL-2.0-only 23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered"); 31 bool wakeup; member 52 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in 53 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs 57 * problematic because when re-enabling the irq, which happens whenever _LID 59 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the 61 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s, 69 * Acer Switch 10 SW5-012. _LID method messes with home- and 70 * power-button GPIO IRQ settings. When (re-)enabling the irq [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/soc/ti/ |
D | wkup-m3-ipc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Wakeup M3 IPC device 10 - Dave Gerlach <d-gerlach@ti.com> 11 - Drew Fustini <dfustini@baylibre.com> 14 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor 15 (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks 17 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver [all …]
|
/Linux-v6.1/include/linux/ |
D | memremap.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 8 #include <linux/percpu-refcount.h> 14 * struct vmem_altmap - pre-allocated storage for vmemmap_populate 55 * wakeup event whenever a page is unpinned and becomes idle. This 56 * wakeup is used to coordinate physical address space management (ex: 65 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer 80 * reset to one by the core code after the method is called to prepare 86 * Used for private (un-addressable) device memory only. Must migrate 97 * When this is not implemented, or it returns -EOPNOTSUPP, the caller 107 * struct dev_pagemap - metadata for ZONE_DEVICE mappings [all …]
|
/Linux-v6.1/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 …]
|