/Linux-v6.1/kernel/power/ |
D | power.h | 1 /* 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 */ 47 * Keep some memory free so that I/O operations can succeed without paging 53 * Keep 1 MB of memory free so that device drivers can allocate some pages in 54 * their .suspend() routines without breaking the suspend to disk. 60 /* kernel/power/hibernate.c */ 68 /* kernel/power/snapshot.c */ 99 /* Preferred image size in bytes (default 500 MB) */ [all …]
|
D | Kconfig | 1 # 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-v6.1/Documentation/devicetree/bindings/net/wireless/ |
D | marvell-8xxx.txt | 2 ------ 10 - compatible : should be one of the following: 19 - marvell,caldata* : A series of properties with marvell,caldata prefix, 21 initialization. This is an array of unsigned 8-bit values. 24 "marvell,caldata-txpwrlimit-2g" (length = 566). 25 "marvell,caldata-txpwrlimit-5g-sub0" (length = 502). 26 "marvell,caldata-txpwrlimit-5g-sub1" (length = 688). 27 "marvell,caldata-txpwrlimit-5g-sub2" (length = 750). 28 "marvell,caldata-txpwrlimit-5g-sub3" (length = 502). 29 - marvell,wakeup-pin : a wakeup pin number of wifi chip which will be configured [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/gt/ |
D | intel_gt_pm.c | 1 // SPDX-License-Identifier: MIT 7 #include <linux/suspend.h> 26 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() argument 28 int count = atomic_read(>->user_wakeref); in user_forcewake() 30 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake() 35 if (suspend) { in user_forcewake() 36 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake() 37 atomic_sub(count, >->wakeref.count); in user_forcewake() 39 atomic_add(count, >->wakeref.count); in user_forcewake() 47 write_seqcount_begin(>->stats.lock); in runtime_begin() [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/mmc/ |
D | mmc-controller.yaml | 1 # 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 …]
|
/Linux-v6.1/Documentation/driver-api/driver-model/ |
D | driver.rst | 11 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-v6.1/arch/arm64/boot/dts/rockchip/ |
D | rk3328-evb.dts | 1 // 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 …]
|
D | rk3399-hugsun-x99.dts | 1 // 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 …]
|
D | px30-evb.dts | 1 // 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 …]
|
/Linux-v6.1/include/linux/ |
D | pm_domain.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * pm_domain.h - Definitions and headers related to device power domains. 24 * These flags may be set in the struct generic_pm_domain's flags field by a 32 * ->power_on|off(), doesn't sleep. Hence, these 34 * enables genpd to power on/off the PM domain, 40 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain 43 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered 44 * on, in case any of its attached devices is used 45 * in the wakeup path to serve system wakeups. 51 * deploy idle power management support for CPUs [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
D | intel_runtime_pm.h | 1 /* SPDX-License-Identifier: MIT */ 27 * device in PCI D3 state. Notice that when this happens, nothing on the 33 * appropriate power domain. 36 * suspend if we stay with zero refcount for a certain amount of time. The 43 * to be disabled. This shouldn't happen and we'll print some error messages in 46 * For more, read the Documentation/power/runtime_pm.rst. 50 struct device *kdev; /* points to i915->drm.dev */ 61 * paired rpm_put) we can remove corresponding pairs of and keep 80 #define INTEL_RPM_RAW_WAKEREF_MASK (INTEL_RPM_WAKELOCK_BIAS - 1) 97 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended() [all …]
|
D | intel_runtime_pm.c | 2 * 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-v6.1/arch/arm/boot/dts/ |
D | imx6ull-myir-mys-6ulx.dtsi | 1 // 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 …]
|
D | imx6qdl-var-dart.dtsi | 1 // 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 …]
|
D | imx6ull-colibri-iris-v2.dtsi | 1 // 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 …]
|
D | imx6sx-nitrogen6sx.dts | 1 // 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 = <®_3p3v>; 27 reg_1p8v: regulator-1p8v { 28 compatible = "regulator-fixed"; [all …]
|
D | imx6q-pistachio.dts | 6 * 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 …]
|
D | rk3036-kylin.dts | 1 // 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/net/ |
D | marvell-bt-8xxx.txt | 2 ------ 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-v6.1/drivers/net/wireless/ti/wlcore/ |
D | sdio.c | 1 // 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 …]
|
/Linux-v6.1/Documentation/devicetree/bindings/regulator/ |
D | rohm,bd71815-regulator.yaml | 1 # 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 <matti.vaittinen@fi.rohmeurope.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 …]
|
/Linux-v6.1/drivers/clk/tegra/ |
D | clk-device.c | 1 // 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-v6.1/include/linux/clk/ |
D | tegra.h | 1 /* 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 …]
|
/Linux-v6.1/include/linux/regulator/ |
D | machine.h | 1 /* 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 60 * struct regulator_state - regulator state during low power system states 62 * This describes a regulators state during a system wide low power 66 * @uV: Default operating voltage during suspend, it can be adjusted [all …]
|
/Linux-v6.1/drivers/net/phy/ |
D | smsc.c | 1 // SPDX-License-Identifier: GPL-2.0+ 25 /* Vendor-specific PHY Definitions */ 60 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_config_intr() 63 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in smsc_phy_config_intr() 68 priv->intmask = MII_LAN83C185_ISF_INT4 | MII_LAN83C185_ISF_INT6; in smsc_phy_config_intr() 69 if (priv->energy_enable) in smsc_phy_config_intr() 70 priv->intmask |= MII_LAN83C185_ISF_INT7; in smsc_phy_config_intr() 72 rc = phy_write(phydev, MII_LAN83C185_IM, priv->intmask); in smsc_phy_config_intr() 74 priv->intmask = 0; in smsc_phy_config_intr() 88 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_handle_interrupt() [all …]
|