Home
last modified time | relevance | path

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

12345678910>>...21

/linux-5.10/kernel/power/
Dpower.h1 /* 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 …]
/linux-5.10/drivers/gpu/drm/i915/gt/
Dintel_gt_pm.c2 * 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(&gt->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(&gt->wakeref.count)); in user_forcewake()
35 atomic_sub(count, &gt->wakeref.count); in user_forcewake()
37 atomic_add(count, &gt->wakeref.count); in user_forcewake()
45 struct drm_i915_private *i915 = gt->i915; in __gt_unpark()
[all …]
/linux-5.10/Documentation/devicetree/bindings/net/wireless/
Dmarvell-8xxx.txt2 ------
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 …]
Dti,wlcore.txt8 - 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 …]
/linux-5.10/Documentation/devicetree/bindings/mmc/
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 …]
/linux-5.10/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-5.10/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";
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 …]
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>
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 …]
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";
17 stdout-path = "serial5:115200n8";
20 adc-keys {
21 compatible = "adc-keys";
22 io-channels = <&saradc 2>;
[all …]
/linux-5.10/arch/arm/boot/dts/
Dimx6q-dhcom-som.dtsi1 // 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 …]
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 …]
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 …]
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 …]
Dimx6ull-colibri-wifi.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include "imx6ull-colibri.dtsi"
14 wifi_pwrseq: sdio-pwrseq {
15 compatible = "mmc-pwrseq-simple";
16 pinctrl-names = "default";
17 pinctrl-0 = <&pinctrl_snvs_wifi_pdn>;
18 reset-gpios = <&gpio5 11 GPIO_ACTIVE_LOW>;
23 clock-frequency = <792000000>;
27 pinctrl-names = "default";
28 pinctrl-0 = <&pinctrl_gpio1 &pinctrl_gpio2 &pinctrl_gpio3
[all …]
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 …]
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-5.10/include/linux/clk/
Dtegra.h1 /* 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 …]
/linux-5.10/drivers/gpu/drm/i915/
Dintel_runtime_pm.h1 /* 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 …]
/linux-5.10/include/linux/
Dpm_domain.h1 /* 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 …]
/linux-5.10/drivers/usb/mtu3/
Dmtu3_host.c1 // SPDX-License-Identifier: GPL-2.0
3 * mtu3_dr.c - dual role switch and host glue layer
38 * ip-sleep wakeup mode:
39 * all clocks can be turn off, but power domain should be kept on
45 switch (ssusb->uwk_vers) { in ssusb_wakeup_ip_sleep_set()
47 reg = ssusb->uwk_reg_base + PERI_WK_CTRL1; in ssusb_wakeup_ip_sleep_set()
52 reg = ssusb->uwk_reg_base + PERI_SSUSB_SPM_CTRL; in ssusb_wakeup_ip_sleep_set()
59 regmap_update_bits(ssusb->uwk, reg, msk, val); in ssusb_wakeup_ip_sleep_set()
69 ssusb->uwk_en = of_property_read_bool(dn, "wakeup-source"); in ssusb_wakeup_of_property_parse()
70 if (!ssusb->uwk_en) in ssusb_wakeup_of_property_parse()
[all …]
/linux-5.10/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-5.10/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
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-5.10/drivers/net/wireless/ti/wlcore/
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 …]
/linux-5.10/drivers/net/ipa/
Dipa_main.c1 // SPDX-License-Identifier: GPL-2.0
3 /* Copyright (c) 2012-2018, The Linux Foundation. All rights reserved.
4 * Copyright (C) 2018-2020 Linaro Ltd.
39 * networking component found in many Qualcomm SoCs. The IPA is connected
50 * currently supported. Despite that, some resources--including routing
51 * tables and filter tables--are defined in this driver because they must
55 * is reflected in the organization of the driver. The generic software
57 * well-defined communication layer between the AP subsystem and the IPA
74 * ipa_suspend_handler() - Handle the suspend IPA interrupt
78 * If an RX endpoint is in suspend state, and the IPA has a packet
[all …]
/linux-5.10/drivers/net/phy/
Dsmsc.c1 // SPDX-License-Identifier: GPL-2.0+
25 /* Vendor-specific PHY Definitions */
53 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_config_intr()
57 if (phydev->interrupts == PHY_INTERRUPT_ENABLED) { in smsc_phy_config_intr()
59 if (priv->energy_enable) in smsc_phy_config_intr()
77 struct smsc_phy_priv *priv = phydev->priv; in smsc_phy_config_init()
80 if (!priv->energy_enable) in smsc_phy_config_init()
103 /* If the SMSC PHY is in power down mode, then set it in smsc_phy_reset()
104 * in all capable mode before using it. in smsc_phy_reset()
126 switch (phydev->mdix_ctrl) { in lan87xx_config_aneg()
[all …]

12345678910>>...21