| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 1 What: /sys/devices/.../power/ 5 The /sys/devices/.../power directory contains attributes 6 allowing the user space to check and modify some power 9 What: /sys/devices/.../power/wakeup 13 The /sys/devices/.../power/wakeup attribute allows the user 14 space to check if the device is enabled to wake up the system 21 have one of the following two values for the sysfs power/wakeup 33 be enabled to wake up the system from sleep states. 35 What: /sys/devices/.../power/control 39 The /sys/devices/.../power/control attribute allows the user [all …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| D | sysfs-devices-power | 1 What: /sys/devices/.../power/ 5 The /sys/devices/.../power directory contains attributes 6 allowing the user space to check and modify some power 9 What: /sys/devices/.../power/wakeup 13 The /sys/devices/.../power/wakeup attribute allows the user 14 space to check if the device is enabled to wake up the system 21 have one of the following two values for the sysfs power/wakeup 33 be enabled to wake up the system from sleep states. 35 What: /sys/devices/.../power/control 39 The /sys/devices/.../power/control attribute allows the user [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-pxa/ |
| D | pxa2xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h 5 * Taken from pxa-regs.h by Russell King 14 #include "pxa-regs.h" 17 * Power Manager 20 #define PMCR __REG(0x40F00000) /* Power Manager Control Register */ 21 #define PSSR __REG(0x40F00004) /* Power Manager Sleep Status Register */ 22 #define PSPR __REG(0x40F00008) /* Power Manager Scratch Pad Register */ 23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */ 24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */ [all …]
|
| D | pxa3xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h 13 #include "pxa-regs.h" 24 * Service Power Management Unit (MPMU) 26 #define PMCR __REG(0x40F50000) /* Power Manager Control Register */ 27 #define PSR __REG(0x40F50004) /* Power Manager S2 Status Register */ 28 #define PSPR __REG(0x40F50008) /* Power Manager Scratch Pad Register */ 29 #define PCFR __REG(0x40F5000C) /* Power Manager General Configuration Register */ 30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */ 31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */ [all …]
|
| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | wakeirq.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "power.h" 13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 15 * @irq: Device wake-up capable interrupt 19 * dedicated wake-up interrupt as a wake IRQ. 27 return -EINVAL; in dev_pm_attach_wake_irq() 29 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 30 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 32 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 33 return -EEXIST; in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/power/ |
| D | wakeirq.c | 1 // SPDX-License-Identifier: GPL-2.0 10 #include "power.h" 13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ 17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ. 24 return -EINVAL; in dev_pm_attach_wake_irq() 26 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 27 if (dev_WARN_ONCE(dev, dev->power.wakeirq, in dev_pm_attach_wake_irq() 29 spin_unlock_irqrestore(&dev->power.lock, flags); in dev_pm_attach_wake_irq() 30 return -EEXIST; in dev_pm_attach_wake_irq() 33 dev->power.wakeirq = wirq; in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-pxa/include/mach/ |
| D | pxa2xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa2xx-regs.h 5 * Taken from pxa-regs.h by Russell King 17 * Power Manager 20 #define PMCR __REG(0x40F00000) /* Power Manager Control Register */ 21 #define PSSR __REG(0x40F00004) /* Power Manager Sleep Status Register */ 22 #define PSPR __REG(0x40F00008) /* Power Manager Scratch Pad Register */ 23 #define PWER __REG(0x40F0000C) /* Power Manager Wake-up Enable Register */ 24 #define PRER __REG(0x40F00010) /* Power Manager GPIO Rising-Edge Detect Enable Register */ 25 #define PFER __REG(0x40F00014) /* Power Manager GPIO Falling-Edge Detect Enable Register */ [all …]
|
| D | pxa3xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h 24 * Service Power Management Unit (MPMU) 26 #define PMCR __REG(0x40F50000) /* Power Manager Control Register */ 27 #define PSR __REG(0x40F50004) /* Power Manager S2 Status Register */ 28 #define PSPR __REG(0x40F50008) /* Power Manager Scratch Pad Register */ 29 #define PCFR __REG(0x40F5000C) /* Power Manager General Configuration Register */ 30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */ 31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */ 32 #define PECR __REG(0x40F50018) /* Power Manager EXT_WAKEUP[1:0] Control Register */ [all …]
|
| /kernel/linux/linux-6.6/Documentation/hwmon/ |
| D | ucd9000.rst | 11 Addresses scanned: - 15 - http://focus.ti.com/lit/ds/symlink/ucd90120.pdf 16 - http://focus.ti.com/lit/ds/symlink/ucd90124.pdf 17 - http://focus.ti.com/lit/ds/symlink/ucd90160.pdf 18 - http://focus.ti.com/lit/ds/symlink/ucd90320.pdf 19 - http://focus.ti.com/lit/ds/symlink/ucd9090.pdf 20 - http://focus.ti.com/lit/ds/symlink/ucd90910.pdf 22 Author: Guenter Roeck <linux@roeck-us.net> 26 ----------- 30 The UCD90120 Power Supply Sequencer and System Health Monitor monitors and [all …]
|
| /kernel/linux/linux-5.10/Documentation/hwmon/ |
| D | ucd9000.rst | 11 Addresses scanned: - 15 - http://focus.ti.com/lit/ds/symlink/ucd90120.pdf 16 - http://focus.ti.com/lit/ds/symlink/ucd90124.pdf 17 - http://focus.ti.com/lit/ds/symlink/ucd90160.pdf 18 - http://focus.ti.com/lit/ds/symlink/ucd90320.pdf 19 - http://focus.ti.com/lit/ds/symlink/ucd9090.pdf 20 - http://focus.ti.com/lit/ds/symlink/ucd90910.pdf 22 Author: Guenter Roeck <linux@roeck-us.net> 26 ----------- 30 The UCD90120 Power Supply Sequencer and System Health Monitor monitors and [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/iio/frequency/ |
| D | ad9832.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 15 * struct ad9832_platform_data - platform specific information 17 * @freq0: power up freq0 tuning word in Hz 18 * @freq1: power up freq1 tuning word in Hz 19 * @phase0: power up phase0 value [0..4095] correlates with 0..2PI 20 * @phase1: power up phase1 value [0..4095] correlates with 0..2PI 21 * @phase2: power up phase2 value [0..4095] correlates with 0..2PI 22 * @phase3: power up phase3 value [0..4095] correlates with 0..2PI
|
| /kernel/linux/linux-6.6/drivers/staging/iio/frequency/ |
| D | ad9832.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 15 * struct ad9832_platform_data - platform specific information 17 * @freq0: power up freq0 tuning word in Hz 18 * @freq1: power up freq1 tuning word in Hz 19 * @phase0: power up phase0 value [0..4095] correlates with 0..2PI 20 * @phase1: power up phase1 value [0..4095] correlates with 0..2PI 21 * @phase2: power up phase2 value [0..4095] correlates with 0..2PI 22 * @phase3: power up phase3 value [0..4095] correlates with 0..2PI
|
| /kernel/linux/linux-5.10/Documentation/arm/ |
| D | cluster-pm-race-avoidance.rst | 2 Cluster-wide Power-up/power-down race avoidance algorithm 16 --------- 20 power consumption and thermal dissipation. 29 cluster-level operations are only performed when it is truly safe to do 34 are not immediately enabled when a cluster powers up. Since enabling or 35 disabling those mechanisms may itself be a non-atomic operation (such as 38 power-down and power-up at the cluster level. 46 ----------- 50 - DOWN 51 - COMING_UP [all …]
|
| /kernel/linux/linux-6.6/Documentation/arch/arm/ |
| D | cluster-pm-race-avoidance.rst | 2 Cluster-wide Power-up/power-down race avoidance algorithm 16 --------- 20 power consumption and thermal dissipation. 29 cluster-level operations are only performed when it is truly safe to do 34 are not immediately enabled when a cluster powers up. Since enabling or 35 disabling those mechanisms may itself be a non-atomic operation (such as 38 power-down and power-up at the cluster level. 46 ----------- 50 - DOWN 51 - COMING_UP [all …]
|
| /kernel/linux/linux-5.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 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 40 also be set up as wakeup devices for S2Idle. [all …]
|
| /kernel/linux/linux-6.6/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 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 40 also be set up as wakeup devices for S2Idle. [all …]
|
| /kernel/linux/linux-5.10/drivers/staging/vt6656/ |
| D | power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * File: power.c 8 * Purpose: Handles 802.11 power management functions 15 * vnt_enable_power_saving - Enable Power Saving Mode 16 * PSvDiasblePowerSaving - Disable Power Saving Mode 17 * vnt_next_tbtt_wakeup - Decide if we need to wake up at next Beacon 25 #include "power.h" 34 * Enable hw power saving functions 43 u16 aid = priv->current_aid | BIT(14) | BIT(15); in vnt_enable_power_saving() 45 /* set period of power up before TBTT */ in vnt_enable_power_saving() [all …]
|
| /kernel/linux/linux-6.6/arch/arm64/boot/dts/xilinx/ |
| D | zynqmp-zc1751-xm019-dc5.dts | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * dts file for Xilinx ZynqMP zc1751-xm019-dc5 5 * (C) Copyright 2015 - 2021, Xilinx, Inc. 11 /dts-v1/; 14 #include "zynqmp-clk-ccf.dtsi" 15 #include <dt-bindings/gpio/gpio.h> 16 #include <dt-bindings/pinctrl/pinctrl-zynqmp.h> 19 model = "ZynqMP zc1751-xm019-dc5 RevA"; 20 compatible = "xlnx,zynqmp-zc1751", "xlnx,zynqmp"; 33 stdout-path = "serial0:115200n8"; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/ |
| D | fsl,imx-gpcv2.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/fsl,imx-gpcv2.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Freescale i.MX General Power Controller v2 10 - Andrey Smirnov <andrew.smirnov@gmail.com> 13 The i.MX7S/D General Power Control (GPC) block contains Power Gating 14 Control (PGC) for various power domains. 16 Power domains contained within GPC node are generic power domain 18 Documentation/devicetree/bindings/power/power-domain.yaml, which are [all …]
|
| D | mediatek,power-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/mediatek,power-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Mediatek Power Domains Controller 10 - MandyJH Liu <mandyjh.liu@mediatek.com> 11 - Matthias Brugger <mbrugger@suse.com> 14 Mediatek processors include support for multiple power domains which can be 15 powered up/down by software based on different application scenes to save power. 17 IP cores belonging to a power domain should contain a 'power-domains' [all …]
|
| /kernel/linux/linux-6.6/drivers/staging/vt6656/ |
| D | power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Purpose: Handles 802.11 power management functions 13 * vnt_enable_power_saving - Enable Power Saving Mode 14 * PSvDiasblePowerSaving - Disable Power Saving Mode 15 * vnt_next_tbtt_wakeup - Decide if we need to wake up at next Beacon 23 #include "power.h" 32 * Enable hw power saving functions 41 u16 aid = priv->current_aid | BIT(14) | BIT(15); in vnt_enable_power_saving() 43 /* set period of power up before TBTT */ in vnt_enable_power_saving() 46 if (priv->op_mode != NL80211_IFTYPE_ADHOC) in vnt_enable_power_saving() [all …]
|
| /kernel/linux/linux-5.10/Documentation/power/ |
| D | runtime_pm.rst | 2 Runtime Power Management Framework for I/O Devices 5 (C) 2009-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 14 Support for runtime power management (runtime PM) of I/O devices is provided 15 at the power management core (PM core) level by means of: 17 * The power management workqueue pm_wq in which bus types and device drivers can 18 put their PM-related work items. It is strongly recommended that pm_wq be 20 them to be synchronized with system-wide power transitions (suspend to RAM, 22 include/linux/pm_runtime.h and defined in kernel/power/main.c. 24 * A number of runtime PM fields in the 'power' member of 'struct device' (which 31 * A set of helper functions defined in drivers/base/power/runtime.c that can be [all …]
|
| /kernel/linux/linux-5.10/arch/arm/mach-u300/ |
| D | regulator.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * arch/arm/mach-u300/regulator.c 5 * Copyright (C) 2009 ST-Ericsson AB 6 * Handle board-bound regulators and board power not related 21 /* Power Management Control 16bit (R/W) */ 27 * Regulators that power the board and chip and which are 36 * LDO D (main power). 55 * Hog the regulators needed to power up the board. 59 struct device_node *np = pdev->dev.of_node; in __u300_init_boardpower() 64 pr_info("U300: setting up board power\n"); in __u300_init_boardpower() [all …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| D | math.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 15 #define __round_mask(x, y) ((__typeof__(x))((y)-1)) 18 * round_up - round up to next specified power of 2 20 * @y: multiple to round up to (must be a power of 2) 22 * Rounds @x up to next multiple of @y (which must be a power of 2). 23 * To perform arbitrary rounding up, use roundup() below. 25 #define round_up(x, y) ((((x)-1) | __round_mask(x, y))+1) 28 * round_down - round down to next specified power of 2 30 * @y: multiple to round down to (must be a power of 2) 32 * Rounds @x down to next multiple of @y (which must be a power of 2). [all …]
|
| /kernel/linux/linux-6.6/arch/arm/mach-exynos/ |
| D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // Copyright (c) 2010-2011 Samsung Electronics Co., Ltd. 5 // Cloned from linux/arch/arm/mach-vexpress/platsmp.c 17 #include <linux/soc/samsung/exynos-regs-pmu.h> 29 /* XXX exynos_pen_release is cargo culted code - DO NOT COPY XXX */ 30 volatile int exynos_pen_release = -1; 70 * having been woken up - this shouldn't happen in platform_do_lowpower() 72 * Just note it happening - when we're woken, we can report in platform_do_lowpower() 81 * exynos_cpu_power_down() - power down the specified cpu 82 * @cpu: the cpu to power down [all …]
|