/linux/tools/power/cpupower/man/ |
H A D | cpupower-idle-info.1 | 1 .TH "CPUPOWER-IDLE-INFO" "1" "0.1" "" "cpupower Manual" 4 cpupower\-idle\-info \- Utility to retrieve cpu idle kernel information 7 cpupower [ \-c cpulist ] idle\-info [\fIoptions\fP] 14 \fB\-f\fR \fB\-\-silent\fR 15 Only print a summary of all available C-states in the system. 17 \fB\-e\fR \fB\-\-proc\fR 23 .SH IDLE\-INFO DESCRIPTIONS 24 CPU sleep state statistics and descriptions are retrieved from sysfs files, 26 statistics when it enters or leaves an idle state, therefore on a very idle or 28 good overview about the usage and availability of processor sleep states on [all …]
|
H A D | cpupower-monitor.1 | 1 .TH CPUPOWER\-MONITOR "1" "22/02/2011" "" "cpupower Manual" 3 cpupower\-monitor \- Report processor frequency and idle statistics 7 .RB "\-l" 10 .RB [ -c ] [ "\-m <mon1>," [ "<mon2>,..." ] ] 11 .RB [ "\-i seconds" ] 14 .RB [ -c ][ "\-m <mon1>," [ "<mon2>,..." ] ] 18 \fBcpupower-monitor \fP reports processor topology, frequency and idle power 19 state statistics. Either \fBcommand\fP is forked and 22 \fBcpupower-monitor \fP implements independent processor sleep state and 24 directly reading out hardware registers. Use \-l to get an overview which are [all …]
|
/linux/Documentation/admin-guide/pm/ |
H A D | suspend-flows.rst | 1 .. SPDX-License-Identifier: GPL-2.0 12 At least one global system-wide transition needs to be carried out for the 13 system to get from the working state into one of the supported 14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one 15 transition to occur for this purpose, but the other sleep states, commonly 16 referred to as *system-wide suspend* (or simply *system suspend*) states, need 19 For those sleep states, the transition from the working state of the system into 20 the target sleep state is referred to as *system suspend* too (in the majority 21 of cases, whether this means a transition or a sleep state of the system should 22 be clear from the context) and the transition back from the sleep state into the [all …]
|
H A D | strategies.rst | 1 .. SPDX-License-Identifier: GPL-2.0 13 The Linux kernel supports two major high-level power management strategies. 15 One of them is based on using global low-power states of the whole system in 17 significantly reduced, referred to as :doc:`sleep states <sleep-states>`. The 20 designated devices, triggering a transition to the ``working state`` in which 21 user space code can run. Because sleep states are global and the whole system 22 is affected by the state changes, this strategy is referred to as the 23 :doc:`system-wide power management <system-wide>`. 25 The other strategy, referred to as the :doc:`working-state power management 26 <working-state>`, is based on adjusting the power states of individual hardware [all …]
|
H A D | sleep-states.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 System Sleep States 13 Sleep states are global low-power states of the entire system in which user 18 Sleep States That Can Be Supported 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 [all …]
|
/linux/Documentation/devicetree/bindings/pinctrl/ |
H A D | sprd,sc9860-pinctrl.txt | 7 - compatible: Must be "sprd,sc9860-pinctrl". 8 - reg: The register address of pin controller device. 9 - pins : An array of strings, each string containing the name of a pin. 12 - function: A string containing the name of the function, values must be 14 - drive-strength: Drive strength in mA. Supported values: 2, 4, 6, 8, 10, 16 - input-schmitt-disable: Enable schmitt-trigger mode. 17 - input-schmitt-enable: Disable schmitt-trigger mode. 18 - bias-disable: Disable pin bias. 19 - bias-pull-down: Pull down on pin. 20 - bias-pull-up: Pull up on pin. Supported values: 20000 for pull-up resistor [all …]
|
H A D | sprd,pinctrl.txt | 16 of them, so we can not make every Spreadtrum-special configuration 29 to configure the pin sleep mode, function select and sleep related 32 Now we have 4 systems for sleep mode on SC9860 SoC: AP system, 33 PUBCP system, TGLDSP system and AGDSP system. And the pin sleep 35 - input-enable 36 - input-disable 37 - output-high 38 - output-low 39 - bias-pull-up 40 - bias-pull-down [all …]
|
H A D | pincfg-node.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only 3 --- 4 $id: http://devicetree.org/schemas/pinctrl/pincfg-node.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Linus Walleij <linus.walleij@linaro.org> 16 for all hardware or binding structures. Each individual binding document 17 should state which of these generic properties, if any, are used, and the 21 bias-disable: 25 bias-high-impedance: 27 description: high impedance mode ("third-state", "floating") [all …]
|
/linux/arch/arm/mach-omap2/ |
H A D | clockdomain.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2008-2011 Texas Instruments, Inc. 6 * Copyright (C) 2008-2011 Nokia Corporation 22 #include <linux/clk-provider.h> 56 if (!strcmp(name, temp_clkdm->name)) { in _clkdm_lookup() 66 * _clkdm_register - register a clockdomain 70 * Returns -EINVAL if given a null pointer, -EEXIST if a clockdomain is 77 if (!clkdm || !clkdm->name) in _clkdm_register() 78 return -EINVAL; in _clkdm_register() 80 pwrdm = pwrdm_lookup(clkdm->pwrdm.name); in _clkdm_register() [all …]
|
H A D | powerdomain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 5 * Copyright (C) 2007-2008, 2010 Texas Instruments, Inc. 6 * Copyright (C) 2007-2011 Nokia Corporation 10 * XXX This should be moved to the mach-omap2/ directory at the earliest 29 /* Powerdomain allowable state bitfields */ 45 * PWRDM_HAS_HDWR_SAR - powerdomain has hardware save-and-restore support 47 * PWRDM_HAS_MPU_QUIRK - MPU pwr domain has MEM bank 0 bits in MEM 50 * PWRDM_HAS_LOWPOWERSTATECHANGE - can transition from a sleep state 51 * to a lower sleep state without waking up the powerdomain 58 * Number of memory banks that are power-controllable. On OMAP4430, the [all …]
|
H A D | clockdomain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 6 * Copyright (C) 2008-2011 Nokia Corporation 33 * hardware-supervised idle mode, the PRCM may transition the 34 * enclosing powerdomain to a low power state, even when devices 38 * force-sleep mode, then the HW_AUTO mode will be used to put the 39 * clockdomain to sleep. Similarly, if the clockdomain supports 40 * the force-wakeup mode, then it will be used whenever a clock or 58 * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode 59 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only 67 * omap_hwmod-based fine-grained module idle control is added. [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-power | 9 What: /sys/power/state 13 The /sys/power/state file controls system sleep states. 14 Reading from this file returns the available sleep state 15 labels, which may be "mem" (suspend), "standby" (power-on 16 suspend), "freeze" (suspend-to-idle) and "disk" (hibernation). 19 to transition into the corresponding state, if available. 21 See Documentation/admin-guide/pm/sleep-states.rst for more 32 to suspend the system (by writing "mem" to the /sys/power/state 39 See Documentation/admin-guide/pm/sleep-states.rst for more 47 suspend-to-disk mechanism. Reading from this file returns [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | max77620.txt | 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. 21 - system-power-controller: Indicates that this PMIC is controlling the [all …]
|
/linux/drivers/acpi/acpica/ |
H A D | hwsleep.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Name: hwsleep.c - ACPI Hardware Sleep/Wake Support functions for the 5 * original/legacy sleep/PM registers. 7 * Copyright (C) 2000 - 2025, Intel Corp. 22 * PARAMETERS: sleep_state - Which sleep state to enter 26 * DESCRIPTION: Enter a system sleep state via the legacy FADT PM registers 79 "Entering sleep state [S%u]\n", sleep_state)); in acpi_hw_legacy_sleep() 83 pm1a_control &= ~(sleep_type_reg_info->access_bit_mask | in acpi_hw_legacy_sleep() 84 sleep_enable_reg_info->access_bit_mask); in acpi_hw_legacy_sleep() 90 (acpi_gbl_sleep_type_a << sleep_type_reg_info->bit_position); in acpi_hw_legacy_sleep() [all …]
|
H A D | hwxface.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Module Name: hwxface - Public ACPICA hardware interfaces 6 * Copyright (C) 2000 - 2025, Intel Corp. 44 !reset_reg->address) { in acpi_reset() 48 if (reset_reg->space_id == ACPI_ADR_SPACE_SYSTEM_IO) { in acpi_reset() 60 status = acpi_os_write_port((acpi_io_address)reset_reg->address, in acpi_reset() 78 * PARAMETERS: value - Where the value is returned in ACPI_EXPORT_SYMBOL() 79 * reg - GAS register structure in ACPI_EXPORT_SYMBOL() 108 * PARAMETERS: value - Value to be written in ACPI_EXPORT_SYMBOL() 109 * reg - GAS register structure in ACPI_EXPORT_SYMBOL() [all …]
|
H A D | hwesleep.c | 1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0 4 * Name: hwesleep.c - ACPI Hardware Sleep/Wake Support functions for the 5 * extended FADT-V5 sleep registers. 7 * Copyright (C) 2000 - 2025, Intel Corp. 21 * PARAMETERS: method_pathname - Pathname of method to execute 22 * integer_argument - Argument to pass to the method 26 * DESCRIPTION: Execute a sleep/wake related method with one integer argument 58 * PARAMETERS: sleep_state - Which sleep state to enter 62 * DESCRIPTION: Enter a system sleep state via the extended FADT sleep 76 /* Extended sleep registers must be valid */ in acpi_hw_extended_sleep() [all …]
|
/linux/tools/power/x86/turbostat/ |
H A D | turbostat.8 | 3 turbostat \- Report processor frequency and idle statistics 12 .RB [ "\--interval seconds" ] 15 idle power-state statistics, temperature and power on X86 processors. 19 in one-shot upon its completion. 22 The 5-second interval can be changed using the --interval option. 26 Options can be specified with a single or double '-', and only as much of the option 27 name as necessary to disambiguate it from others is necessary. Note that options are case-sensitiv… 29 \fB--add attributes\fP add column with counter having specified 'attributes'. The 'location' attri… 39 … event for given device from /sys/bus/event_source/devices/<device>/events/<event> eg. c1-residency 40 …perf/cstate_core/c1-residency would then use /sys/bus/event_source/devices/cstate_core/events/c1-r… [all …]
|
/linux/include/linux/ |
H A D | leds.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 11 #include <dt-bindings/leds/common.h> 47 * struct led_lookup_data - represents a single LED lookup entry 66 * with in-driver hard-coded LED names used as a fallback when 79 * only LEDs exposed by drivers of hot-pluggable devices should 122 /* Brightness off also disables hw-blinking so it is a separate action */ 128 * Must not sleep. Use brightness_set_blocking for drivers 129 * that can sleep while setting brightness. 134 * Set LED brightness level immediately - it can block the caller for 143 * Activate hardware accelerated blink, delays are in milliseconds [all …]
|
H A D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 25 ((port)->cons && (port)->cons->index == (port)->line) 37 * struct uart_ops - 493 struct uart_state *state; /* pointer to parent state */ global() member 888 struct uart_state *state; global() member 1269 struct uart_state *state = port->state; uart_handle_break() local [all...] |
/linux/Documentation/power/ |
H A D | swsusp.rst | 23 your hardware while system is suspended... well, it was not good idea; 45 echo shutdown > /sys/power/disk; echo disk > /sys/power/state 47 - If you feel ACPI works pretty well on your system, you might try:: 49 echo platform > /sys/power/disk; echo disk > /sys/power/state 51 - If you would like to write hibernation image to swap and then suspend 54 echo suspend > /sys/power/disk; echo disk > /sys/power/state 56 - If you have SATA disks, you'll need recent kernels with SATA suspend 58 are built into kernel -- not modules. [There's way to make 68 - The resume process checks for the presence of the resume device, 72 - The resume process may be triggered in two ways: [all …]
|
/linux/include/net/ |
H A D | mac80211.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * mac80211 <-> driver interface 5 * Copyright 2002-2005, Devicescape Software, Inc. 6 * Copyright 2006-2007 Jiri Benc <jbenc@suse.cz> 7 * Copyright 2007-2010 Johannes Berg <johannes@sipsolutions.net> 8 * Copyright 2013-2014 Intel Mobile Communications GmbH 9 * Copyright (C) 2015 - 201 [all...] |
/linux/arch/arm/mach-sa1100/ |
H A D | sleep.S | 2 * SA11x0 Assembler Sleep/WakeUp Management Routines 11 * 2001-02-06: Cliff Brake Initial code 13 * 2001-08-29: Nicolas Pitre Simplified. 15 * 2002-05-27: Nicolas Pitre Revisited, more cleanup and simplification. 21 #include <mach/hardware.h> 27 * Causes sa11x0 to enter sleep state 41 @ Pre-load __loop_udelay into the I-cache 136 @ Wow, now the hardware suspend request pins can be used, that makes them functional for 139 @ Step 6 set force sleep bit in PMCR 143 20: b 20b @ loop waiting for sleep
|
/linux/Documentation/spi/ |
H A D | spi-summary.rst | 5 02-Feb-2012 8 ------------ 17 clocking modes through which data is exchanged; mode-0 and mode-3 are most 32 - SPI may be used for request/response style device protocols, as with 35 - It may also be used to stream data in either direction (half duplex), 38 - Some devices may use eight bit words. Others may use different word 39 lengths, such as streams of 12-bit or 20-bit digital samples. 41 - Words are usually sent with their most significant bit (MSB) first, 44 - Sometimes SPI is used to daisy-chain devices, like shift registers. 51 SPI is only one of the names used by such four-wire protocols, and [all …]
|
/linux/drivers/media/dvb-frontends/ |
H A D | dvb_dummy_fe.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 60 * Should only be implemented if it actually reads something from the hardware. 72 if (fe->ops.tuner_ops.set_params) { in dvb_dummy_fe_set_frontend() 73 fe->ops.tuner_ops.set_params(fe); in dvb_dummy_fe_set_frontend() 74 if (fe->ops.i2c_gate_ctrl) in dvb_dummy_fe_set_frontend() 75 fe->ops.i2c_gate_ctrl(fe, 0); in dvb_dummy_fe_set_frontend() 105 struct dvb_dummy_fe_state *state = fe->demodulator_priv; in dvb_dummy_fe_release() local 107 kfree(state); in dvb_dummy_fe_release() 114 struct dvb_dummy_fe_state *state = NULL; in dvb_dummy_fe_ofdm_attach() local 116 /* allocate memory for the internal state */ in dvb_dummy_fe_ofdm_attach() [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" 21 #define PSSR __REG(0x40F00004) /* Power Manager Sleep Status 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 */ 28 #define PGSR0 __REG(0x40F00020) /* Power Manager GPIO Sleep State Register for GP[31-0] */ 29 #define PGSR1 __REG(0x40F00024) /* Power Manager GPIO Sleep State Register for GP[63-32] */ [all …]
|