Home
last modified time | relevance | path

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

12345678910>>...41

/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 …]
/linux/drivers/gpio/
H A 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 …]
H A 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 <linus.walleij@linaro.org>
36 #include <linux/gpio/gpio-nomadik.h>
48 if (WARN_ON(nmk_chip->is_mobileye_soc)) in __nmk_gpio_set_slpm()
51 slpm = readl(nmk_chip->addr + NMK_GPIO_SLPC); in __nmk_gpio_set_slpm()
[all …]
/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 …]
/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>
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
32 * wake up to turn the display off.
[all …]
/linux/drivers/media/i2c/cvs/
H A Dcore.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #include <linux/device.h>
23 #include <media/ipu-bridge.h>
24 #include <media/ipu6-pci-table.h>
37 * IPU7 PCI device IDs not covered by ipu6_pci_tbl in ipu6-pci-table.h.
52 { "wake-gpio", &gpio_wake, 1 },
53 { "rst-gpio", &gpio_rst, 1 },
54 { "req-gpio", &gpio_req, 1 },
55 { "resp-gpio", &gpio_resp, 1 },
62 { "req-gpio", &lgpio_req, 1 },
[all …]
/linux/drivers/hid/intel-thc-hid/intel-thc/
H A Dintel-thc-wot.c1 // SPDX-License-Identifier: GPL-2.0
7 #include "intel-thc-dev.h"
8 #include "intel-thc-wot.h"
11 * thc_wot_config - Query and configure wake-on-touch feature
15 * THC ACPI device only provides _CRS with GpioInt() resources, doesn't contain
16 * _DSD to map this GPIO resource, so this function first registers wake GPIO
17 * mapping manually, then queries wake-on-touch GPIO resource from ACPI,
18 * if it exists and is wake-able, configure driver to enable it, otherwise,
31 adev = ACPI_COMPANION(thc_dev->dev); in thc_wot_config()
35 wot = &thc_dev->wot; in thc_wot_config()
[all …]
/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 …]
/linux/Documentation/devicetree/bindings/net/bluetooth/
H A Drealtek,bluetooth.yaml1 # 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/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 …]
/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 …]
/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 …]
/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 …]
/linux/Documentation/ABI/testing/
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 …]
/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 */
90 struct ll_struct *ll = hu->priv; in send_hcill_cmd()
98 err = -ENOMEM; in send_hcill_cmd()
106 skb_queue_tail(&ll->txq, skb); in send_hcill_cmd()
120 return -ENOMEM; in ll_open()
122 skb_queue_head_init(&ll->txq); in ll_open()
123 skb_queue_head_init(&ll->tx_wait_q); in ll_open()
[all …]
/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
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 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/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.
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/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 …]
/linux/include/linux/soundwire/
H A Dsdw_intel.h1 /* SPDX-License-Identifier: (GPL-2.0 OR BSD-3-Clause) */
2 /* Copyright(c) 2015-17 Intel Corporation. */
43 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24 (24000 / SDW_CADENCE_GSYNC_KHZ - 1)
44 #define SDW_SHIM_SYNC_SYNCPRD_VAL_24_576 (24576 / SDW_CADENCE_GSYNC_KHZ - 1)
45 #define SDW_SHIM_SYNC_SYNCPRD_VAL_38_4 (38400 / SDW_CADENCE_GSYNC_KHZ - 1)
46 #define SDW_SHIM_SYNC_SYNCPRD_VAL_96 (96000 / SDW_CADENCE_GSYNC_KHZ - 1)
91 /* Wake Enable*/
96 /* Wake Status */
117 * ACE2.x definitions for SHIM registers - only accessible when the
126 /* Read-only capabilities */
[all …]
/linux/drivers/net/ethernet/broadcom/genet/
H A Dbcmgenet_wol.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Broadcom GENET (Gigabit Ethernet) Wake-on-LAN support
5 * Copyright (c) 2014-2025 Broadcom
37 /* ethtool function - get WOL (Wake on LAN) settings, Only Magic Packet
43 struct device *kdev = &priv->pdev->dev; in bcmgenet_get_wol()
46 if (dev->phydev) { in bcmgenet_get_wol()
47 phy_ethtool_get_wol(dev->phydev, wol); in bcmgenet_get_wol()
48 phy_wolopts = wol->wolopts; in bcmgenet_get_wol()
51 /* MAC is not wake-up capable, return what the PHY does */ in bcmgenet_get_wol()
56 wol->supported |= WAKE_MAGIC | WAKE_MAGICSECURE | WAKE_FILTER; in bcmgenet_get_wol()
[all …]
/linux/drivers/pci/controller/dwc/
H A Dpcie-qcom-ep.c1 // SPDX-License-Identifier: GPL-2.0
27 #include "pcie-designware.h"
28 #include "pcie-qcom-common.h"
157 #define to_pcie_ep(x) dev_get_drvdata((x)->dev)
167 * struct qcom_pcie_ep_cfg - Per SoC config struct
181 * struct qcom_pcie_ep - Qualcomm PCIe Endpoint Controller
189 * @wake: WAKE# GPIO
212 struct gpio_desc *wake; member
232 struct dw_pcie *pci = &pcie_ep->pci; in qcom_pcie_ep_core_reset()
233 struct device *dev = pci->dev; in qcom_pcie_ep_core_reset()
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-plus.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
6 #include "sun50i-h700-anbernic-rg35xx-2024.dts"
10 compatible = "anbernic,rg35xx-plus", "allwinner,sun50i-h700";
13 compatible = "mmc-pwrseq-simple";
15 clock-names = "ext_clock";
16 pinctrl-0 = <&x32clk_fanout_pin>;
17 pinctrl-names = "default";
18 post-power-on-delay-ms = <200>;
19 reset-gpios = <&pio 6 18 GPIO_ACTIVE_LOW>; /* PG18 */
25 vmmc-supply = <&reg_cldo4>;
[all …]
/linux/drivers/gpu/drm/xe/
H A Dxe_shrinker.c1 // SPDX-License-Identifier: MIT
18 * struct xe_shrinker - per-device shrinker
19 * @xe: Back pointer to the device.
24 * @pm_worker: Worker to wake up the device if required.
37 return shrink->private_data; in to_xe_shrinker()
41 * xe_shrinker_mod_pages() - Modify shrinker page accounting
51 write_lock(&shrinker->lock); in xe_shrinker_mod_pages()
52 shrinker->shrinkable_pages += shrinkable; in xe_shrinker_mod_pages()
53 shrinker->purgeable_pages += purgeable; in xe_shrinker_mod_pages()
54 write_unlock(&shrinker->lock); in xe_shrinker_mod_pages()
[all …]

12345678910>>...41