/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/ |
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 …]
|
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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
/Linux-v6.1/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 …]
|
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) 24 A system may have multiple chargers (or power sources) and some of 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mfd/ |
D | max77620.txt | 1 MAX77620 Power management IC from Maxim Semiconductor. 4 ------------------- 5 - compatible: Must be one of 9 - reg: I2C device address. 12 ------------------- 13 - interrupts: The interrupt on the parent the controller is 15 - interrupt-controller: Marks the device node as an interrupt controller. 16 - #interrupt-cells: is <2> and their usage is compliant to the 2 cells 17 variant of <../interrupt-controller/interrupts.txt> 19 are defined at dt-bindings/mfd/max77620.h. [all …]
|
/Linux-v6.1/Documentation/input/devices/ |
D | joystick-parport.rst | 3 .. _joystick-parport: 9 :Copyright: |copy| 1998-2000 Vojtech Pavlik <vojtech@ucw.cz> 10 :Copyright: |copy| 1998 Andree Borrmann <a.borrmann@tu-bs.de> 18 Any information in this file is provided as-is, without any guarantee that 36 Many console and 8-bit computer gamepads and joysticks are supported. The 40 ------------ 49 the computer's side (and thus timing insensitive). To allow up to 5 NES 57 The main problem with PC parallel ports is that they don't have +5V power 58 source on any of their pins. So, if you want a reliable source of power 59 for your pads, use either keyboard or joystick port, and make a pass-through [all …]
|
/Linux-v6.1/drivers/staging/vt6655/ |
D | power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * Purpose: Handles 802.11 power management functions 13 * PSvEnablePowerSaving - Enable Power Saving Mode 14 * PSvDiasblePowerSaving - Disable Power Saving Mode 15 * PSbConsiderPowerDown - Decide if we can Power Down 16 * PSvSendPSPOLL - Send PS-POLL packet 17 * PSbSendNullPacket - Send Null packet 18 * PSbIsNextTBTTWakeUp - Decide if we need to wake up at next Beacon 26 #include "power.h" 29 /*--------------------- Static Definitions -------------------------*/ [all …]
|
/Linux-v6.1/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 …]
|
D | pm_runtime.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * pm_runtime.h - Device run-time power management helper functions. 100 * pm_runtime_get_if_in_use - Conditionally bump up runtime PM usage counter. 112 * pm_suspend_ignore_children - Set runtime PM behavior regarding children. 122 dev->power.ignore_children = enable; in pm_suspend_ignore_children() 126 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device. 131 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume() 135 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device. 142 atomic_add_unless(&dev->power.usage_count, -1, 0); in pm_runtime_put_noidle() 146 * pm_runtime_suspended - Check whether or not a device is runtime-suspended. [all …]
|
/Linux-v6.1/Documentation/driver-api/thermal/ |
D | cpu-idle-cooling.rst | 1 .. SPDX-License-Identifier: GPL-2.0 8 ---------- 13 act on a cooling device to mitigate the dissipated power. When the 20 to the static leakage. The only solution is to power down the 24 Last but not least, the system can ask for a specific power budget but 25 because of the OPP density, we can only choose an OPP with a power 26 budget lower than the requested one and under-utilize the CPU, thus 27 losing performance. In other words, one OPP under-utilizes the CPU 28 with a power less than the requested power budget and the next OPP 29 exceeds the power budget. An intermediate OPP could have been used if [all …]
|
/Linux-v6.1/arch/x86/platform/ce4100/ |
D | ce4100.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <asm/emergency-restart.h> 24 * responsible for signaling to the external Power Management Unit the 25 * intention to reset, reboot or power off the system. This 8051 device has 27 * to power off the system. 38 offset = offset << p->regshift; in mem_serial_in() 39 return readl(p->membase + offset); in mem_serial_in() 49 * errata number 9 in Errata - B step. 57 offset = offset << p->regshift; in ce4100_mem_serial_in() 58 ret = readl(p->membase + offset); in ce4100_mem_serial_in() [all …]
|
/Linux-v6.1/kernel/power/ |
D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 9 suspend-to-RAM state (e.g. the ACPI S3 state). 30 user-space before invoking suspend. There's a run-time switch 31 at '/sys/power/sync_on_suspend' to configure this behaviour. 32 This setting changes the default for the run-tim switch. Say Y 50 You can suspend your machine with 'echo disk > /sys/power/state' 60 for suspend states like suspend-to-RAM (STR) often don't work very 72 <file:Documentation/power/swsusp-and-swap-files.rst>). 81 For more information take a look at <file:Documentation/power/swsusp.rst>. 100 The default resume partition is the partition that the suspend- [all …]
|
/Linux-v6.1/include/uapi/linux/ |
D | pmu.h | 1 /* SPDX-License-Identifier: GPL-2.0 WITH Linux-syscall-note */ 4 * which controls battery charging and system power on PowerBook 3400 18 #define PMU_POWER_CTRL0 0x10 /* control power of some devices */ 19 #define PMU_POWER_CTRL 0x11 /* control power of some devices */ 21 #define PMU_ADB_POLL_OFF 0x21 /* disable ADB auto-poll */ 23 #define PMU_WRITE_NVRAM 0x33 /* write non-volatile RAM */ 25 #define PMU_READ_NVRAM 0x3b /* read non-volatile RAM */ 26 #define PMU_SET_RTC 0x30 /* set real-time clock */ 27 #define PMU_READ_RTC 0x38 /* read real-time clock */ 28 #define PMU_SET_VOLBUTTON 0x40 /* set volume up/down position */ [all …]
|
/Linux-v6.1/arch/arm/mach-meson/ |
D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 23 #define MESON_SMP_SRAM_CPU_CTRL_ADDR_REG(c) (0x04 + ((c - 1) << 2)) 31 #define MESON_CPU_PWR_A9_MEM_PD0_M(c) (0x0f << (32 - (c * 4))) 106 meson_smp_prepare_cpus("arm,cortex-a5-scu", "amlogic,meson8b-pmu", in meson8b_smp_prepare_cpus() 107 "amlogic,meson8b-smp-sram"); in meson8b_smp_prepare_cpus() 112 meson_smp_prepare_cpus("arm,cortex-a9-scu", "amlogic,meson8-pmu", in meson8_smp_prepare_cpus() 113 "amlogic,meson8-smp-sram"); in meson8_smp_prepare_cpus() 121 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() 128 * SCU Power on CPU (needs to be done before starting the CPU, in meson_smp_begin_secondary_boot() 143 return -ETIMEDOUT; in meson_smp_finalize_secondary_boot() [all …]
|