/openbmc/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 …]
|
/openbmc/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 | cpuidle.rst | 1 .. SPDX-License-Identifier: GPL-2.0 23 Since part of the processor hardware is not used in idle states, entering them 27 CPU idle time management is an energy-efficiency feature concerned about using 31 ------------ 37 software as individual single-core processors. In other words, a CPU is an 43 program) at a time, it is a CPU. In that case, if the hardware is asked to 44 enter an idle state, that applies to the processor as a whole. 46 Second, if the processor is multi-core, each core in it is able to follow at 51 time. The entire cores are CPUs in that case and if the hardware is asked to 52 enter an idle state, that applies to the core that asked for it in the first [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 …]
|
/openbmc/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 …]
|
/openbmc/linux/Documentation/driver-api/pm/ |
H A D | devices.rst | 1 .. SPDX-License-Identifier: GPL-2.0 10 :Copyright: |copy| 2010-2011 Rafael J. Wysocki <rjw@sisk.pl>, Novell Inc. 18 management (PM) code is also driver-specific. Most drivers will do very 22 This writeup gives an overview of how drivers interact with system-wide 25 background for the domain-specific work you'd do with any specific driver. 31 Drivers will use one or both of these models to put devices into low-power 34 System Sleep model: 36 Drivers can enter low-power states as part of entering system-wide 37 low-power states like "suspend" (also known as "suspend-to-RAM"), or 39 "suspend-to-disk"). [all …]
|
/openbmc/linux/Documentation/locking/ |
H A D | hwspinlock.rst | 2 Hardware Spinlock Framework 8 Hardware spinlock modules provide hardware assistance for synchronization 12 For example, OMAP4 has dual Cortex-A9, dual Cortex-M3 and a C64x+ DSP, 17 A generic hwspinlock framework allows platform-independent drivers to use 22 This is necessary, for example, for Inter-processor communications: 23 on OMAP4, cpu-intensive multimedia tasks are offloaded by the host to the 26 To achieve fast message-based communications, a minimal kernel support 35 A common hwspinlock interface makes it possible to have generic, platform- 50 Should be called from a process context (might sleep). 61 Should be called from a process context (might sleep). [all …]
|
/openbmc/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 57 * struct clkdm_autodep - clkdm deps to add when entering/exiting hwsup mode 58 * @clkdm: clockdomain to add wkdep+sleepdep on - set name member only 66 * omap_hwmod-based fine-grained module idle control is added. [all …]
|
/openbmc/linux/include/linux/ |
H A D | hwspinlock.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 3 * Hardware spinlock public header 5 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com 7 * Contact: Ohad Ben-Cohen <ohad@wizery.com> 17 #define HWLOCK_IRQSTATE 0x01 /* Disable interrupts, save state */ 18 #define HWLOCK_IRQ 0x02 /* Disable interrupts, don't save state */ 29 * struct hwspinlock_pdata - platform data for hwspinlock drivers 32 * hwspinlock devices provide system-wide hardware locks that are used 35 * To achieve that, each physical lock must have a system-wide id number 37 * they're using the same hardware lock. [all …]
|
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 128 /* Brightness off also disables hw-blinking so it is a separate action */ 134 * Must not sleep. Use brightness_set_blocking for drivers 135 * that can sleep while setting brightness. 140 * Set LED brightness level immediately - it can block the caller for 149 * Activate hardware accelerated blink, delays are in milliseconds [all …]
|
H A D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 24 ((port)->cons && (port)->cons->index == (port)->line) 36 * struct uart_ops -- interface between serial_core and the driver 39 * physical hardware. 50 * This call must not sleep 54 * This function sets the modem control lines for @port to the state 57 * - %TIOCM_RTS RTS signal. 58 * - %TIOCM_DTR DTR signal. 59 * - %TIOCM_OUT1 OUT1 signal. 60 * - %TIOCM_OUT2 OUT2 signal. [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
H A D | sysfs-devices-power | 15 from sleep states, such as the memory sleep state (suspend to 19 Some devices support "wakeup" events, which are hardware signals 20 used to activate the system from a sleep state. Such devices 33 be enabled to wake up the system from sleep states. 40 space to control the run-time power management of the device. 61 with the main suspend/resume thread) during system-wide power 86 attribute is read-only. If the device is not capable to wake up 87 the system from sleep states, this attribute is not present. 88 If the device is not enabled to wake up the system from sleep 98 is read-only. If the device is not capable to wake up the [all …]
|
/openbmc/qemu/tests/migration/guestperf/ |
H A D | engine.py | 38 sleep=15, verbose=False, debug=False): argument 45 self._sleep = sleep 80 info = vm.cmd("query-migrate") 94 info["ram"].get("normal-bytes", 0), 95 info["ram"].get("dirty-pages-rate", 0), 97 info["ram"].get("dirty-sync-count", 0) 100 info.get("total-time", 0), 102 info.get("expected-downtime", 0), 103 info.get("setup-time", 0), 104 info.get("cpu-throttle-percentage", 0), [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 the low-power state for resources related to the remoteproc 25 resources. Platform drivers that require to set state of a shared 26 resource on a RPM-hardened platform must use this database to get 35 Say Y here to enable support for the CPR hardware found on Qualcomm 39 tables based on feedback from the CPR hardware. If you want to do 43 be called qcom-cpr 110 Say yes here to support USB-C and battery status on modern Qualcomm 133 purpose of exchanging sector-data between the remote filesystem 142 The RPM Master sleep stats driver provides detailed per-subsystem [all …]
|
/openbmc/linux/drivers/staging/media/atomisp/pci/runtime/debug/interface/ |
H A D | ia_css_debug.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 108 /* Logging macros for non-API functions. These have a lower trace level */ 163 /*! @brief Dump isp hardware state. 164 * Dumps the isp hardware state to tracing output. 169 /*! @brief Dump sp hardware state. 170 * Dumps the sp hardware state to tracing output. 176 /*! @brief Dump GAC hardware state. 177 * Dumps the GAC ACB hardware registers. may be useful for 183 /*! @brief Dump dma controller state. 184 * Dumps the dma controller state to tracing output. [all …]
|
/openbmc/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 - 2023, 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 - 2023, 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 …]
|
/openbmc/linux/drivers/hwspinlock/ |
H A D | hwspinlock_core.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Hardware spinlock framework 5 * Copyright (C) 2010 Texas Instruments Incorporated - http://www.ti.com 7 * Contact: Ohad Ben-Cohen <ohad@wizery.com> 19 #include <linux/radix-tree.h> 36 * and provides easy-to-use API which makes the hwspinlock core code simple 54 * as the radix-tree API requires that users provide all synchronisation. 55 * A mutex is needed because we're using non-atomic radix tree allocations. 61 * __hwspin_trylock() - attempt to lock a specific hwspinlock 64 * @flags: a pointer where the caller's interrupt state will be saved at (if [all …]
|