| /kernel/linux/linux-5.10/drivers/base/power/ |
| D | wakeirq.c | 1 // 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 * @irq: Device wake-up capable interrupt 16 * @wirq: Wake irq specific data 18 * Internal function to attach either a device IO interrupt or a 19 * dedicated wake-up interrupt as a wake IRQ. 21 static int dev_pm_attach_wake_irq(struct device *dev, int irq, in dev_pm_attach_wake_irq() [all …]
|
| /kernel/linux/linux-6.6/drivers/base/power/ |
| D | wakeirq.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/ABI/testing/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/gpio/ |
| D | gpio-tangier.h | 1 /* 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/pinctrl/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/can/ |
| D | tcan4x5x.txt | 4 This file provides device node information for the TCAN4x5x interface contains. 7 - compatible: "ti,tcan4x5x" 8 - reg: 0 9 - #address-cells: 1 10 - #size-cells: 0 11 - spi-max-frequency: Maximum frequency of the SPI bus the chip can 13 - interrupt-parent: the phandle to the interrupt controller which provides 15 - interrupts: interrupt specification for data-ready. 21 - reset-gpios: Hardwired output GPIO. If not defined then software 23 - device-state-gpios: Input GPIO that indicates if the device is in [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/can/ |
| D | tcan4x5x.txt | 4 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 …]
|
| /kernel/linux/linux-5.10/drivers/rtc/ |
| D | rtc-bd70528.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 #include <linux/mfd/rohm-bd70528.h> 9 #include <linux/mfd/rohm-bd71828.h> 55 struct device *dev; 66 ret = regmap_read(bd70528->regmap, BD70528_REG_WAKE_EN, &ctrl_reg); in bd70528_set_wake() 85 return regmap_write(bd70528->regmap, BD70528_REG_WAKE_EN, in bd70528_set_wake() 98 * Is the timeout registers counting down, or is the disable - re-enable in bd70528_set_elapsed_tmr() 99 * going to restart the elapsed-time counting? If counting is restarted in bd70528_set_elapsed_tmr() 107 ret = regmap_read(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr() 127 return regmap_write(bd70528->regmap, BD70528_REG_ELAPSED_TIMER_EN, in bd70528_set_elapsed_tmr() [all …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/ |
| D | realtek-bluetooth.yaml | 1 # 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# 7 title: RTL8723BS/RTL8723CS/RTL8822CS Bluetooth Device Tree Bindings 10 - Vasily Khoruzhick <anarsoul@gmail.com> 11 - Alistair Francis <alistair@alistair23.me> 21 - const: "realtek,rtl8723bs-bt" 22 - const: "realtek,rtl8723cs-bt" 23 - const: "realtek,rtl8822cs-bt" [all …]
|
| /kernel/linux/linux-6.6/drivers/phy/motorola/ |
| D | phy-mapphone-mdm6600.c | 1 // 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 …]
|
| /kernel/linux/linux-5.10/drivers/phy/motorola/ |
| D | phy-mapphone-mdm6600.c | 1 // 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 …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/arch/x86/platform/olpc/ |
| 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 oportunistically [all …]
|
| /kernel/linux/linux-6.6/arch/x86/platform/olpc/ |
| 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 …]
|
| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/net/wireless/ |
| D | brcm,bcm43xx-fmac.txt | 3 This node provides properties for controlling the Broadcom wireless device. The 5 connects the device to the system. 9 - compatible : Should be "brcm,bcm4329-fmac". 12 - brcm,drive-strength : drive strength used for SDIO pins on device in mA 14 - interrupts : specifies attributes for the out-of-band interrupt (host-wake). 15 When not specified the device will use in-band SDIO interrupts. 16 - interrupt-names : name of the out-of-band interrupt, which must be set 17 to "host-wake". 22 #address-cells = <1>; 23 #size-cells = <0>; [all …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/power/reset/ |
| 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-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 …]
|
| /kernel/linux/linux-6.6/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/net/ |
| D | realtek-bluetooth.yaml | 1 # 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 …]
|
| /kernel/linux/linux-5.10/Documentation/networking/dsa/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/networking/dsa/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/interconnect/qcom/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/soc/qcom/ |
| 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 …]
|