| /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-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-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-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-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-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-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-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 …]
|
| 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 …]
|
| /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-5.10/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_core_power_down : power down the specified cpu 82 * @cpu : the cpu to power down [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/drivers/staging/vt6655/ |
| D | power.c | 1 // SPDX-License-Identifier: GPL-2.0+ 6 * File: power.c 8 * Purpose: Handles 802.11 power management functions 15 * PSvEnablePowerSaving - Enable Power Saving Mode 16 * PSvDiasblePowerSaving - Disable Power Saving Mode 17 * PSbConsiderPowerDown - Decide if we can Power Down 18 * PSvSendPSPOLL - Send PS-POLL packet 19 * PSbSendNullPacket - Send Null packet 20 * PSbIsNextTBTTWakeUp - Decide if we need to wake up at next Beacon 28 #include "power.h" [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| D | pm_runtime.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * pm_runtime.h - Device run-time power management helper functions. 64 * pm_runtime_get_if_in_use - Conditionally bump up runtime PM usage counter. 76 * pm_suspend_ignore_children - Set runtime PM behavior regarding children. 86 dev->power.ignore_children = enable; in pm_suspend_ignore_children() 90 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device. 95 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume() 99 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device. 106 atomic_add_unless(&dev->power.usage_count, -1, 0); in pm_runtime_put_noidle() 110 * pm_runtime_suspended - Check whether or not a device is runtime-suspended. [all …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra210-p3450-0000.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/gpio-keys.h> 5 #include <dt-bindings/input/linux-event-codes.h> 6 #include <dt-bindings/mfd/max77620.h> 12 compatible = "nvidia,p3450-0000", "nvidia,tegra210"; 22 stdout-path = "serial0:115200n8"; 33 avdd-pll-uerefe-supply = <&vdd_pex_1v05>; 34 hvddio-pex-supply = <&vdd_1v8>; 35 dvddio-pex-supply = <&vdd_pex_1v05>; [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/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))) 104 meson_smp_prepare_cpus("arm,cortex-a5-scu", "amlogic,meson8b-pmu", in meson8b_smp_prepare_cpus() 105 "amlogic,meson8b-smp-sram"); in meson8b_smp_prepare_cpus() 110 meson_smp_prepare_cpus("arm,cortex-a9-scu", "amlogic,meson8-pmu", in meson8_smp_prepare_cpus() 111 "amlogic,meson8-smp-sram"); in meson8_smp_prepare_cpus() 119 * system without power-cycling, or when taking the CPU offline and in meson_smp_begin_secondary_boot() 126 * SCU Power on CPU (needs to be done before starting the CPU, in meson_smp_begin_secondary_boot() 141 return -ETIMEDOUT; in meson_smp_finalize_secondary_boot() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/pinctrl/ |
| D | pinctrl-max77620.txt | 1 Pincontrol driver for MAX77620 Power management IC from Maxim Semiconductor. 6 Please refer file <devicetree/bindings/pinctrl/pinctrl-bindings.txt> 11 -------------------------- 14 - pinctrl-names: A pinctrl state named per <pinctrl-bindings.txt>. 15 - pinctrl[0...n]: Properties to contain the phandle for pinctrl states per 16 <pinctrl-bindings.txt>. 19 sub-node have following properties: 22 ------------------ 23 - pins: List of pins. Valid values of pins properties are: 27 ------------------- [all …]
|
| /kernel/linux/linux-5.10/Documentation/sound/designs/ |
| D | powersave.rst | 2 Notes on Power-Saving Mode 5 AC97 and HD-audio drivers have the automatic power-saving mode. 9 With the automatic power-saving, the driver turns off the codec power 11 the device and/or no analog loopback is set, the power disablement is 12 done fully or partially. It'll save a certain power consumption, thus 15 The time-out for automatic power-off can be specified via ``power_save`` 16 module option of snd-ac97-codec and snd-hda-intel modules. Specify 17 the time-out value in seconds. 0 means to disable the automatic 18 power-saving. The default value of timeout is given via 27 automatic power-save mode with 10 seconds, write to [all …]
|