| /kernel/linux/linux-6.6/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 */ 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 */ 98 /* 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 …]
|
| /kernel/linux/linux-5.10/kernel/power/ |
| D | power.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 2 #include <linux/suspend.h> 19 /* kernel/power/snapshot.c */ 24 /* Maximum size of architecture specific data in a hibernation header */ 45 * Keep some memory free so that I/O operations can succeed without paging 51 * Keep 1 MB of memory free so that device drivers can allocate some pages in 52 * their .suspend() routines without breaking the suspend to disk. 58 /* kernel/power/hibernate.c */ 66 /* kernel/power/snapshot.c */ 97 /* Preferred image size in bytes (default 500 MB) */ [all …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/ |
| D | intel_runtime_pm.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/gt/ |
| D | intel_gt_pm.c | 2 * SPDX-License-Identifier: MIT 7 #include <linux/suspend.h> 24 static void user_forcewake(struct intel_gt *gt, bool suspend) in user_forcewake() argument 26 int count = atomic_read(>->user_wakeref); in user_forcewake() 28 /* Inside suspend/resume so single threaded, no races to worry about. */ in user_forcewake() 33 if (suspend) { in user_forcewake() 34 GEM_BUG_ON(count > atomic_read(>->wakeref.count)); in user_forcewake() 35 atomic_sub(count, >->wakeref.count); in user_forcewake() 37 atomic_add(count, >->wakeref.count); in user_forcewake() 45 struct drm_i915_private *i915 = gt->i915; in __gt_unpark() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| D | ti,wlcore.txt | 8 - compatible: should be one of the following: 20 - interrupts : specifies attributes for the out-of-band interrupt. 23 - ref-clock-frequency : ref clock frequency in Hz 24 - tcxo-clock-frequency : tcxo clock frequency in Hz 26 Note: the *-clock-frequency properties assume internal clocks. In case of external 32 vmmc-supply = <&wlan_en_reg>; 33 bus-width = <4>; 34 cap-power-off-card; 35 keep-power-in-suspend; 37 #address-cells = <1>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/wireless/ |
| D | marvell-8xxx.txt | 2 ------ 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpu/drm/i915/gt/ |
| D | intel_gt_pm.c | 1 // 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(>->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(>->wakeref.count)); in user_forcewake() 38 atomic_sub(count, >->wakeref.count); in user_forcewake() 40 atomic_add(count, >->wakeref.count); in user_forcewake() 48 write_seqcount_begin(>->stats.lock); in runtime_begin() [all …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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"; 14 stdout-path = "serial2:1500000n8"; 17 dc_12v: dc-12v { 18 compatible = "regulator-fixed"; 19 regulator-name = "dc_12v"; 20 regulator-always-on; 21 regulator-boot-on; 22 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> 6 #include "rk3399-opp.dtsi" 13 stdout-path = "serial2:1500000n8"; 16 clkin_gmac: external-gmac-clock { 17 compatible = "fixed-clock"; 18 clock-frequency = <125000000>; 19 clock-output-names = "clkin_gmac"; [all …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-6.6/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 …]
|
| /kernel/linux/linux-5.10/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 …]
|
| /kernel/linux/linux-5.10/include/linux/clk/ |
| D | tegra.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 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 49 if (WARN_ON(!tegra_cpu_car_ops->wait_for_reset)) in tegra_wait_cpu_in_reset() 52 tegra_cpu_car_ops->wait_for_reset(cpu); in tegra_wait_cpu_in_reset() [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/nxp/imx/ |
| 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 | 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 …]
|
| /kernel/linux/linux-5.10/drivers/gpu/drm/i915/ |
| D | intel_runtime_pm.h | 1 /* SPDX-License-Identifier: MIT */ 29 * device in PCI D3 state. Notice that when this happens, nothing on the 35 * appropriate power domain. 38 * suspend if we stay with zero refcount for a certain amount of time. The 45 * to be disabled. This shouldn't happen and we'll print some error messages in 48 * For more, read the Documentation/power/runtime_pm.rst. 52 struct device *kdev; /* points to i915->drm.pdev->dev */ 62 * paired rpm_put) we can remove corresponding pairs of and keep 81 #define INTEL_RPM_RAW_WAKEREF_MASK (INTEL_RPM_WAKELOCK_BIAS - 1) 98 WARN_ONCE(rpm->suspended, in assert_rpm_device_not_suspended() [all …]
|
| /kernel/linux/linux-5.10/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. 23 * These flags may be set in the struct generic_pm_domain's flags field by a 31 * ->power_on|off(), doesn't sleep. Hence, these 33 * enables genpd to power on/off the PM domain, 39 * GENPD_FLAG_ALWAYS_ON: Instructs genpd to always keep the PM domain 42 * GENPD_FLAG_ACTIVE_WAKEUP: Instructs genpd to keep the PM domain powered 43 * on, in case any of its attached devices is used 44 * in the wakeup path to serve system wakeups. 50 * deploy idle power management support for CPUs [all …]
|
| /kernel/linux/linux-6.6/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. 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 …]
|
| /kernel/linux/linux-5.10/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 | imx6q-dhcom-som.dtsi | 1 // SPDX-License-Identifier: (GPL-2.0+) 8 #include <dt-bindings/pwm/pwm.h> 9 #include <dt-bindings/gpio/gpio.h> 10 #include <dt-bindings/clock/imx6qdl-clock.h> 11 #include <dt-bindings/input/input.h> 26 reg_usb_otg_vbus: regulator-usb-otg-vbus { 27 compatible = "regulator-fixed"; 28 regulator-name = "usb_otg_vbus"; 29 regulator-min-microvolt = <5000000>; 30 regulator-max-microvolt = <5000000>; [all …]
|