Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:method (Results 1 – 25 of 154) sorted by relevance

1234567

/linux/Documentation/devicetree/bindings/cpu/
H A Didle-states.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/cpu/idle-states.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
11 - Anup Patel <anup@brainfault.org>
15 1 - Introduction
18 ARM and RISC-V systems contain HW capable of managing power consumption
19 dynamically, where cores can be put in different low-power states (ranging
22 run-time, can be specified through device tree bindings representing the
[all …]
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
13 * What is Remote Wakeup?
17 * Changing the default idle-delay time
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
66 What is Remote Wakeup?
67 ----------------------
[all …]
/linux/drivers/acpi/
H A Ddevice_pm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * drivers/acpi/device_pm.c - ACPI device power management routines.
27 * acpi_power_state_string - String representation of ACPI device power state.
53 status = acpi_evaluate_integer(device->handle, "_PSC", NULL, &psc); in acpi_dev_pm_explicit_get()
55 return -ENODEV; in acpi_dev_pm_explicit_get()
62 * acpi_device_get_power - Get power state of an ACPI device.
82 return -EINVAL; in acpi_device_get_power()
86 if (!device->flags.power_manageable) { in acpi_device_get_power()
87 /* TBD: Non-recursive algorithm for walking up hierarchy. */ in acpi_device_get_power()
88 *state = parent ? parent->power.state : ACPI_STATE_D0; in acpi_device_get_power()
[all …]
H A Dbutton.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * button.c - ACPI Button Driver
54 [ACPI_BUTTON_LID_INIT_METHOD] = "method",
75 /* GP-electronic T701, _LID method points to a floating GPIO */
143 DMI_MATCH(DMI_PRODUCT_NAME, "Blade Pro 17 (Early 2020) - RZ09-0329"),
177 .name = "acpi-button",
198 static long lid_init_state = -1;
215 return -ENODEV; in acpi_lid_evaluate_state()
222 struct acpi_device *device = button->adev; in acpi_lid_notify_state()
234 button->last_state != state; in acpi_lid_notify_state()
[all …]
H A Dacpi_tad.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2018 - 2026 Intel Corporation
11 * allowing user space to manage the AC and DC wakeup timers of the TAD:
17 * The wakeup events handling and power management of the TAD is expected to
67 u16 year; /* 1900 - 9999 */
68 u8 month; /* 1 - 12 */
69 u8 day; /* 1 - 31 */
70 u8 hour; /* 0 - 23 */
71 u8 minute; /* 0 - 59 */
72 u8 second; /* 0 - 59 */
[all …]
H A Dsleep.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * sleep.c - ACPI sleep support.
7 * Copyright (c) 2000-2003 Patrick Mochel
30 * Some HW-full platforms do not have _S5, so they may need
72 /* do we have a wakeup address for S2 and S3? */ in acpi_sleep_prepare()
76 return -EFAULT; in acpi_sleep_prepare()
182 DMI_MATCH(DMI_BOARD_NAME, "KN9 Series(NF-CK804)"),
189 DMI_MATCH(DMI_SYS_VENDOR, "Hewlett-Packard"),
195 .ident = "Asus Pundit P1-AH2 (M2N8L motherboard)",
203 .ident = "Panasonic CF51-2L",
[all …]
/linux/net/tipc/
H A Dbcast.c4 * Copyright (c) 2004-2006, 2014-2017, Ericsson AB
6 * Copyright (c) 2005, 2010-2011, Wind River Systems
48 const char tipc_bclink_name[] = "broadcast-link";
52 * struct tipc_bc_base - base structure for keeping broadcast send state
61 * @rc_ratio: dest count as percentage of cluster size where send method changes
79 return tipc_net(net)->bcbase; in tipc_bc_base()
82 /* tipc_bcast_get_mtu(): -get the MTU currently used by broadcast link
93 tipc_bc_base(net)->rcast_support = supp; in tipc_bcast_toggle_rcast()
101 bb->bc_threshold = 1 + (cluster_size * bb->rc_ratio / 100); in tipc_bcbase_calc_bc_threshold()
110 int all_dests = tipc_link_bc_peers(bb->link); in tipc_bcbase_select_primary()
[all …]
/linux/arch/arm64/boot/dts/qcom/
H A Dmsm8992-lg-h815.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
8 /dts-v1/;
13 #include <dt-bindings/leds/common.h>
16 /delete-node/ &cont_splash_mem;
19 /delete-node/ &dfps_data_mem;
24 chassis-type = "handset";
26 qcom,msm-id = <0xfb 0x0>;
27 qcom,pmic-id = <0x10009 0x1000a 0x0 0x0>;
28 qcom,board-id = <0xb64 0x0>;
31 /delete-node/ psci;
[all …]
/linux/kernel/power/
H A Dsuspend.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * kernel/power/suspend.c - Suspend to RAM and standby functionality.
66 * pm_suspend_default_s2idle - Check if suspend-to-idle is the default suspend.
68 * Return 'true' if suspend-to-idle has been selected as the default system
69 * suspend method.
100 * The s2idle_lock must be acquired before the pending wakeup check to in s2idle_enter()
102 * and the subsequent s2idle_state update in which case a wakeup event in s2idle_enter()
135 pm_pr_dbg("suspend-to-idle\n"); in s2idle_loop()
138 * Suspend-to-idle equals: in s2idle_loop()
147 if (s2idle_ops && s2idle_ops->wake) { in s2idle_loop()
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra210-p2180.dtsi1 // SPDX-License-Identifier: GPL-2.0
2 #include <dt-bindings/mfd/max77620.h>
18 stdout-path = "serial0:115200n8";
21 reserved-memory {
22 #address-cells = <2>;
23 #size-cells = <2>;
33 vdd-supply = <&vdd_gpu>;
39 /delete-property/ dmas;
40 /delete-property/ dma-names;
45 /delete-property/ reg-shift;
[all …]
/linux/drivers/input/misc/
H A Dsoc_button_array.c1 // SPDX-License-Identifier: GPL-2.0-only
23 MODULE_PARM_DESC(use_low_level_irq, "Use low-level triggered IRQ instead of edge triggered");
31 bool wakeup; member
52 * Some 2-in-1s which use the soc_button_array driver have this ugly issue in
53 * their DSDT where the _LID method modifies the irq-type settings of the GPIOs
57 * problematic because when re-enabling the irq, which happens whenever _LID
59 * irq-type to IRQ_TYPE_LEVEL_LOW. Where as the gpio-keys driver programs the
61 * To work around this we don't set gpio_keys_button.gpio on these 2-in-1s,
69 * Acer Switch 10 SW5-012. _LID method messes with home- and
70 * power-button GPIO IRQ settings. When (re-)enabling the irq
[all …]
/linux/Documentation/devicetree/bindings/soc/ti/
H A Dwkup-m3-ipc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/soc/ti/wkup-m3-ipc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Wakeup M3 IPC device
10 - Dave Gerlach <d-gerlach@ti.com>
11 - Drew Fustini <dfustini@baylibre.com>
14 The TI AM33xx and AM43xx family of devices use a small Cortex M3 co-processor
15 (commonly referred to as Wakeup M3 or CM3) to help with various low power tasks
17 C-states for CPU Idle. Once the wkup_m3_ipc driver uses the wkup_m3_rproc driver
[all …]
/linux/arch/arm64/boot/dts/ti/
H A Dk3-am62.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/soc/ti,sci_pm_domain.h>
13 #include "k3-pinctrl.h"
18 interrupt-parent = <&gic500>;
19 #address-cells = <2>;
20 #size-cells = <2>;
[all …]
H A Dk3-am62a.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2022-2024 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/soc/ti,sci_pm_domain.h>
13 #include "k3-pinctrl.h"
18 interrupt-parent = <&gic500>;
19 #address-cells = <2>;
20 #size-cells = <2>;
[all …]
H A Dk3-j721s2.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
7 * Copyright (C) 2021-2024 Texas Instruments Incorporated - https://www.ti.com/
11 #include <dt-bindings/interrupt-controller/irq.h>
12 #include <dt-bindings/interrupt-controller/arm-gic.h>
13 #include <dt-bindings/soc/ti,sci_pm_domain.h>
15 #include "k3-pinctrl.h"
21 interrupt-parent = <&gic500>;
22 #address-cells = <2>;
23 #size-cells = <2>;
28 #address-cells = <1>;
[all …]
H A Dk3-j7200.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2020-2024 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/interrupt-controller/irq.h>
9 #include <dt-bindings/interrupt-controller/arm-gic.h>
10 #include <dt-bindings/soc/ti,sci_pm_domain.h>
12 #include "k3-pinctrl.h"
17 interrupt-parent = <&gic500>;
18 #address-cells = <2>;
19 #size-cells = <2>;
24 #address-cells = <1>;
[all …]
H A Dk3-am65.dtsi1 // SPDX-License-Identifier: GPL-2.0-only OR MIT
5 * Copyright (C) 2016-2024 Texas Instruments Incorporated - https://www.ti.com/
8 #include <dt-bindings/gpio/gpio.h>
9 #include <dt-bindings/interrupt-controller/irq.h>
10 #include <dt-bindings/interrupt-controller/arm-gic.h>
11 #include <dt-bindings/soc/ti,sci_pm_domain.h>
13 #include "k3-pinctrl.h"
18 interrupt-parent = <&gic500>;
19 #address-cells = <2>;
20 #size-cells = <2>;
[all …]
/linux/drivers/usb/host/
H A Dohci-at91.c1 // SPDX-License-Identifier: GPL-1.0+
6 * Copyright (C) 2005 Thibaut VARENE <varenet@parisc-linux.org>
11 * Based on ohci-omap.c
16 #include <linux/arm-smccc.h>
18 #include <linux/dma-mapping.h>
30 #include <soc/at91/atmel-sfr.h>
40 ((struct ohci_at91_priv *)hcd_to_ohci(h)->priv)
57 bool wakeup; /* Saved wake-up state for resume */ member
71 /*-------------------------------------------------------------------------*/
75 if (ohci_at91->clocked) in at91_start_clock()
[all …]
/linux/include/linux/
H A Dmemremap.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 #include <linux/percpu-refcount.h>
14 * struct vmem_altmap - pre-allocated storage for vmemmap_populate
55 * wakeup event whenever a page is unpinned and becomes idle. This
56 * wakeup is used to coordinate physical address space management (ex:
65 * Device memory residing in a PCI BAR intended for use with Peer-to-Peer
80 * reset to one by the core code after the method is called to prepare
86 * Used for private (un-addressable) device memory only. Must migrate
97 * When this is not implemented, or it returns -EOPNOTSUPP, the caller
104 * Used for private (un-addressable) device memory only.
[all …]
/linux/arch/x86/platform/olpc/
H A Dolpc-xo15-sci.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for OLPC XO-1.5 System Control Interrupts (SCI)
5 * Copyright (C) 2009-2010 One Laptop per Child
14 #include <linux/olpc-ec.h>
19 #define DRV_NAME "olpc-xo15-sci"
26 * The normal ACPI LID wakeup behavior is wake-on-open, but not
27 * wake-on-close. This is implemented as standard by the XO-1.5 DSDT.
30 * wake-on-close behavior. This is useful (e.g.) when we opportunistically
34 * This is controlled through a custom method in the XO-1.5 DSDT.
64 return -EINVAL; in lid_wake_on_close_store()
[all …]
/linux/drivers/platform/x86/
H A Dquickstart.c1 // SPDX-License-Identifier: GPL-2.0-or-later
7 * Copyright (C) 2007-2010 Angelo Arrifano <miknix@gmail.com>
10 * <https://archive.org/details/microsoft-acpi-dirapplaunch>
18 #include <linux/input/sparse-keymap.h>
33 * 0x02 - Button was pressed while device was off/sleeping.
34 * 0x80 - Button was pressed while device was up.
63 return sysfs_emit(buf, "%u\n", data->id); in button_id_show()
79 mutex_lock(&data->input_lock); in quickstart_notify()
80 sparse_keymap_report_event(data->input_device, 0x1, 1, true); in quickstart_notify()
81 mutex_unlock(&data->input_lock); in quickstart_notify()
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Drotary-encoder.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/rotary-encoder.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Frank Li <Frank.Li@nxp.com>
13 See Documentation/input/devices/rotary-encoder.rst for more information.
17 const: rotary-encoder
28 rotary-encoder,steps:
36 rotary-encoder,relative-axis:
40 absolute one. Relative axis will only generate +1/-1 events on the input
[all …]
/linux/arch/arm64/boot/dts/freescale/
H A Dimx8qxp.dtsi1 // SPDX-License-Identifier: GPL-2.0+
4 * Copyright 2017-2020 NXP
8 #include <dt-bindings/clock/imx8-clock.h>
9 #include <dt-bindings/clock/imx8-lpcg.h>
10 #include <dt-bindings/firmware/imx/rsrc.h>
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include <dt-bindings/interrupt-controller/arm-gic.h>
14 #include <dt-bindings/pinctrl/pads-imx8qxp.h>
15 #include <dt-bindings/thermal/thermal.h>
[all …]
/linux/drivers/usb/core/
H A Dhcd-pci.c1 // SPDX-License-Identifier: GPL-2.0+
3 * (C) Copyright David Brownell 2000-2002
23 /* PCI-based HCs are common, but plenty of non-PCI HCs are used too */
38 return pdev->class == CL_OHCI || pdev->class == CL_UHCI; in is_ohci_or_uhci()
50 unsigned int slot = PCI_SLOT(pdev->devfn); in for_each_companion()
59 if (companion->bus != pdev->bus || in for_each_companion()
60 PCI_SLOT(companion->devfn) != slot) in for_each_companion()
67 if (companion->class != CL_UHCI && companion->class != CL_OHCI && in for_each_companion()
68 companion->class != CL_EHCI) in for_each_companion()
72 if (!companion_hcd || !companion_hcd->self.root_hub) in for_each_companion()
[all …]
/linux/arch/arm/boot/dts/amlogic/
H A Dmeson8.dtsi1 // SPDX-License-Identifier: GPL-2.0 OR MIT
6 #include <dt-bindings/clock/meson8-ddr-clkc.h>
7 #include <dt-bindings/clock/meson8b-clkc.h>
8 #include <dt-bindings/gpio/meson8-gpio.h>
9 #include <dt-bindings/power/meson8-power.h>
10 #include <dt-bindings/reset/amlogic,meson8b-clkc-reset.h>
11 #include <dt-bindings/reset/amlogic,meson8b-reset.h>
12 #include <dt-bindings/thermal/thermal.h>
20 #address-cells = <1>;
21 #size-cells = <0>;
[all …]

1234567