/linux/Documentation/ABI/testing/ |
H A D | sysfs-devices-power | 7 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 D | debugfs-cros-ec | 1 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 D | sysfs-class-chromeos | 1 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/drivers/gpio/ |
H A D | gpio-tangier.h | 1 /* 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 …]
|
H A D | gpio-nomadik.c | 1 // 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 <linus.walleij@linaro.org> 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/Documentation/devicetree/bindings/pinctrl/ |
H A D | samsung,pinctrl-wakeup-interrupt.yaml | 1 # 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 D | samsung,pinctrl-gpio-bank.yaml | 1 # 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 …]
|
/linux/drivers/media/rc/ |
H A D | nuvoton-cir.c | 2 * 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/arch/x86/platform/olpc/ |
H A D | olpc-xo15-sci.c | 1 // 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/include/linux/ |
H A D | lis3lv02d.h | 1 /* 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 …]
|
H A D | gpio_keys.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 7 struct device; 10 * struct gpio_keys_button - configuration parameters 12 * @gpio: %-1 if this key does not support gpio 17 * @wakeup: configure the button as a wake-up source 24 * @wakeirq: Optional dedicated wake-up interrupt 42 * struct gpio_keys_platform_data - platform data for gpio_keys driver 44 * describing buttons attached to the device 46 * @poll_interval: polling interval in msecs - for polling driver only 48 * @enable: platform hook for enabling the device [all …]
|
/linux/Documentation/networking/dsa/ |
H A D | bcm_sf2.rst | 8 - 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/Documentation/devicetree/bindings/net/bluetooth/ |
H A D | realtek,bluetooth.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 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 26 - realtek,rtl8822cs-bt [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | atmel,sama5d2-shdwc.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/atmel,sama5d2-shdw [all...] |
/linux/drivers/soc/qcom/ |
H A D | rpmh-internal.h | 1 /* 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 …]
|
H A D | rpmh.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2016-2018, The Linux Foundation. All rights reserved. 23 #include "rpmh-internal.h" 27 #define DEFINE_RPMH_MSG_ONSTACK(device, s, q, name) \ argument 37 .dev = device, \ 48 * @wake_val: the wake vote 59 * struct batch_cache_req - An entry in our batch catch 72 static struct rpmh_ctrlr *get_rpmh_ctrlr(const struct device *dev) in get_rpmh_ctrlr() 74 struct rsc_drv *drv = dev_get_drvdata(dev->parent); in get_rpmh_ctrlr() 76 return &drv->client; in get_rpmh_ctrlr() [all …]
|
/linux/drivers/interconnect/qcom/ |
H A D | bcm-voter.c | 1 // 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/drivers/hsi/controllers/ |
H A D | omap_ssi.h | 1 /* 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/Documentation/devicetree/bindings/power/ |
H A D | wakeup-source.txt | 4 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/include/sound/ |
H A D | soc-jack.h | 1 /* 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/Documentation/power/ |
H A D | suspend-and-interrupts.rst | 2 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/drivers/soc/tegra/ |
H A D | pmc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2018-2024, NVIDIA CORPORATION. All rights reserved. 12 #define pr_fmt(fmt) "tegra-pmc: " fmt 14 #include <linux/arm-smccc.h> 16 #include <linux/clk-provider.h> 18 #include <linux/clk/clk-conf.h> 22 #include <linux/device.h> 37 #include <linux/pinctrl/pinconf-generic.h> 56 #include <dt-bindings/interrupt-controller/arm-gic.h> 57 #include <dt-bindings/pinctrl/pinctrl-tegra-io-pad.h> [all …]
|
/linux/drivers/crypto/ |
H A D | atmel-i2c.h | 1 /* 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. 76 /* Definitions for the device lock state */ 82 * Wake High delay to data communication (microseconds). SDA should be stable 88 /* Wake Low duration */ 124 * atmel_i2c_client_priv - i2c_client private data 125 * @client : pointer to i2c client device [all …]
|
/linux/drivers/char/tpm/ |
H A D | tpm_tis_spi_cr50.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * This device driver implements a TCG PTP FIFO interface over SPI for chips 23 * - can go to sleep not earlier than after CR50_SLEEP_DELAY_MSEC. 24 * - needs up to CR50_WAKE_START_DELAY_USEC to wake after sleep. 25 * - requires waiting for "ready" IRQ, if supported; or waiting for at least 27 * - waits for up to CR50_FLOW_CONTROL for flow control 'ready' indication. 69 cr50_phy->irq_confirmed = true; in cr50_spi_irq_handler() 70 complete(&cr50_phy->spi_phy.ready); in cr50_spi_irq_handler() 81 unsigned long allowed_access = phy->last_access + phy->access_delay; in cr50_ensure_access_delay() 83 struct device *dev = &phy->spi_phy.spi_device->dev; in cr50_ensure_access_delay() [all …]
|
/linux/arch/arm/mach-omap1/ |
H A D | Kconfig | 1 # SPDX-License-Identifier: GPL-2.0-only 74 intra-tick resolution than OMAP_MPU_TIMER. The 32KHz timer is 87 timer provides more intra-tick resolution than the 32KHz timer, 91 bool "Enable wake-up events for serial ports" 95 Select this option if you want to have your system wake up 96 to data on the serial RX line. This allows you to wake the 109 device drivers work properly. 149 have such a device. 161 if you have such a device.
|