Home
last modified time | relevance | path

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

12345678910>>...28

/linux-6.14.4/kernel/power/
Dpower.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 #include <linux/suspend.h>
22 /* kernel/power/snapshot.c */
27 /* Maximum size of architecture specific data in a hibernation header */
43 * Keep some memory free so that I/O operations can succeed without paging
49 * Keep 1 MB of memory free so that device drivers can allocate some pages in
50 * their .suspend() routines without breaking the suspend to disk.
56 /* kernel/power/hibernate.c */
60 /* kernel/power/swap.c */
68 /* kernel/power/snapshot.c */
[all …]
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 …]
/linux-6.14.4/drivers/gpu/drm/i915/
Dintel_runtime_pm.h1 /* SPDX-License-Identifier: MIT */
20 * device in PCI D3 state. Notice that when this happens, nothing on the
26 * appropriate power domain.
29 * suspend if we stay with zero refcount for a certain amount of time. The
36 * to be disabled. This shouldn't happen and we'll print some error messages in
39 * For more, read the Documentation/power/runtime_pm.rst.
43 struct device *kdev; /* points to i915->drm.dev */
49 * It is required, if we are outside of the runtime suspend path,
51 * runtime pm, to ensure we can't race against runtime suspend.
54 * The runtime suspend path is special since it doesn't really hold any locks,
[all …]
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 …]
/linux-6.14.4/Documentation/driver-api/media/
Dcamera-sensor.rst1 .. SPDX-License-Identifier: GPL-2.0
8 This document covers the in-kernel APIs only. For the best practices on
9 userspace API implementation in camera sensor drivers, please see
12 CSI-2, parallel and BT.656 buses
13 --------------------------------
15 Please see :ref:`transmitter-receiver`.
18 ---------------
24 firmware. **No other frequencies should be used in any circumstances.**
27 come out of the SoC, and in many cases a specific frequency is designed to be
28 used in the system. Using another frequency may cause harmful effects
[all …]
/linux-6.14.4/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c1 // SPDX-License-Identifier: MIT
7 #include <linux/suspend.h>
28 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() argument
30 int count = atomic_read(&gt->user_wakeref); in user_forcewake()
33 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake()
38 if (suspend) { in user_forcewake()
39 GEM_BUG_ON(count > atomic_read(&gt->wakeref.count)); in user_forcewake()
40 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
42 atomic_add(count, &gt->wakeref.count); in user_forcewake()
50 write_seqcount_begin(&gt->stats.lock); in runtime_begin()
[all …]
/linux-6.14.4/Documentation/driver-api/driver-model/
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 …]
/linux-6.14.4/Documentation/devicetree/bindings/mmc/
Dmmc-controller-common.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/mmc/mmc-controller-common.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Ulf Hansson <[email protected]>
14 possible slots or ports for multi-slot controllers.
17 "#address-cells":
22 "#size-cells":
29 broken-cd:
34 cd-gpios:
[all …]
/linux-6.14.4/arch/arm64/boot/dts/rockchip/
Drk3328-evb.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
6 /dts-v1/;
11 compatible = "rockchip,rk3328-evb", "rockchip,rk3328";
21 stdout-path = "serial2:1500000n8";
24 dc_12v: regulator-dc-12v {
25 compatible = "regulator-fixed";
26 regulator-name = "dc_12v";
27 regulator-always-on;
28 regulator-boot-on;
29 regulator-min-microvolt = <12000000>;
[all …]
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>
20 stdout-path = "serial2:1500000n8";
23 clkin_gmac: external-gmac-clock {
24 compatible = "fixed-clock";
25 clock-frequency = <125000000>;
26 clock-output-names = "clkin_gmac";
[all …]
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";
24 stdout-path = "serial5:115200n8";
27 adc-keys {
28 compatible = "adc-keys";
29 io-channels = <&saradc 2>;
[all …]
/linux-6.14.4/arch/arm/boot/dts/nxp/imx/
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 …]
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 …]
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 …]
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 …]
Dimx6q-pistachio.dts6 * This file is dual-licensed: you can use it either under the terms
16 * This file is distributed in the hope that it will be useful,
25 * files (the "Software"), to deal in the Software without
33 * included in all copies or substantial portions of the Software.
38 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
40 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
41 * FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR
42 * OTHER DEALINGS IN THE SOFTWARE.
45 /dts-v1/;
47 #include <dt-bindings/gpio/gpio.h>
[all …]
/linux-6.14.4/include/linux/regulator/
Dmachine.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * machine.h -- SoC Regulator support, machine/board driver API.
16 #include <linux/suspend.h>
43 * operations in suspend mode
44 * DO_NOTHING_IN_SUSPEND - the default value
45 * DISABLE_IN_SUSPEND - turn off regulator in suspend states
46 * ENABLE_IN_SUSPEND - keep regulator on in suspend states
53 * Default time window (in milliseconds) following a critical under-voltage
67 * struct regulator_state - regulator state during low power system states
69 * This describes a regulators state during a system wide low power
[all …]
/linux-6.14.4/include/linux/
Dpm_domain.h1 /* SPDX-License-Identifier: GPL-2.0-only */
3 * pm_domain.h - Definitions and headers related to device power domains.
25 * PD_FLAG_NO_DEV_LINK: As the default behaviour creates a device-link
29 * PD_FLAG_DEV_LINK_ON: Add the DL_FLAG_RPM_ACTIVE to power-on the
31 * device-links.
35 * index in the array of the pd_names. If pd_names
60 * These flags may be set in the struct generic_pm_domain's flags field by a
68 * ->power_on|off(), doesn't sleep. Hence, these
70 * enables genpd to power on/off the PM domain,
76 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/
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 …]
/linux-6.14.4/drivers/net/wireless/ti/wlcore/
Dsdio.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright (C) 2009-2010 Nokia Corporation
44 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl1271_sdio_set_block_size()
45 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl1271_sdio_set_block_size()
56 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_read()
57 struct sdio_func *func = dev_to_sdio_func(glue->dev); in wl12xx_sdio_raw_read()
63 dev_dbg(child->parent, "sdio read 52 addr 0x%x, byte 0x%02x\n", in wl12xx_sdio_raw_read()
71 dev_dbg(child->parent, "sdio read 53 addr 0x%x, %zu bytes\n", in wl12xx_sdio_raw_read()
78 dev_err_ratelimited(child->parent, "sdio read failed (%d)\n", ret); in wl12xx_sdio_raw_read()
94 struct wl12xx_sdio_glue *glue = dev_get_drvdata(child->parent); in wl12xx_sdio_raw_write()
[all …]
/linux-6.14.4/arch/arm64/boot/dts/ti/
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 …]
/linux-6.14.4/Documentation/devicetree/bindings/regulator/
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 <[email protected]>
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 …]
/linux-6.14.4/drivers/clk/tegra/
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 …]
/linux-6.14.4/arch/arm/boot/dts/rockchip/
Drv1126-edgeble-neu2.dtsi1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
8 compatible = "edgeble,neural-compute-module-2", "rockchip,rv1126";
14 vccio_flash: regulator-vccio-flash {
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 …]
/linux-6.14.4/include/linux/clk/
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 …]

12345678910>>...28