/linux/Documentation/ABI/testing/ |
H A 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/arch/arm/mach-pxa/ |
H A 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 …]
|
H A 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/Documentation/hwmon/ |
H A 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/Documentation/arch/arm/ |
H A 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/drivers/staging/iio/frequency/ |
H A 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/Documentation/admin-guide/pm/ |
H A 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/Documentation/networking/pse-pd/ |
H A D | introduction.rst | 1 .. SPDX-License-Identifier: GPL-2.0 3 Power Sourcing Equipment (PSE) in IEEE 802.3 Standard 7 -------- 9 Power Sourcing Equipment (PSE) is essential in networks for delivering power 11 switches and hubs that supply power to Powered Devices (PDs) such as IP 15 ---------------- 18 power alongside data over Ethernet cables, typically associated with Power over 21 PoDL PSE, or Power over Data Lines PSE, specifically denotes PSEs operating 22 with single balanced twisted-pair PHYs, as per Clause 104 of IEEE 802.3. PoDL 23 is significant in contexts like automotive and industrial controls where power [all …]
|
/linux/arch/arm64/boot/dts/xilinx/ |
H A 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/Documentation/devicetree/bindings/power/ |
H A 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 …]
|
H A 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 …]
|
H A D | apple,pmgr-pwrstate.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/apple,pmgr-pwrstate.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Apple SoC PMGR Power States 10 - Hector Martin <marcan@marcan.st> 13 - $ref: power-domain.yaml# 16 Apple SoCs include PMGR blocks responsible for power management, 17 which can control various clocks, resets, power states, and 18 performance features. This binding describes the device power [all …]
|
/linux/arch/arm/mach-exynos/ |
H A 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/Documentation/power/ |
H A 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 …]
|
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) 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/Documentation/devicetree/bindings/mfd/ |
H A 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/Documentation/input/devices/ |
H A 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/Documentation/driver-api/thermal/ |
H A 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/arch/arm/mach-meson/ |
H A 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 …]
|
/linux/include/linux/ |
H A D | pm_runtime.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * pm_runtime.h - Device run-time power management helper functions. 99 * pm_suspend_ignore_children - Set runtime PM behavior regarding children. 109 dev->power.ignore_children = enable; in pm_suspend_ignore_children() 113 * pm_runtime_get_noresume - Bump up runtime PM usage counter of a device. 118 atomic_inc(&dev->power.usage_count); in pm_runtime_get_noresume() 122 * pm_runtime_put_noidle - Drop runtime PM usage counter of a device. 129 atomic_add_unless(&dev->power.usage_count, -1, 0); in pm_runtime_put_noidle() 133 * pm_runtime_suspended - Check whether or not a device is runtime-suspended. 146 return dev->power.runtime_status == RPM_SUSPENDED in pm_runtime_suspended() [all …]
|
H A 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 …]
|
/linux/include/uapi/linux/ |
H A 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/arch/x86/platform/ce4100/ |
H A 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/Documentation/devicetree/bindings/pinctrl/ |
H A 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 …]
|
/linux/drivers/net/wireless/intel/iwlegacy/ |
H A D | csr.h | 8 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 29 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497 33 * Copyright(c) 2005 - 2011 Intel Corporation. All rights reserved. 69 * whenever platform supplies power to device, even when device is in 70 * low power states due to driver-invoked device resets 71 * (e.g. CSR_RESET_REG_FLAG_SW_RESET) or uCode-driven power-saving modes. 74 * these provide simple PCI bus access, without waking up the MAC. 77 * The MAC (uCode processor, etc.) does not need to be powered up for accessing 86 #define CSR_INT_COALESCING (CSR_BASE+0x004) /* accum ints, 32-usec units */ 100 * 31-8: Reserved [all …]
|