Home
last modified time | relevance | path

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

12345678910>>...41

/openbmc/linux/drivers/base/power/
H A 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 …]
/openbmc/linux/Documentation/ABI/testing/
H A 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 …]
H A 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 …]
H A 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 …]
/openbmc/linux/drivers/gpio/
H A Dgpio-tangier.h1 /* SPDX-License-Identifier: GPL-2.0-only */
19 struct device;
23 /* Elkhart Lake specific wake registers */
24 #define GWMR_EHL 0x100 /* Wake mask */
25 #define GWSR_EHL 0x118 /* Wake source */
28 /* Merrifield specific wake registers */
29 #define GWMR_MRFLD 0x400 /* Wake mask */
30 #define GWSR_MRFLD 0x418 /* Wake source */
34 * struct tng_wake_regs - Platform specific wake registers
35 * @gwmr: Wake mask
[all …]
/openbmc/linux/Documentation/devicetree/bindings/pinctrl/
H A 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 <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
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 …]
H A 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 <krzk@kernel.org>
11 - Sylwester Nawrocki <s.nawrocki@samsung.com>
12 - Tomasz Figa <tomasz.figa@gmail.com>
15 This is a part of device tree bindings for Samsung S3C/S5P/Exynos SoC pin
24 '#gpio-cells':
[all …]
/openbmc/linux/Documentation/devicetree/bindings/net/can/
H A Dtcan4x5x.txt4 This file provides device node information for the TCAN4x5x interface contains.
7 - compatible:
11 - reg: 0
12 - #address-cells: 1
13 - #size-cells: 0
14 - spi-max-frequency: Maximum frequency of the SPI bus the chip can
16 - interrupt-parent: the phandle to the interrupt controller which provides
18 - interrupts: interrupt specification for data-ready.
24 - reset-gpios: Hardwired output GPIO. If not defined then software
26 - device-state-gpios: Input GPIO that indicates if the device is in
[all …]
/openbmc/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
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 …]
/openbmc/linux/drivers/phy/motorola/
H A 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 …]
/openbmc/linux/drivers/media/rc/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/net/
H A Drealtek-bluetooth.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/net/realtek-bluetooth.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Vasily Khoruzhick <anarsoul@gmail.com>
11 - Alistair Francis <alistair@alistair23.me>
22 - enum:
23 - realtek,rtl8723bs-bt
24 - realtek,rtl8723cs-bt
25 - realtek,rtl8723ds-bt
[all …]
/openbmc/linux/Documentation/networking/dsa/
H A 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 …]
/openbmc/linux/include/linux/
H A 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 …]
/openbmc/linux/drivers/soc/qcom/
H A 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 …]
/openbmc/linux/Documentation/devicetree/bindings/power/reset/
H A 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 <claudiu.beznea@microchip.com>
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 …]
/openbmc/linux/drivers/hsi/controllers/
H A 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 …]
/openbmc/linux/drivers/interconnect/qcom/
H A 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 …]
/openbmc/linux/drivers/acpi/
H A 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 …]
/openbmc/linux/include/sound/
H A 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
49 * consumer device
50 * @gpiod_dev: GPIO consumer device
52 * device function name lookup
56 * @wake: enable as wake source
[all …]
/openbmc/linux/drivers/bluetooth/
H A Dhci_ll.c1 // SPDX-License-Identifier: GPL-2.0-only
10 * Written by Ohad Ben-Cohen <ohad@bencohen.org>
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 …]
/openbmc/linux/Documentation/power/
H A 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 …]
/openbmc/linux/drivers/crypto/
H A Datmel-i2c.h1 /* SPDX-License-Identifier: GPL-2.0 */
38 * atmel_i2c_cmd - structure used for communicating with the device.
39 * @word_addr: indicates the function of the packet sent to the device. This
41 * @count : number of bytes to be transferred to (or from) the device.
45 * @data : optional remaining input data. Includes a 2-byte CRC.
72 /* Definitions for the device lock state */
78 * Wake High delay to data communication (microseconds). SDA should be stable
84 /* Wake Low duration */
120 * atmel_i2c_client_priv - i2c_client private data
121 * @client : pointer to i2c client device
[all …]
/openbmc/linux/drivers/staging/greybus/
H A Darche-platform.c1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright 2014-2015 Google Inc.
6 * Copyright 2014-2015 Linaro Ltd.
51 struct gpio_desc *wake_detect; /* bi-dir,maps to WAKE_MOD & WAKE_FRAME signals */
70 struct device *dev;
73 /* Requires calling context to hold arche_pdata->platform_state_mutex */
77 arche_pdata->state = state; in arche_platform_set_state()
80 /* Requires arche_pdata->wake_lock is held by calling context */
84 arche_pdata->wake_detect_state = state; in arche_platform_set_wake_detect_state()
92 static int apb_cold_boot(struct device *dev, void *data) in apb_cold_boot()
[all …]
/openbmc/linux/Documentation/devicetree/bindings/timer/
H A Driscv,timer.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: RISC-V timer
10 - Anup Patel <anup@brainfault.org>
13 RISC-V platforms always have a RISC-V timer device for the supervisor-mode
14 based on the time CSR defined by the RISC-V privileged specification. The
15 timer interrupts of this device are configured using the RISC-V SBI Time
16 extension or the RISC-V Sstc extension.
18 The clock frequency of RISC-V timer device is specified via the
[all …]

12345678910>>...41