Home
last modified time | relevance | path

Searched +full:wake +full:- +full:device (Results 1 – 25 of 1044) sorted by relevance

12345678910>>...42

/linux-6.14.4/drivers/base/power/
Dwakeirq.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Device wakeirq helper functions */
3 #include <linux/device.h>
13 * dev_pm_attach_wake_irq - Attach device interrupt as a wake IRQ
14 * @dev: Device entry
15 * @wirq: Wake irq specific data
17 * Internal function to attach a dedicated wake-up interrupt as a wake IRQ.
19 static int dev_pm_attach_wake_irq(struct device *dev, struct wake_irq *wirq) in dev_pm_attach_wake_irq()
24 return -EINVAL; in dev_pm_attach_wake_irq()
26 spin_lock_irqsave(&dev->power.lock, flags); in dev_pm_attach_wake_irq()
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-devices-power7 management related properties of given device.
14 space to check if the device is enabled to wake up the system
32 events this file is not present. In that case the device cannot
33 be enabled to wake up the system from sleep states.
40 space to control the run-time power management of the device.
45 + "auto\n" to allow the device to be power managed at run time;
46 + "on\n" to prevent the device from being power managed;
51 from power managing the device at run time. Doing that while
52 the device is suspended causes it to be woken up.
59 enable or diasble the device's suspend and resume callbacks to
[all …]
Ddebugfs-cros-ec1 What: /sys/kernel/debug/<cros-ec-device>/console_log
10 What: /sys/kernel/debug/<cros-ec-device>/panicinfo
18 What: /sys/kernel/debug/<cros-ec-device>/pdinfo
23 information for all the USB PD/type-C ports available. If
27 What: /sys/kernel/debug/<cros-ec-device>/uptime
36 What: /sys/kernel/debug/<cros-ec-device>/last_resume_result
49 received. Bit 31 is set if the EC attempted to wake the
51 Callers can use this to detect a wake from the EC due to
58 What: /sys/kernel/debug/<cros-ec-device>/suspend_timeout_ms
63 a hardware-controlled sleep line, such as Intel's SLP_S0 line,
[all …]
Dsysfs-class-chromeos1 What: /sys/class/chromeos/<ec-device-name>/flashinfo
7 What: /sys/class/chromeos/<ec-device-name>/kb_wake_angle
11 Control the keyboard wake lid angle. Values are between
12 0 and 360. This file will also show the keyboard wake lid
15 What: /sys/class/chromeos/<ec-device-name>/reboot
21 - "cancel": Cancel a pending reboot.
22 - "ro": Jump to RO without rebooting.
23 - "rw": Jump to RW without rebooting.
24 - "cold": Cold reboot.
25 - "disable-jump": Disable jump until next reboot.
[all …]
/linux-6.14.4/drivers/gpio/
Dgpio-tangier.h1 /* SPDX-License-Identifier: GPL-2.0-only */
20 struct device;
24 /* Elkhart Lake specific wake registers */
25 #define GWMR_EHL 0x100 /* Wake mask */
26 #define GWSR_EHL 0x118 /* Wake source */
29 /* Merrifield specific wake registers */
30 #define GWMR_MRFLD 0x400 /* Wake mask */
31 #define GWSR_MRFLD 0x418 /* Wake source */
35 * struct tng_wake_regs - Platform specific wake registers
36 * @gwmr: Wake mask
[all …]
Dgpio-nomadik.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * GPIO driver for the IP block found in the Nomadik SoC; it is an AMBA device,
7 * The GPIO chips are shared with pinctrl-nomadik if used; it needs access for
10 * This driver also handles the mobileye,eyeq5-gpio compatible. It is an STA2X11
13 * wake and alternate function registers. It is NOT compatible with
14 * pinctrl-nomadik.
19 * Copyright (C) 2011-2013 Linus Walleij <[email protected]>
35 #include <linux/gpio/gpio-nomadik.h>
47 if (WARN_ON(nmk_chip->is_mobileye_soc)) in __nmk_gpio_set_slpm()
50 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/pinctrl/
Dsamsung,pinctrl-wakeup-interrupt.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-wakeup-interrupt.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC pin controller - wake-up interrupt controller
10 - Krzysztof Kozlowski <[email protected]>
11 - Sylwester Nawrocki <[email protected]>
12 - Tomasz Figa <[email protected]>
15 This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
18 External wake-up interrupts for Samsung S3C/S5P/Exynos SoC pin controller.
[all …]
Dsamsung,pinctrl-gpio-bank.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/pinctrl/samsung,pinctrl-gpio-bank.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Samsung S3C/S5P/Exynos SoC pin controller - gpio bank
10 - Krzysztof Kozlowski <[email protected]>
11 - Sylwester Nawrocki <[email protected]>
12 - Tomasz Figa <[email protected]>
15 This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
24 '#gpio-cells':
[all …]
/linux-6.14.4/drivers/phy/motorola/
Dphy-mapphone-mdm6600.c1 // SPDX-License-Identifier: GPL-2.0
29 PHY_MDM6600_POWER, /* Device power */
30 PHY_MDM6600_RESET, /* Device reset */
35 PHY_MDM6600_MODE0, /* out USB mode0 and OOB wake */
36 PHY_MDM6600_MODE1, /* out USB mode1, in OOB wake */
63 PHY_MDM6600_CMD_BP_SHUTDOWN_REQ, /* Request device power off */
91 struct device *dev;
111 struct gpio_desc *enable_gpio = ddata->ctrl_gpios[PHY_MDM6600_ENABLE]; in phy_mdm6600_init()
113 if (!ddata->enabled) in phy_mdm6600_init()
114 return -EPROBE_DEFER; in phy_mdm6600_init()
[all …]
/linux-6.14.4/drivers/media/rc/
Dnuvoton-cir.c2 * Driver for Nuvoton Technology Corporation w83667hg/w83677hg-i CIR
32 #include <media/rc-core.h>
35 #include "nuvoton-cir.h"
46 static inline struct device *nvt_get_dev(const struct nvt_dev *nvt) in nvt_get_dev()
48 return nvt->rdev->dev.parent; in nvt_get_dev()
53 return nvt->chip_ver == NVT_W83667HG; in is_w83667hg()
59 outb(reg, nvt->cr_efir); in nvt_cr_write()
60 outb(val, nvt->cr_efdr); in nvt_cr_write()
66 outb(reg, nvt->cr_efir); in nvt_cr_read()
67 return inb(nvt->cr_efdr); in nvt_cr_read()
[all …]
/linux-6.14.4/arch/x86/platform/olpc/
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
8 #include <linux/device.h>
12 #include <linux/olpc-ec.h>
17 #define DRV_NAME "olpc-xo15-sci"
20 #define XO15_SCI_DEVICE_NAME "OLPC XO-1.5 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
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/can/
Dti,tcan4x5x.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Marc Kleine-Budde <[email protected]>
15 - items:
16 - enum:
17 - ti,tcan4552
18 - ti,tcan4553
19 - const: ti,tcan4x5x
20 - const: ti,tcan4x5x
[all …]
/linux-6.14.4/include/linux/
Dlis3lv02d.h1 /* SPDX-License-Identifier: GPL-2.0 */
6 * struct lis3lv02d_platform_data - lis3 chip family platform data
15 * data available / wake up, open drain, polarity)
18 * @duration1: Wake up unit 1 duration parameter
19 * @duration2: Wake up unit 2 duration parameter
20 * @wakeup_flags: Wake up unit 1 flags
21 * @wakeup_thresh: Wake up unit 1 threshold value
22 * @wakeup_flags2: Wake up unit 2 flags
23 * @wakeup_thresh2: Wake up unit 2 threshold value
26 * @axis_x: Sensor orientation remapping for x-axis
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/net/bluetooth/
Drealtek,bluetooth.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vasily Khoruzhick <[email protected]>
11 - Alistair Francis <[email protected]>
22 - enum:
23 - realtek,rtl8723bs-bt
24 - realtek,rtl8723cs-bt
25 - realtek,rtl8723ds-bt
26 - realtek,rtl8822cs-bt
[all …]
/linux-6.14.4/Documentation/networking/dsa/
Dbcm_sf2.rst8 - xDSL gateways such as BCM63138
9 - streaming/multimedia Set Top Box such as BCM7445
10 - Cable Modem/residential gateways such as BCM7145/BCM3390
13 ports, offering a range of built-in and customizable interfaces:
15 - single integrated Gigabit PHY
16 - quad integrated Gigabit PHY
17 - quad external Gigabit PHY w/ MDIO multiplexer
18 - integrated MoCA PHY
19 - several external MII/RevMII/GMII/RGMII interfaces
22 fail-over not to lose packets during a MoCA role re-election, as well as out of
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/power/reset/
Datmel,sama5d2-shdwc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdwc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Claudiu Beznea <[email protected]>
14 and VDDCORE and the wake-up detection on debounced input lines.
19 - items:
20 - const: microchip,sama7g5-shdwc
21 - const: syscon
22 - enum:
[all …]
/linux-6.14.4/drivers/soc/qcom/
Drpmh-internal.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved.
27 * @type: Type of the TCS in this group - active, sleep, wake.
33 * transfers (could be on a wake/sleep TCS if we are borrowing for
35 * Start: grab drv->lock, set req, set tcs_in_use, drop drv->lock,
38 * grab drv->lock, clear tcs_in_use, drop drv->lock
40 * SLEEP / WAKE TCSs. Things are tightly packed in the
56 * struct rpmh_request: the message to be sent to rpmh-rsc
61 * @dev: the device making the request
68 const struct device *dev;
[all …]
/linux-6.14.4/drivers/hsi/controllers/
Domap_ssi.h1 /* SPDX-License-Identifier: GPL-2.0-only */
13 #include <linux/device.h>
23 #define SSI_BYTES_TO_FRAMES(x) ((((x) - 1) >> 2) + 1)
28 * struct omap_ssm_ctx - OMAP synchronous serial module (TX/RX) context
50 * struct omap_ssi_port - OMAP SSI port data
51 * @dev: device associated to the port (HSI port)
52 * @pdev: platform device associated to the port
57 * @wk_lock: spin lock to serialize access to the wake lines
66 * @wake_irq: IRQ number for incoming wake line (-1 if none)
67 * @wake_gpio: GPIO number for incoming wake line (-1 if none)
[all …]
/linux-6.14.4/drivers/interconnect/qcom/
Dbcm-voter.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (c) 2020-2021, The Linux Foundation. All rights reserved.
7 #include <linux/interconnect-provider.h>
16 #include "bcm-voter.h"
17 #include "icc-rpmh.h"
23 * struct bcm_voter - Bus Clock Manager voter
24 * @dev: reference to the device that communicates with the BCM
25 * @np: reference to the device node to match bcm voters
26 * @lock: mutex to protect commit and wake/sleep lists in the voter
28 * @ws_list: list containing bcms that have different wake/sleep votes
[all …]
/linux-6.14.4/Documentation/devicetree/bindings/power/
Dwakeup-source.txt4 Any device nodes
5 ----------------
7 "wakeup-source" boolean property.
9 If the device is marked as a wakeup-source, interrupt wake capability depends
10 on the device specific "interrupt-names" property. If no interrupts are labeled
11 as wake capable, then it is up to the device to determine which interrupts can
12 wake the system.
14 However if a device has a dedicated interrupt as the wakeup source, then it
15 needs to specify/identify it using a device specific interrupt name. In such
22 ---------------------------------------------------------
[all …]
/linux-6.14.4/drivers/acpi/
Dpower.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * drivers/acpi/power.c - ACPI Power Resources management.
5 * Copyright (C) 2001 - 2015 Intel Corp.
12 * ACPI power-managed devices may be controlled in two ways:
13 * 1. via "Device Specific (D-State) Control"
18 * plane, clock plane, or other resource depended on by a device.
20 * A device may rely on multiple power resources, and a power resource
45 struct device *dev;
50 struct acpi_device device; member
68 /* --------------------------------------------------------------------------
[all …]
/linux-6.14.4/drivers/bluetooth/
Dhci_ll.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Written by Ohad Ben-Cohen <[email protected]>
43 #include <linux/nvmem-consumer.h>
47 /* Vendor-specific HCI commands */
89 struct ll_struct *ll = hu->priv; in send_hcill_cmd()
97 err = -ENOMEM; in send_hcill_cmd()
105 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd()
119 return -ENOMEM; in ll_open()
121 skb_queue_head_init(&ll->txq); in ll_open()
122 skb_queue_head_init(&ll->tx_wait_q); in ll_open()
[all …]
/linux-6.14.4/include/sound/
Dsoc-jack.h1 /* SPDX-License-Identifier: GPL-2.0
3 * soc-jack.h
12 * struct snd_soc_jack_pin - Describes a pin to update based on jack detection
16 * @invert: if non-zero then pin is enabled when status is not reported
27 * struct snd_soc_jack_zone - Describes voltage zones of jack detection
45 * struct snd_soc_jack_gpio - Describes a gpio pin for jack detection
48 * consumer device
49 * @gpiod_dev: GPIO consumer device
51 * device function name lookup
55 * @wake: enable as wake source
[all …]
/linux-6.14.4/Documentation/power/
Dsuspend-and-interrupts.rst2 System Suspend and Device Interrupts
9 Suspending and Resuming Device IRQs
10 -----------------------------------
12 Device interrupt request lines (IRQs) are generally disabled during system
14 ->prepare, ->suspend and ->suspend_late callbacks have been executed for all
17 The rationale for doing so is that after the "late" phase of device suspend
21 interrupt handlers for shared IRQs that device drivers implementing them were
26 of suspend_device_irqs(), along with the "noirq" phase of device suspend and
29 Device IRQs are re-enabled during system resume, right before the "early" phase
30 of resuming devices (that is, before starting to execute ->resume_early
[all …]
/linux-6.14.4/include/net/
Dnetdev_queues.h1 /* SPDX-License-Identifier: GPL-2.0 */
8 * struct netdev_config - queue-related configuration for a netdev
56 u64 wake; member
60 * struct netdev_stat_ops - netdev ops for fine grained stats
66 * on entry (specifically they are *not* zero-initialized). Drivers should
71 * queues are queried by the per-queue callbacks. This means that per-queue
73 * the device. The @get_base_stats callback allows filling in the delta
74 * between events for currently live queues and overall device history.
77 * When the statistics for the entire device are queried, first @get_base_stats
78 * is issued to collect the delta, and then a series of per-queue callbacks.
[all …]

12345678910>>...42