| /linux/Documentation/devicetree/bindings/cpu/ |
| H A 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/Documentation/driver-api/usb/ |
| H A 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/drivers/acpi/ |
| H A D | power.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * drivers/acpi/power.c - ACPI Power Resources management. 5 * Copyright (C) 2001 - 2015 Intel Corp. 12 * ACPI power-managed devices may be controlled in two ways: 13 * 1. via "Device Specific (D-State) Control" 73 /* -------------------------------------------------------------------------- 75 -------------------------------------------------------------------------- */ 79 return dev_name(&pr->device.dev); in resource_dev_name() 105 return -EINVAL; in acpi_power_resources_list_add() 109 return -ENOMEM; in acpi_power_resources_list_add() [all …]
|
| H A 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 …]
|
| H A 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 57 u16 year; /* 1900 - 9999 */ 58 u8 month; /* 1 - 12 */ 59 u8 day; /* 1 - 31 */ 60 u8 hour; /* 0 - 23 */ 61 u8 minute; /* 0 - 59 */ 62 u8 second; /* 0 - 59 */ [all …]
|
| H A 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 72 /* do we have a wakeup address for S2 and S3? */ in acpi_sleep_prepare() 76 return -EFAULT; in acpi_sleep_prepare() 182 DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"), 189 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"), 195 .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)", 203 .ident = "Panasonic CF51-2L", [all …]
|
| /linux/net/tipc/ |
| H A 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/arch/arm64/boot/dts/qcom/ |
| H A D | msm8992-lg-h815.dts | 1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 8 /dts-v1/; 13 #include <dt-bindings/leds/common.h> 16 /delete-node/ &cont_splash_mem; 19 /delete-node/ &dfps_data_mem; 24 chassis-type = "handset"; 26 qcom,msm-id = <0xfb 0x0>; 27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>; 28 qcom,board-id = <0xb64 0x0>; 31 /delete-node/ psci; [all …]
|
| /linux/arch/arm64/boot/dts/exynos/ |
| H A 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 …]
|
| H A 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 …]
|
| H A D | exynos7870.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 9 #include <dt-bindings/clock/samsung,exynos7870-cmu.h> 10 #include <dt-bindings/interrupt-controller/arm-gic.h> 14 #address-cells = <2>; 15 #size-cells = <1>; 17 interrupt-parent = <&gic>; 31 #address-cells = <1>; 32 #size-cells = <0>; 34 cpu-map { 68 compatible = "arm,cortex-a53"; [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A 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/arch/arm64/boot/dts/ti/ |
| H A D | k3-j722s.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2024 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/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| H A D | k3-am62p.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2023-2024 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/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| H A D | k3-am62.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2020-2024 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/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| H A D | k3-am62a.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only OR MIT 5 * Copyright (C) 2022-2024 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/soc/ti,sci_pm_domain.h> 13 #include "k3-pinctrl.h" 18 interrupt-parent = <&gic500>; 19 #address-cells = <2>; 20 #size-cells = <2>; [all …]
|
| /linux/kernel/power/ |
| H A D | suspend.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * kernel/power/suspend.c - Suspend to RAM and standby functionality. 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. 100 * The s2idle_lock must be acquired before the pending wakeup check to in s2idle_enter() 102 * and the subsequent s2idle_state update in which case a wakeup event in s2idle_enter() 135 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop() 138 * Suspend-to-idle equals: in s2idle_loop() 147 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop() [all …]
|
| /linux/arch/arm64/boot/dts/freescale/ |
| H A D | imx943.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT) 10 #address-cells = <1>; 11 #size-cells = <0>; 13 idle-states { 14 entry-method = "psci"; 16 cpu_pd_wait: cpu-pd-wait { 17 compatible = "arm,idle-state"; 18 arm,psci-suspend-param = <0x0010033>; 19 local-timer-stop; 20 entry-latency-us = <1000>; [all …]
|
| /linux/arch/arm64/boot/dts/nvidia/ |
| H A D | tegra210-p2180.dtsi | 1 // SPDX-License-Identifier: GPL-2.0 2 #include <dt-bindings/mfd/max77620.h> 18 stdout-path = "serial0:115200n8"; 27 vdd-supply = <&vdd_gpu>; 33 /delete-property/ dmas; 34 /delete-property/ dma-names; 39 /delete-property/ reg-shift; 41 compatible = "nvidia,tegra30-hsuart"; 42 reset-names = "serial"; 45 compatible = "brcm,bcm43540-bt"; [all …]
|
| /linux/drivers/input/misc/ |
| H A 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/Documentation/devicetree/bindings/soc/ti/ |
| H A 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/drivers/usb/host/ |
| H A 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 16 #include <linux/arm-smccc.h> 18 #include <linux/dma-mapping.h> 30 #include <soc/at91/atmel-sfr.h> 40 ((struct ohci_at91_priv *)hcd_to_ohci(h)->priv) 57 bool wakeup; /* Saved wake-up state for resume */ member 71 /*-------------------------------------------------------------------------*/ 75 if (ohci_at91->clocked) in at91_start_clock() [all …]
|
| /linux/include/linux/ |
| H A 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 56 * wakeup event whenever a page is unpinned and becomes idle. This 57 * wakeup is used to coordinate physical address space management (ex: 66 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer 81 * reset to one by the core code after the method is called to prepare 87 * Used for private (un-addressable) device memory only. Must migrate 98 * When this is not implemented, or it returns -EOPNOTSUPP, the caller 108 * struct dev_pagemap - metadata for ZONE_DEVICE mappings [all …]
|
| /linux/Documentation/power/ |
| H A 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/arch/arm/mach-s3c/ |
| H A D | pm-s3c64xx.c | 1 // SPDX-License-Identifier: GPL-2.0 23 #include "wakeup-mask.h" 25 #include "regs-gpio.h" 26 #include "regs-clock.h" 27 #include "gpio-samsung.h" 29 #include "regs-gpio-memport-s3c64xx.h" 30 #include "regs-modem-s3c64xx.h" 31 #include "regs-sys-s3c64xx.h" 32 #include "regs-syscon-power-s3c64xx.h" 49 val &= ~(pd->ena); in s3c64xx_pd_off() [all …]
|