/openbmc/linux/Documentation/trace/ |
H A D | events-power.rst | 5 The power tracing system captures events related to power transitions 8 - Power state switch which reports events related to suspend (S-states), 9 cpuidle (C-states) and cpufreq (P-states) 10 - System clock related changes 11 - Power domains related changes and transitions 22 ----------------- 24 A 'cpu' event class gathers the CPU-related events: cpuidle and 39 Note: the value of '-1' or '4294967295' for state means an exit from the current state, 72 4. PM QoS events 74 The PM QoS events are used for QoS add/update/remove request and for [all …]
|
/openbmc/linux/Documentation/power/ |
H A D | drivers-testing.rst | 10 Unfortunately, to effectively test the support for the system-wide suspend and 20 resolve all suspend/resume-related problems in the test system before you start 21 testing the new driver. Please see Documentation/power/basic-pm-debugging.rst 27 Once you have resolved the suspend/resume-related problems with your test system 31 (see: Documentation/power/basic-pm-debugging.rst, 1). 34 "platform" modes (see: Documentation/power/basic-pm-debugging.rst, 1). 43 Documentation/power/basic-pm-debugging.rst, 2). [As far as the STR tests are 48 (see: Documentation/power/basic-pm-debugging.rst, 2). 52 regarded as suspend/resume-safe.
|
H A D | pci.rst | 7 An overview of concepts and the Linux kernel's interfaces related to PCI power 12 devices. For general description of the kernel's interfaces related to device 13 power management refer to Documentation/driver-api/pm/devices.rst and 27 1.1. Native and Platform-Based Power Management 28 ----------------------------------------------- 31 devices into states in which they draw less power (low-power states) at the 34 Usually, a device is put into a low-power state when it is underutilized or 36 again, it has to be put back into the "fully functional" state (full-power 41 PCI devices may be put into low-power states in two ways, by using the device 44 approach, that is referred to as the native PCI power management (native PCI PM) [all …]
|
H A D | runtime_pm.rst | 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: 18 put their PM-related work items. It is strongly recommended that pm_wq be 19 used for queuing all work items related to runtime PM, because this allows 20 them to be synchronized with system-wide power transitions (suspend to RAM, 24 * A number of runtime PM fields in the 'power' member of 'struct device' (which 25 is of the type 'struct dev_pm_info', defined in include/linux/pm.h) that can 26 be used for synchronizing runtime PM operations with one another. 28 * Three device runtime PM callbacks in 'struct dev_pm_ops' (defined in [all …]
|
H A D | freezing-of-tasks.rst | 11 kernel threads are controlled during hibernation or system-wide suspend (on some 17 There are three per-task flags used for that, PF_NOFREEZE, PF_FROZEN 25 freeze_processes() (defined in kernel/power/process.c) is called. A system-wide 26 variable system_freezing_cnt (as opposed to a per-task flag) is used to indicate 44 signal-handling code, but the freezable kernel threads need to call it 74 ------------------------------------------------------------------------- 77 - freezes only userspace tasks 80 - freezes all tasks (including kernel threads) because we can't freeze 84 - thaws only kernel threads; this is particularly useful if we need to do 89 - thaws all tasks (including kernel threads) because we can't thaw userspace [all …]
|
/openbmc/linux/drivers/gpu/drm/msm/dp/ |
H A D | dp_power.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * Copyright (c) 2012-2020, The Linux Foundation. All rights reserved. 12 * sruct dp_power - DisplayPort's power related data 26 * dp_power_init() - enable power supplies for display controller 37 * dp_power_deinit() - turn off regulators and gpios. 47 * dp_power_clk_status() - display controller clocks status 50 * @pm_type: type of pm, core/ctrl/phy 59 * dp_power_clk_enable() - enable display controller clocks 62 * @pm_type: type of pm, core/ctrl/phy 73 * dp_power_client_init() - initialize clock and regulator modules [all …]
|
/openbmc/openbmc/meta-openembedded/meta-networking/classes/ |
H A D | waf-samba.bbclass | 1 # waf is a build system which is used by samba related project. 6 DEPENDS += "qemu-native libxslt-native docbook-xsl-stylesheets-native python3" 8 CONFIGUREOPTS = " --prefix=${prefix} \ 9 --bindir=${bindir} \ 10 --sbindir=${sbindir} \ 11 --libexecdir=${libexecdir} \ 12 --datadir=${datadir} \ 13 --sysconfdir=${sysconfdir} \ 14 --sharedstatedir=${sharedstatedir} \ 15 --localstatedir=${localstatedir} \ [all …]
|
/openbmc/linux/Documentation/trace/coresight/ |
H A D | coresight-cpu-debug.rst | 9 ------------ 11 Coresight CPU debug module is defined in ARMv8-a architecture reference manual 13 debug module and it is mainly used for two modes: self-hosted debug and 16 explore debugging method which rely on self-hosted debug mode, this document 19 The debug module provides sample-based profiling extension, which can be used 21 every CPU has one dedicated debug module to be connected. Based on self-hosted 22 debug mechanism, Linux kernel can access these related registers from mmio 24 will dump related registers for every CPU; finally this is good for assistant 29 -------------- 31 - During driver registration, it uses EDDEVID and EDDEVID1 - two device ID [all …]
|
/openbmc/linux/arch/arm/mach-omap2/ |
H A D | pm.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * pm.c - Common OMAP2+ power management-related code 25 #include "prcm-common.h" 29 #include "pm.h" 35 * omap_pm_suspend: points to a function that does the SoC-specific 43 * struct omap2_oscillator - Describe the board main oscillator latencies 79 return -ENOENT; /* XXX doublecheck */ in omap_pm_enter() 86 ret = -EINVAL; in omap_pm_enter() 120 * omap_common_suspend_init - Set common suspend routines for OMAP SoCs 155 pr_warn("%s: pm soc init failed: %i\n", __func__, error); in omap2_common_pm_late_init()
|
/openbmc/linux/block/ |
H A D | blk-pm.c | 1 // SPDX-License-Identifier: GPL-2.0 3 #include <linux/blk-pm.h> 6 #include "blk-mq.h" 9 * blk_pm_runtime_init - Block layer runtime PM initialization routine 14 * Initialize runtime-PM-related fields for @q and start auto suspend for 15 * @dev. Drivers that want to take advantage of request-based runtime PM 17 * request queue @q has been allocated, and runtime PM for it can not happen 22 * the autosuspend delay is set to -1 to make runtime suspend impossible 26 * The block layer runtime PM is request based, so only works for drivers 31 q->dev = dev; in blk_pm_runtime_init() [all …]
|
/openbmc/linux/drivers/soc/mediatek/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 58 select PM_GENERIC_DOMAINS if PM 66 depends on PM 72 Control Processor System (SCPSYS) has several power management related
|
/openbmc/openbmc/meta-raspberrypi/dynamic-layers/multimedia-layer/recipes-multimedia/rpidistro-vlc/files/ |
H A D | 3002-fix-EGL-macro-undeclared-and-EGLImageKHR.patch | 2 Date: Fri, 07 Jan 2022 07:01:47 PM CST 5 Upstream-Status: Inappropriate 7 RPI-Distro repo forks original vlc and applies patches to enable 10 * Fixes compiler issues related to EGL macro constant/enum value type not being defined 13 Signed-off-by: Vincent Davis Jr <vince@underview.tech> 14 diff --git a/modules/hw/mmal/converter_mmal.c b/modules/hw/mmal/converter_mmal.c 16 --- a/modules/hw/mmal/converter_mmal.c 18 @@ -28,6 +28,34 @@ 22 +// Pass Yocto related build errors 53 @@ -199,7 +227,7 @@ static tex_context_t * get_tex_context(const opengl_tex_converter_t * const tc, [all …]
|
/openbmc/linux/Documentation/sound/soc/ |
H A D | machine.rst | 12 the following struct:- 24 /* the pre and post PM functions are used to do any PM work before and 25 * after the codec and DAIs do any PM work. */ 33 /* CPU <--> Codec DAI links */ 41 ---------------- 46 ------------------ 53 ------------------------- 55 also be used to set up the DAI system clock and for any machine related DAI 62 /* corgi digital audio interface glue - connects codec <--> CPU */ 66 .cpu_dai_name = "pxa-is2-dai", [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 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"). 42 by implementing various role-specific suspend and resume methods to [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-support/atop/ |
H A D | atop_2.4.0.bb | 2 DESCRIPTION = "Atop is an ASCII full-screen performance monitor for Linux that \ 5 long-term analysis, highlighting overloaded system resources by using colors, \ 6 etc. At regular intervals, it shows system-level activity related to the CPU, \ 13 LICENSE = "GPL-2.0-only" 20 file://fix-permissions.patch \ 21 file://sysvinit-implement-status.patch \ 22 file://0001-atop.daily-atop.init-atop-pm.sh-Avoid-using-bash.patch \ 29 CVE_STATUS[CVE-2011-3618] = "fixed-version: The CPE in the NVD database doesn't reflect correctly t… 38 PMPATHD=${systemd_unitdir}/system-sleep systemdinstall 39 install -d ${D}${sysconfdir}/tmpfiles.d [all …]
|
/openbmc/linux/kernel/power/ |
H A D | qos.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Power Management Quality of Service (PM QoS) support base. 11 * Provided here is an interface for specifying PM QoS dependencies. It allows 15 * or through a built-in notification mechanism. 50 * pm_qos_read_value - Return the current effective constraint value. 51 * @c: List of PM QoS constraint requests. 55 return READ_ONCE(c->target_value); in pm_qos_read_value() 60 if (plist_head_empty(&c->list)) in pm_qos_get_value() 61 return c->no_constraint_value; in pm_qos_get_value() 63 switch (c->type) { in pm_qos_get_value() [all …]
|
H A 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 32 This setting changes the default for the run-tim switch. Say Y 60 for suspend states like suspend-to-RAM (STR) often don't work very 72 <file:Documentation/power/swsusp-and-swap-files.rst>). 100 The default resume partition is the partition that the suspend- 101 to-disk implementation will look for a suspended disk image. 120 select PM 135 non-zero numbered CPU, it may define ARCH_SUSPEND_NONZERO_CPU. This [all …]
|
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-devtools/php/php/ |
H A D | php-fpm.conf | 7 ; '-p' argument from the command line. 13 ; - the global prefix if it's been set (-p arguement) 14 ; - /usr otherwise 25 ;pid = run/php-fpm.pid 31 ; Default Value: log/php-fpm.log 32 ;error_log = log/php-fpm.log 44 ; Default Value: php-fpm 45 ;syslog.ident = php-fpm 73 ; the global number of processes when using dynamic PM within a lot of pools. 80 ; The value can vary from -19 (highest priority) to 20 (lower priority) [all …]
|
/openbmc/linux/drivers/soc/qcom/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 11 depends on COMMON_CLK && PM 15 the low-power state for resources related to the remoteproc 26 resource on a RPM-hardened platform must use this database to get 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 144 assess whether all the low-power modes available are entered as 150 tristate "Qualcomm RPM-Hardened (RPMH) Communication" [all …]
|
/openbmc/linux/drivers/base/power/ |
H A D | wakeup.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * drivers/base/power/wakeup.c - System wakeup events framework 7 #define pr_fmt(fmt) "PM: " fmt 46 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1) 77 * wakeup_source_create - Create a struct wakeup_source object. 93 ws->name = ws_name; in wakeup_source_create() 98 ws->id = id; in wakeup_source_create() 103 kfree_const(ws->name); in wakeup_source_create() 120 if (ws->event_count) { in wakeup_source_record() 122 ktime_add(deleted_ws.total_time, ws->total_time); in wakeup_source_record() [all …]
|
/openbmc/linux/include/linux/ |
H A D | pm_domain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * pm_domain.h - Definitions and headers related to device power domains. 14 #include <linux/pm.h> 29 * GENPD_FLAG_PM_CLK: Instructs genpd to use the PM clk framework, 33 * ->power_on|off(), doesn't sleep. Hence, these 35 * enables genpd to power on/off the PM domain, 41 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain 44 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered 55 * last-man-standing algorithm, for the CPUs in the 56 * PM domain. [all …]
|
/openbmc/linux/sound/soc/sof/ |
H A D | sof-priv.h | 1 /* SPDX-License-Identifier: (GPL-2.0-only OR BSD-3-Clause) */ 18 #include <sound/sof/pm.h> 48 #define SOF_DBG_FORCE_NOCODEC BIT(10) /* ignore all codec-related 95 u32 substate; /* platform-specific */ 134 * struct snd_sof_platform_stream_params - platform dependent stream parameters 150 * struct sof_firmware - Container struct for SOF firmware 258 * instead from a host-accessible hardware counter. 282 /* DSP PM */ 352 #define sof_dsp_arch_ops(sdev) ((sdev)->pdata->desc->ops->dsp_arch_ops) 361 * memory -> DSP resource (memory, register etc) is always accessible [all …]
|
/openbmc/linux/drivers/platform/x86/intel/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 15 source "drivers/platform/x86/intel/uncore-frequency/Kconfig" 115 resources for a MAX17042 Fuel Gauge, FUSB302 USB Type-C Controller 117 This driver instantiates i2c-clients for these, so that standard 129 This driver is for accessing the PSE (Programmable Service Engine) - 130 an Embedded Controller like IP - using ISHTP (Integrated Sensor Hub 131 Transport Protocol) to get battery, thermal and UCSI (USB Type-C 132 Connector System Software Interface) related data from the platform. 152 tristate "Intel P-Unit IPC Driver" 154 This driver provides support for Intel P-Unit Mailbox IPC mechanism, [all …]
|
/openbmc/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 7 management related properties of given device. 40 space to control the run-time power management of the device. 61 with the main suspend/resume thread) during system-wide power 74 of a device unless it is certain that all of the PM dependencies 75 of the device are known to the PM core. However, for some 86 attribute is read-only. If the device is not capable to wake up 98 is read-only. If the device is not capable to wake up the 110 state in progress. This attribute is read-only. If the device 122 read-only. If the device is not capable to wake up the system 133 the device is being processed (1). This attribute is read-only. [all …]
|
/openbmc/linux/drivers/media/platform/st/sti/delta/ |
H A D | delta.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 11 #include <media/v4l2-device.h> 12 #include <media/v4l2-mem2mem.h> 14 #include "delta-cfg.h" 17 * enum delta_state - state of decoding instance 46 * struct delta_streaminfo - information about stream to decode 89 * struct delta_au - access unit structure. 112 * struct delta_frameinfo - information about decoded frame 153 * struct delta_frame - frame structure. 193 * struct delta_dts - decoding timestamp. [all …]
|