Home
last modified time | relevance | path

Searched +full:keep +full:- +full:power +full:- +full:in +full:- +full:suspend (Results 1 – 25 of 684) sorted by relevance

12345678910>>...28

/openbmc/linux/kernel/power/
H A Dpower.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/suspend.h>
21 /* kernel/power/snapshot.c */
26 /* Maximum size of architecture specific data in a hibernation header */
42 * Keep some memory free so that I/O operations can succeed without paging
48 * Keep 1 MB of memory free so that device drivers can allocate some pages in
49 * their .suspend() routines without breaking the suspend to disk.
55 /* kernel/power/hibernate.c */
63 /* kernel/power/snapshot.c */
94 /* Preferred image size in bytes (default 500 MB) */
[all …]
H A DKconfig1 # SPDX-License-Identifier: GPL-2.0-only
2 config SUSPEND config
3 bool "Suspend to RAM and standby"
7 Allow the system to enter sleep states in which main memory is
9 suspend-to-RAM state (e.g. the ACPI S3 state).
12 bool "Enable freezer for suspend to RAM/standby" \
14 depends on SUSPEND
17 This allows you to turn off the freezer for suspend. If this is
18 done, no tasks are frozen for suspend to RAM/standby.
20 Turning OFF this setting is NOT recommended! If in doubt, say Y.
[all …]
/openbmc/linux/drivers/gpu/drm/i915/
H A Dintel_runtime_pm.h1 /* SPDX-License-Identifier: MIT */
21 * device in PCI D3 state. Notice that when this happens, nothing on the
27 * appropriate power domain.
30 * suspend if we stay with zero refcount for a certain amount of time. The
37 * to be disabled. This shouldn't happen and we'll print some error messages in
40 * For more, read the Documentation/power/runtime_pm.rst.
44 struct device *kdev; /* points to i915->drm.dev */
52 * It is required, if we are outside of the runtime suspend path,
54 * runtime pm, to ensure we can't race against runtime suspend.
57 * The runtime suspend path is special since it doesn't really hold any locks,
[all …]
H A Dintel_runtime_pm.c2 * Copyright © 2012-2014 Intel Corporation
6 * to deal in the Software without restriction, including without limitation
12 * paragraph) shall be included in all copies or substantial portions of the
17 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
19 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
20 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS
21 * IN THE SOFTWARE.
41 * software is supposed to control many power gates manually on recent hardware,
42 * since on the GT side a lot of the power management is done by the hardware.
46 * hardware engineers just love to shuffle functionality around between power
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/wireless/
H A Dmarvell-8xxx.txt2 ------
10 - compatible : should be one of the following:
21 - marvell,caldata* : A series of properties with marvell,caldata prefix,
23 initialization. This is an array of unsigned 8-bit values.
26 "marvell,caldata-txpwrlimit-2g" (length = 566).
27 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502).
28 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688).
29 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750).
30 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502).
31 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured
[all …]
/openbmc/linux/drivers/gpu/drm/i915/gt/
H A Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
7 #include <linux/suspend.h>
27 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() argument
29 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
31 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake()
36 if (suspend) { in user_forcewake()
37 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
38 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
40 atomic_add(count, &gt->wakeref.count); in user_forcewake()
48 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
[all …]
/openbmc/linux/arch/arm64/boot/dts/rockchip/
H A Drk3328-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
11 compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
20 stdout-path = "serial2:1500000n8";
23 dc_12v: dc-12v {
24 compatible = "regulator-fixed";
25 regulator-name = "dc_12v";
26 regulator-always-on;
27 regulator-boot-on;
28 regulator-min-microvolt = <12000000>;
[all …]
H A Drk3399-hugsun-x99.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
2 /dts-v1/;
3 #include <dt-bindings/pwm/pwm.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/interrupt-controller/irq.h>
7 #include "rk3399-opp.dtsi"
20 stdout-path = "serial2:1500000n8";
23 clkin_gmac: external-gmac-clock {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
[all …]
H A Dpx30-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/input/input.h>
9 #include <dt-bindings/pinctrl/rockchip.h>
14 compatible = "rockchip,px30-evb", "rockchip,px30";
23 stdout-path = "serial5:115200n8";
26 adc-keys {
27 compatible = "adc-keys";
28 io-channels = <&saradc 2>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/mmc/
H A Dmmc-controller.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <ulf.hansson@linaro.org>
18 (and the corresponding mmcblkN devices) by defining an alias in the
25 "#address-cells":
30 "#size-cells":
37 broken-cd:
42 cd-gpios:
[all …]
/openbmc/linux/Documentation/driver-api/driver-model/
H A Ddriver.rst11 be multiple devices in a system that a driver supports, struct
37 .suspend = eepro100_suspend,
42 model because the bus they belong to has a bus-specific structure with
43 bus-specific fields that cannot be generalized.
48 completely bus-specific. Defining them as bus-specific entities would
49 sacrifice type-safety, so we keep bus-specific structures around.
51 Bus-specific drivers should include a generic struct device_driver in
52 the definition of the bus-specific driver. Like this::
59 A definition that included bus-specific fields would look like
69 .suspend = eepro100_suspend,
[all …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ull-colibri-iris-v2.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
3 * Copyright 2018-2022 Toradex
6 #include "imx6ull-colibri-iris.dtsi"
9 reg_3v3_vmmc: regulator-3v3-vmmc {
10 compatible = "regulator-fixed";
11 regulator-name = "3v3_vmmc";
12 regulator-min-microvolt = <3300000>;
13 regulator-max-microvolt = <3300000>;
15 startup-delay-us = <100>;
16 enable-active-high;
[all …]
H A Dimx6ull-myir-mys-6ulx.dtsi1 // SPDX-License-Identifier: GPL-2.0
7 #include <dt-bindings/gpio/gpio.h>
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/pwm/pwm.h>
12 model = "MYiR MYS-6ULX Single Board Computer";
16 stdout-path = &uart1;
19 reg_vdd_5v: regulator-vdd-5v {
20 compatible = "regulator-fixed";
21 regulator-name = "VDD_5V";
22 regulator-min-microvolt = <5000000>;
[all …]
H A Dimx6qdl-var-dart.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Module
9 #include <dt-bindings/gpio/gpio.h>
10 #include <dt-bindings/sound/fsl-imx-audmux.h>
18 reg_3p3v: regulator-3p3v {
19 compatible = "regulator-fixed";
20 regulator-name = "3P3V";
21 regulator-min-microvolt = <3300000>;
22 regulator-max-microvolt = <3300000>;
23 regulator-always-on;
[all …]
H A Dimx6sx-nitrogen6sx.dts1 // SPDX-License-Identifier: GPL-2.0 OR X11
6 /dts-v1/;
12 compatible = "boundary,imx6sx-nitrogen6sx", "fsl,imx6sx";
19 backlight-lvds {
20 compatible = "pwm-backlight";
22 brightness-levels = <0 4 8 16 32 64 128 255>;
23 default-brightness-level = <6>;
24 power-supply = <&reg_3p3v>;
27 reg_1p8v: regulator-1p8v {
28 compatible = "regulator-fixed";
[all …]
/openbmc/linux/include/linux/
H A Dpm_domain.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pm_domain.h - Definitions and headers related to device power domains.
25 * These flags may be set in the struct generic_pm_domain's flags field by a
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
45 * on, in case any of its attached devices is used
46 * in the wakeup path to serve system wakeups.
52 * deploy idle power management support for CPUs
[all …]
/openbmc/u-boot/arch/arm/dts/
H A Dimx6sx-sabreauto.dts9 /dts-v1/;
15 compatible = "fsl,imx6sx-sabreauto", "fsl,imx6sx";
22 compatible = "simple-bus";
23 #address-cells = <1>;
24 #size-cells = <0>;
27 compatible = "regulator-fixed";
29 pinctrl-names = "default";
30 pinctrl-0 = <&pinctrl_vcc_sd3>;
31 regulator-name = "VCC_SD3";
32 regulator-min-microvolt = <3000000>;
[all …]
/openbmc/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62-verdin-wifi.dtsi1 // SPDX-License-Identifier: GPL-2.0-or-later OR MIT
7 * https://www.toradex.com/computer-on-modules/verdin-arm-family/ti-am62
11 wifi_pwrseq: wifi-pwrseq {
12 compatible = "mmc-pwrseq-simple";
13 pinctrl-names = "default";
14 pinctrl-0 = <&pinctrl_wifi_en>;
15 reset-gpios = <&main_gpio0 22 GPIO_ACTIVE_LOW>;
19 /* On-module Wi-Fi */
21 pinctrl-names = "default";
22 pinctrl-0 = <&pinctrl_sdhci2>;
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Dmarvell-bt-8xxx.txt2 ------
9 - compatible : should be one of the following:
10 * "marvell,sd8897-bt" (for SDIO)
11 * "marvell,sd8997-bt" (for SDIO)
16 - marvell,cal-data: Calibration data downloaded to the device during
20 - marvell,wakeup-pin: It represents wakeup pin number of the bluetooth chip.
22 - marvell,wakeup-gap-ms: wakeup gap represents wakeup latency of the host
25 - interrupt-names: Used only for USB based devices (See below)
26 - interrupts : specifies the interrupt pin number to the cpu. For SDIO, the
27 driver will use the first interrupt specified in the interrupt
[all …]
/openbmc/linux/Documentation/devicetree/bindings/regulator/
H A Drohm,bd71815-regulator.yaml1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause
3 ---
4 $id: http://devicetree.org/schemas/regulator/rohm,bd71815-regulator.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: ROHM BD71815 Power Management Integrated Circuit regulators
10 - Matti Vaittinen <mazziesaccount@gmail.com>
14 see Documentation/devicetree/bindings/mfd/rohm,bd71815-pmic.yaml.
16 The regulator controller is represented as a sub-node of the PMIC node
33 regulator-name:
37 "^((ldo|buck)[1-5]|ldolpsr|ldodvref)$":
[all …]
/openbmc/linux/arch/arm/boot/dts/rockchip/
H A Drv1126-edgeble-neu2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 compatible = "edgeble,neural-compute-module-2", "rockchip,rv1126";
14 vccio_flash: vccio-flash-regulator {
15 compatible = "regulator-fixed";
16 enable-active-high;
18 pinctrl-names = "default";
19 pinctrl-0 = <&flash_vol_sel>;
20 regulator-name = "vccio_flash";
21 regulator-always-on;
22 regulator-boot-on;
[all …]
H A Drk3036-kylin.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
9 compatible = "rockchip,rk3036-kylin", "rockchip,rk3036";
16 leds: gpio-leds {
17 compatible = "gpio-leds";
19 work_led: led-0 {
22 pinctrl-names = "default";
23 pinctrl-0 = <&led_ctl>;
27 sdio_pwrseq: sdio-pwrseq {
28 compatible = "mmc-pwrseq-simple";
[all …]
/openbmc/linux/include/linux/clk/
H A Dtegra.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * Copyright (c) 2012-2020, NVIDIA CORPORATION. All rights reserved.
16 * keep waiting until the CPU in reset state
18 * put the CPU in reset state
22 * CPU clock un-gate
27 * suspend:
28 * save the clock settings when CPU go into low-power state
30 * restore the clock settings when CPU exit low-power state
40 void (*suspend)(void); member
50 if (WARN_ON(!tegra_cpu_car_ops->wait_for_reset)) in tegra_wait_cpu_in_reset()
[all …]
/openbmc/linux/drivers/clk/tegra/
H A Dclk-device.c1 // SPDX-License-Identifier: GPL-2.0-only
4 #include <linux/clk-provider.h>
18 * This driver manages performance state of the core power domain for the
33 struct device *dev = clk_dev->dev; in tegra_clock_set_pd_state()
38 if (opp == ERR_PTR(-ERANGE)) { in tegra_clock_set_pd_state()
41 * may have uninitiated clock rate that is overly high. In in tegra_clock_set_pd_state()
43 * need to set up performance state of the power domain and in tegra_clock_set_pd_state()
71 mutex_lock(&clk_dev->lock); in tegra_clock_change_notify()
74 if (cnd->new_rate > cnd->old_rate) in tegra_clock_change_notify()
75 err = tegra_clock_set_pd_state(clk_dev, cnd->new_rate); in tegra_clock_change_notify()
[all …]
/openbmc/linux/drivers/net/wireless/ti/wlcore/
H A Dsdio.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Nokia Corporation
45 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size()
46 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size()
57 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read()
58 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read()
64 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read()
72 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read()
79 dev_err(child->parent, "sdio read failed (%d)\n", ret); in wl12xx_sdio_raw_read()
95 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_write()
[all …]

12345678910>>...28