Home
last modified time | relevance | path

Searched +full:auto +full:- +full:pm (Results 1 – 25 of 560) sorted by relevance

12345678910>>...23

/openbmc/linux/block/
H A Dblk-pm.c1 // 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
21 * This function takes care of setting up using auto suspend for the device,
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
[all …]
/openbmc/linux/Documentation/ABI/testing/
H A Dsysfs-devices-power40 space to control the run-time power management of the device.
45 + "auto\n" to allow the device to be power managed at run time;
48 The default for all devices is "auto", which means that they may
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
[all …]
/openbmc/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
15 * Forms of dynamic PM
16 * The user interface for dynamic PM
17 * Changing the default idle-delay time
23 * Interaction between dynamic PM and system PM
24 * xHCI hardware link PM
31 -------------------------
33 Power Management (PM) is the practice of saving energy by suspending
[all …]
/openbmc/openpower-occ-control/
H A Docc_manager.cpp10 #include <phosphor-logging/elog-errors.hpp>
11 #include <phosphor-logging/lg2.hpp>
26 constexpr auto fruTypeSuffix = "fru_type";
27 constexpr auto faultSuffix = "fault";
28 constexpr auto inputSuffix = "input";
29 constexpr auto maxSuffix = "max";
31 const auto HOST_ON_FILE = "/run/openbmc/host@0-on";
52 auto err = errno; in readFile()
77 // - create the PowerMode object to control OCC modes
78 // - create statusObjects for each OCC device found
[all …]
H A Docc_manager.hpp53 constexpr auto AMBIENT_PATH =
55 constexpr auto AMBIENT_INTERFACE = "xyz.openbmc_project.Sensor.Value";
56 constexpr auto AMBIENT_PROP = "Value";
57 constexpr auto ALTITUDE_PATH = "/xyz/openbmc_project/sensors/altitude/Altitude";
58 constexpr auto ALTITUDE_INTERFACE = "xyz.openbmc_project.Sensor.Value";
59 constexpr auto ALTITUDE_PROP = "Value";
61 constexpr auto EXTN_LABEL_PWRM_MEMORY_POWER = "5057524d";
62 constexpr auto EXTN_LABEL_PWRP_PROCESSOR_POWER = "50575250";
77 /** @brief Adds OCC pass-through and status objects on the bus
80 * @param[in] event - Unique ptr reference to sd_event
[all …]
/openbmc/linux/drivers/gpu/drm/radeon/
H A Dradeon_pm.c24 #include <linux/hwmon-sysfs.h>
61 int found_instance = -1; in radeon_pm_get_type_index()
63 for (i = 0; i < rdev->pm.num_power_states; i++) { in radeon_pm_get_type_index()
64 if (rdev->pm.power_state[i].type == ps_type) { in radeon_pm_get_type_index()
71 return rdev->pm.default_power_state_index; in radeon_pm_get_type_index()
76 if ((rdev->pm.pm_method == PM_METHOD_DPM) && rdev->pm.dpm_enabled) { in radeon_pm_acpi_event_handler()
77 mutex_lock(&rdev->pm.mutex); in radeon_pm_acpi_event_handler()
79 rdev->pm.dpm.ac_power = true; in radeon_pm_acpi_event_handler()
81 rdev->pm.dpm.ac_power = false; in radeon_pm_acpi_event_handler()
82 if (rdev->family == CHIP_ARUBA) { in radeon_pm_acpi_event_handler()
[all …]
H A Dradeon_drv.c59 * - 2.0.0 - initial interface
60 * - 2.1.0 - add square tiling interface
61 * - 2.2.0 - add r6xx/r7xx const buffer support
62 * - 2.3.0 - add MSPOS + 3D texture + r500 VAP regs
63 * - 2.4.0 - add crtc id query
64 * - 2.5.0 - add get accel 2 to work around ddx breakage for evergreen
65 * - 2.6.0 - add tiling config query (r6xx+), add initial HiZ support (r300->r500)
66 * 2.7.0 - fixups for r600 2D tiling support. (no external ABI change), add eg dyn gpr regs
67 …* 2.8.0 - pageflip support, r500 US_FORMAT regs. r500 ARGB2101010 colorbuf, r300->r500 CMASK, cl…
68 * 2.9.0 - r600 tiling (s3tc,rgtc) working, SET_PREDICATION packet 3 on r600 + eg, backend query
[all …]
/openbmc/linux/drivers/net/wireless/broadcom/brcm80211/include/
H A Ddefs.h1 // SPDX-License-Identifier: ISC
21 #define AUTO (-1) /* Auto = -1 */ macro
50 /* Bit masks for radio disabled status - returned by WL_GET_RADIO */
61 #define BRCM_BAND_AUTO 0 /* auto-select */
75 /* Values for PM */
/openbmc/linux/Documentation/power/
H A Dpm_qos_interface.rst2 PM Quality Of Service Interface
9 Two different PM QoS frameworks are available:
11 * The per-device PM QoS framework provides the API to manage the
12 per-device latency constraints and PM QoS flags.
14 The latency unit used in the PM QoS framework is the microsecond (usec).
17 1. PM QoS framework
35 Clients of PM QoS need to save the returned handle for future use in other
36 PM QoS API functions.
68 Only processes can register a PM QoS request. To provide for automatic
72 To register the default PM QoS target for the CPU latency QoS, the process must
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/system/core/
H A Dstub-out-fastdeploy.patch1 Upstream-Status: Pending
4 Forwarded: not-needed
5 --- a/system/core/adb/client/commandline.cpp
7 @@ -59,7 +59,6 @@
11 -#include "fastdeploy.h"
15 --- a/system/core/adb/client/adb_install.cpp
17 @@ -35,7 +35,6 @@
21 -#include "fastdeploy.h"
25 @@ -167,14 +166,6 @@
29 - auto metadata = extract_metadata(file);
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/dynamic-layers/selinux/recipes-devtool/android-tools/android-tools/debian/
H A Dstub-out-fastdeploy.patch1 Upstream-Status: Pending
4 Forwarded: not-needed
5 --- a/system/core/adb/client/commandline.cpp
7 @@ -59,7 +59,6 @@
11 -#include "fastdeploy.h"
15 --- a/system/core/adb/client/adb_install.cpp
17 @@ -35,7 +35,6 @@
21 -#include "fastdeploy.h"
25 @@ -167,14 +166,6 @@
29 - auto metadata = extract_metadata(file);
[all …]
/openbmc/openbmc/meta-openembedded/meta-networking/recipes-support/openipmi/
H A Dopenipmi_2.0.36.bb2 DESCRIPTION = "OpenIPMI is an effort to create a full-function IPMI system, \
9 glib-2.0 \
11 net-snmp \
15 swig-native \
19 LICENSE = "GPL-2.0-only & LGPL-2.1-only & BSD-3-Clause"
26 SRC_URI = "${SOURCEFORGE_MIRROR}/openipmi/OpenIPMI-${PV}.tar.gz \
27 file://fix-symlink-install-error-in-cmdlang.patch \
28 file://openipmi-no-openipmigui-man.patch \
29 file://ipmi-init-fix-the-arguments.patch \
31 file://openipmi-helper \
[all …]
/openbmc/linux/drivers/base/power/
H A Dsysfs.c1 // SPDX-License-Identifier: GPL-2.0
2 /* sysfs entries for device PM */
15 * control - Report/change current runtime PM setting of the device
21 * + "auto\n" to allow the device to be power managed at run time;
24 * The default for all devices is "auto", which means that devices may be
30 * wakeup - Report/change current wakeup option for device
44 * "Wake-On-LAN" Ethernet links, GPIO lines, and more. Some events
60 * saves runtime power, without requiring system-wide sleep states.
62 * async - Report/change current async suspend setting for the device
64 * Asynchronous suspend and resume of the device during system-wide power
[all …]
/openbmc/linux/include/ufs/
H A Dufshcd.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
4 * Copyright (C) 2011-2013 Samsung India Software Operations
5 * Copyright (c) 2013-2016, The Linux Foundation. All rights reserved.
16 #include <linux/blk-crypto-profile.h>
17 #include <linux/blk-mq.h>
21 #include <linux/dma-direction.h>
65 * struct uic_command - UIC command structure
89 /* Host <-> Device UniPro Link state */
97 #define ufshcd_is_link_off(hba) ((hba)->uic_link_state == UIC_LINK_OFF_STATE)
98 #define ufshcd_is_link_active(hba) ((hba)->uic_link_state == \
[all …]
/openbmc/linux/drivers/media/platform/st/sti/delta/
H A Ddelta-cfg.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 #define DELTA_FW_VERSION "21.1-3"
36 * - at least 1 frame needed for display
37 * - at worst 21
44 #define DELTA_MAX_FRAME_USER 3 /* platform/use-case dependent */
56 /* PM runtime auto power-off after 5ms of inactivity */
/openbmc/linux/arch/mips/txx9/generic/
H A Dpci.c8 * Copyright 2001-2005 MontaVista Software Inc.
9 * Copyright (C) 1996, 97, 2001, 04 Ralf Baechle (ralf@linux-mips.org)
10 * (C) Copyright TOSHIBA CORPORATION 2000-2001, 2004-2007
36 fake_bus.ops = hose->pci_ops; in early_read_config_word()
52 int cap66 = -1; in txx9_pci66_check()
106 * mem_base, io_base: physical address. 0 for auto assignment.
107 * mem_size and io_size means max size on auto assignment.
126 new->r_mem[0].name = "PCI mem"; in txx9_alloc_pci_controller()
127 new->r_mem[1].name = "PCI mmio"; in txx9_alloc_pci_controller()
128 new->r_io.name = "PCI io"; in txx9_alloc_pci_controller()
[all …]
/openbmc/linux/sound/pci/hda/
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 menu "HD-Audio"
23 This option enables the HD-audio controller. Don't forget
27 will be called snd-hda-intel.
43 will be called snd-hda-tegra.
48 bool "Build hwdep interface for HD-audio driver"
51 Say Y here to build a hwdep interface for HD-audio driver.
52 This interface can be used for out-of-band communication
58 Say Y here to enable the HD-audio codec re-configuration feature.
60 codec setup, add extra verbs, and re-configure the codec dynamically.
[all …]
/openbmc/linux/drivers/pmdomain/apple/
H A Dpmgr-pwrstate.c1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
17 #include <linux/reset-controller.h>
58 ret = regmap_read(ps->regmap, ps->offset, &reg); in apple_pmgr_ps_set()
64 dev_err(ps->dev, "PS %s: powering off with RESET active\n", in apple_pmgr_ps_set()
65 genpd->name); in apple_pmgr_ps_set()
70 dev_dbg(ps->dev, "PS %s: pwrstate = 0x%x: 0x%x\n", genpd->name, pstate, reg); in apple_pmgr_ps_set()
72 regmap_write(ps->regmap, ps->offset, reg); in apple_pmgr_ps_set()
75 ps->regmap, ps->offset, reg, in apple_pmgr_ps_set()
79 dev_err(ps->dev, "PS %s: Failed to reach power state 0x%x (now: 0x%x)\n", in apple_pmgr_ps_set()
80 genpd->name, pstate, reg); in apple_pmgr_ps_set()
[all …]
/openbmc/smbios-mdr/src/
H A Dsst_mailbox.cpp7 // http://www.apache.org/licenses/LICENSE-2.0
26 * Convenience RAII object for Wake-On-PECI (WOP) management, since PECI Config
68 // PECI completion code defined in peci-ioctl.h which is not available in isSleeping()
79 * Send a single PECI PCS write to modify the Wake-On-PECI mode bit
89 throw PECIError("Failed to set Wake-On-PECI mode bit"); in setWakeOnPECI()
188 * mailbox-level response status. If null, a
207 --attempts > 0) in sendPECIOSMailboxCmd()
217 // Write required command specific command/sub-command values and set in sendPECIOSMailboxCmd()
228 } while ((interfaceReg & mbBusyBit) != 0 && --attempts > 0); in sendPECIOSMailboxCmd()
235 auto status = static_cast<MailboxStatus>(interfaceReg & 0xFF); in sendPECIOSMailboxCmd()
[all …]
/openbmc/linux/drivers/remoteproc/
H A Domap_remoteproc.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2011-2020 Texas Instruments Incorporated - http://www.ti.com/
8 * Ohad Ben-Cohen <ohad@wizery.com>
12 * Suman Anna <s-anna@ti.com>
13 * Hari Kanigeri <h-kanigeri2@ti.com>
27 #include <linux/dma-mapping.h>
31 #include <linux/omap-iommu.h>
32 #include <linux/omap-mailbox.h>
36 #include <clocksource/timer-ti-dm.h>
38 #include <linux/platform_data/dmtimer-omap.h>
[all …]
/openbmc/openbmc/poky/meta/lib/oeqa/
H A Doetest.py4 # SPDX-License-Identifier: MIT
148 if msg[-1] != "\n":
202 if testname != "auto":
219 if "auto" in self.testsuites:
223 module = 'oeqa.' + type + '.' + f[:-3]
310 # Use brute-force topological sort to determine ordering. Sort by
325 return (a > b) - (a < b)
384 return [t for t in self.d.getVar("TEST_SUITES").split() if t != "auto"]
492 pm = get_package_manager(self.d, pkg_path)
493 extract_dir = pm.extract(pkg)
[all …]
/openbmc/linux/sound/soc/amd/
H A Dacp-rt5645.c33 #include <sound/soc-dapm.h>
66 dev_err(rtd->dev, "can't set codec pll: %d\n", ret); in cz_aif1_hw_params()
73 dev_err(rtd->dev, "can't set codec sysclk: %d\n", ret); in cz_aif1_hw_params()
86 codec = asoc_rtd_to_codec(rtd, 0)->component; in cz_init()
87 card = rtd->card; in cz_init()
97 dev_err(card->dev, "HP jack creation failed %d\n", ret); in cz_init()
111 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.1.auto")));
113 DAILINK_COMP_ARRAY(COMP_CPU("designware-i2s.2.auto")));
116 DAILINK_COMP_ARRAY(COMP_CODEC("i2c-10EC5650:00", "rt5645-aif1")));
119 DAILINK_COMP_ARRAY(COMP_PLATFORM("acp_audio_dma.0.auto")));
[all …]
/openbmc/linux/Documentation/devicetree/bindings/power/
H A Dapple,pmgr-pwrstate.yaml1 # 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#
10 - Hector Martin <marcan@marcan.st>
13 - $ref: power-domain.yaml#
23 Documentation/devicetree/bindings/power/power-domain.yaml.
25 represented via power-domains relationships between these nodes.
28 for the top-level PMGR node documentation.
33 - enum:
[all …]
/openbmc/linux/sound/soc/codecs/
H A Dpcm512x-i2c.c1 // SPDX-License-Identifier: GPL-2.0-only
21 /* msb needs to be set to enable auto-increment of addresses */ in pcm512x_i2c_probe()
29 return pcm512x_probe(&i2c->dev, regmap); in pcm512x_i2c_probe()
34 pcm512x_remove(&i2c->dev); in pcm512x_i2c_remove()
76 .pm = &pcm512x_pm_ops,
82 MODULE_DESCRIPTION("ASoC PCM512x codec driver - I2C");
/openbmc/linux/Documentation/driver-api/pm/
H A Ddevices.rst1 .. 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 …]

12345678910>>...23