Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:capable (Results 1 – 25 of 143) sorted by relevance

123456

/linux/include/linux/
H A Dpm_wakeup.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pm_wakeup.h - Power management wakeup interface
21 * struct wakeup_source - Representation of wakeup sources
23 * @name: Name of the wakeup source
24 * @id: Wakeup source id
25 * @entry: Wakeup source list entry
26 * @lock: Wakeup source lock
28 * @timer: Wakeup timer list
29 * @timer_expires: Wakeup timer expiration
30 * @total_time: Total time this wakeup source has been active.
[all …]
/linux/drivers/net/ethernet/atheros/atlx/
H A Datlx.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
2 /* atlx_hw.h -- common hardware definitions for Attansic network drivers
4 * Copyright(c) 2005 - 2006 Attansic Corporation. All rights reserved.
5 * Copyright(c) 2006 - 2007 Chris Snook <csnook@redhat.com>
6 * Copyright(c) 2006 - 2008 Jay Cliburn <jcliburn@gmail.com>
10 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved.
149 /* IRQ Anti-Lost Timer Initial Value Register */
228 /* MAC Half-Duplex Control Register */
246 /* Wake-On-Lan control register */
322 #define MII_SR_AUTONEG_CAPS 0x0008 /* Auto Neg Capable */
[all …]
/linux/drivers/base/power/
H A Dwakeup.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/wakeup.c - System wakeup events framework
27 * if wakeup events are registered during or immediately before the transition.
31 /* First wakeup IRQ seen by the kernel in the last cycle. */
39 * Combined counters of registered wakeup events and wakeup events in progress.
46 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1)
77 * wakeup_source_create - Create a struct wakeup_source object.
78 * @name: Name of the new wakeup source.
93 ws->name = ws_name; in wakeup_source_create()
98 ws->id = id; in wakeup_source_create()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dmediatek,mtk-xhci.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
5 $id: http://devicetree.org/schemas/usb/mediatek,mtk-xhci.yaml#
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-xhci.yaml
19 case 2: supports dual-role mode, and the host is based on xHCI driver.
25 - enum:
26 - mediatek,mt2701-xhci
27 - mediatek,mt2712-xhci
[all …]
/linux/Documentation/devicetree/bindings/serial/
H A Dqcom,sa8255p-geni-uart.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/serial/qcom,sa8255p-geni-uart.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Praveen Talari <quic_ptalari@quicinc.com>
13 - $ref: /schemas/serial/serial.yaml#
18 - qcom,sa8255p-geni-uart
19 - qcom,sa8255p-geni-debug-uart
27 - description: UART core irq
28 - description: Wakeup irq (RX GPIO)
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h1 // SPDX-License-Identifier: ISC
37 #define BRCMF_STA_N_CAP 0x00002000 /* STA 802.11n capable */
39 #define BRCMF_STA_AMPDU_CAP 0x00008000 /* STA AMPDU capable */
40 #define BRCMF_STA_AMSDU_CAP 0x00010000 /* STA AMSDU capable */
44 #define BRCMF_STA_VHT_CAP 0x00100000 /* STA VHT(11ac) capable */
79 #define BRCMF_OBSS_COEX_AUTO (-1)
84 /* Wakeup on Magic packet: */
86 /* Wakeup on Netpattern */
88 /* Wakeup on loss-of-link due to Disassoc/Deauth: */
90 /* Wakeup on retrograde TSF: */
[all …]
/linux/drivers/net/ethernet/intel/e1000/
H A De1000_hw.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2006 Intel Corporation. */
422 /* MAC decode size is 128K - This is the size of BAR0 */
443 (MINIMUM_ETHERNET_FRAME_SIZE - ETHERNET_FCS_SIZE)
486 * E1000_RAR_ENTRIES - 1 multicast addresses.
503 /* Receive Descriptor - Extended */
529 /* Receive Descriptor - Packet Split */
553 __le16 length[3]; /* length of buffers 1-3 */
567 #define E1000_RXD_STAT_PIF 0x80 /* passed in-exact filter */
724 /* Four wakeup IP addresses are supported */
[all …]
/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Dinterrupts.txt5 -------------------------
8 "interrupts" property, an "interrupts-extended" property, or both. If both are
16 interrupt-parent = <&intc1>;
19 The "interrupt-parent" property is used to specify the controller to which
25 The "interrupts-extended" property is a special form; useful when a node needs
31 interrupts-extended = <&intc1 5 1>, <&intc2 1 0>;
34 -----------------------------
36 A device is marked as an interrupt controller with the "interrupt-controller"
37 property. This is a empty, boolean property. An additional "#interrupt-cells"
45 -----------
[all …]
/linux/include/linux/soc/qcom/
H A Dirq.h1 /* SPDX-License-Identifier: GPL-2.0-only */
11 * QCOM specific IRQ domain flags that distinguishes the handling of wakeup
12 * capable interrupts by different interrupt controllers.
31 return (d->flags & IRQ_DOMAIN_FLAG_QCOM_PDC_WAKEUP); in irq_domain_qcom_handle_wakeup()
/linux/drivers/net/can/flexcan/
H A Dflexcan.h1 /* SPDX-License-Identifier: GPL-2.0
2 * flexcan.c - FLEXCAN CAN controller driver
4 * Copyright (c) 2005-2006 Varma Electronics Oy
6 * Copyright (c) 2010-2017 Pengutronix, Marc Kleine-Budde <kernel@pengutronix.de>
10 * Based on code originally by Andrey Volkov <avolkov@varma-el.com>
17 #include <linux/can/rx-offload.h>
22 * SOC Version IP-Version Glitch- [TR]WRN_INT IRQ Err Memory err RTR rece- FD Mode MB
45 /* Disable non-correctable errors interrupt and freeze mode */
53 /* Setup stop mode with GPR to support wakeup */
55 /* Support CAN-FD mode */
[all …]
/linux/Documentation/driver-api/usb/
H A Dpower-management.rst1 .. _usb-power-management:
7 :Date: Last-updated: February 2014
11 ---------
13 * What is Remote Wakeup?
17 * Changing the default idle-delay time
31 -------------------------
35 component is ``suspended`` it is in a nonfunctional low-power state; it
37 ``resumed`` (returned to a functional full-power state) when the kernel
66 What is Remote Wakeup?
67 ----------------------
[all …]
/linux/drivers/net/ethernet/intel/igc/
H A Digc_defines.h1 /* SPDX-License-Identifier: GPL-2.0 */
17 /* Definitions for power management and wakeup registers */
22 #define IGC_WUFC_LNKC 0x00000001 /* Link Status Change Wakeup Enable */
23 #define IGC_WUFC_MAG 0x00000002 /* Magic Packet Wakeup Enable */
24 #define IGC_WUFC_EX 0x00000004 /* Directed Exact Wakeup Enable */
25 #define IGC_WUFC_MC 0x00000008 /* Directed Multicast Wakeup Enable */
26 #define IGC_WUFC_BC 0x00000010 /* Broadcast Wakeup Enable */
62 /* Wakeup Filter Control Extended */
90 /* Loop limit on how long we wait for auto-negotiation to complete */
161 #define NWAY_AR_10T_HD_CAPS 0x0020 /* 10T Half Duplex Capable */
[all …]
/linux/drivers/input/keyboard/
H A Dgpio_keys_polled.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Driver for buttons on GPIO lines not capable of generating interrupts
5 * Copyright (C) 2007-2010 Gabor Juhos <juhosg@openwrt.org>
26 #define DRV_NAME "gpio-keys-polled"
49 unsigned int type = button->type ?: EV_KEY; in gpio_keys_button_event()
53 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
54 __set_bit(button->code, bdev->rel_axis_seen); in gpio_keys_button_event()
58 input_event(input, type, button->code, button->value); in gpio_keys_button_event()
59 __set_bit(button->code, bdev->abs_axis_seen); in gpio_keys_button_event()
62 input_event(input, type, button->code, state); in gpio_keys_button_event()
[all …]
/linux/drivers/usb/dwc3/
H A Dhost.c1 // SPDX-License-Identifier: GPL-2.0
3 * host.c - DesignWare USB3 DRD Controller Host Glue
5 * Copyright (C) 2011 Texas Instruments Incorporated - https://www.ti.com
16 #include "../host/xhci-port.h"
17 #include "../host/xhci-ext-caps.h"
18 #include "../host/xhci-caps.h"
19 #include "../host/xhci-plat.h"
26 * dwc3_power_off_all_roothub_ports - Power off all Root hub ports
39 if (dwc->xhci_resources[0].start) { in dwc3_power_off_all_roothub_ports()
40 xhci_regs = ioremap(dwc->xhci_resources[0].start, DWC3_XHCI_REGS_END); in dwc3_power_off_all_roothub_ports()
[all …]
/linux/kernel/power/
H A Dsuspend_test.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * kernel/power/suspend_test.c - Suspend to RAM and standby test facility.
18 * The time it takes is system-specific though, so when we test this
31 * during the irqs-are-off stages of the suspend/resume cycle... in suspend_test_start()
38 long nj = jiffies - suspend_test_start_time; in suspend_test_finish()
46 * larger -- the system was sooo slooowwww to suspend that the in suspend_test_finish()
58 * To test system suspend, we need a hands-off mechanism to resume the
59 * system. RTCs wake alarms are a common self-contained mechanism.
71 KERN_INFO "PM: test RTC wakeup from '%s' suspend\n"; in test_wakealarm()
81 printk(err_readtime, dev_name(&rtc->dev), status); in test_wakealarm()
[all …]
H A Dwakelock.c1 // SPDX-License-Identifier: GPL-2.0
5 * User space wakeup sources support.
48 if (wl->ws->active == show_active) in pm_show_wakelocks()
49 len += sysfs_emit_at(buf, len, "%s ", wl->name); in pm_show_wakelocks()
53 --len; in pm_show_wakelocks()
76 number_of_wakelocks--; in decrement_wakelocks_number()
95 list_add(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_add()
100 list_move(&wl->lru, &wakelocks_lru_list); in wakelocks_lru_most_recent()
115 spin_lock_irq(&wl->ws->lock); in __wakelocks_gc()
116 idle_time_ns = ktime_to_ns(ktime_sub(now, wl->ws->last_time)); in __wakelocks_gc()
[all …]
/linux/arch/arm/mach-omap2/
H A Domap-smp.c1 // SPDX-License-Identifier: GPL-2.0-only
19 #include <linux/irqchip/arm-gic.h>
25 #include "omap-secure.h"
26 #include "omap-wakeupgen.h"
87 * BIT(27) - Disables streaming. All write-allocate lines allocate in in omap5_erratum_workaround_801819()
89 * BIT(25) - Disables streaming. All write-allocate lines allocate in in omap5_erratum_workaround_801819()
150 * OMAP44XX EMU/HS devices - CPU0 SMP bit access is enabled in PPA in omap4_secondary_init()
153 * OMAP443X GP devices- SMP bit isn't accessible. in omap4_secondary_init()
154 * OMAP446X GP devices - SMP bit access is enabled on both CPUs. in omap4_secondary_init()
198 * The SGI(Software Generated Interrupts) are not wakeup capable in omap4_boot_secondary()
[all …]
/linux/Documentation/driver-api/
H A Dhsi.rst5 ---------------
8 that is optimized for die-level interconnect between an Application Processor
13 (typically 8) and is capable of reaching speeds up to 200 Mbit/s.
17 signal can be used to wakeup the chips from standby modes. The signals are
23 +------------+ +---------------+
26 | | - - - - - - CAWAKE - - - - - - >| |
27 | T|------------ CADATA ------------>|R |
28 | X|------------ CAFLAG ------------>|X |
29 | |<----------- ACREADY ------------| |
32 | |< - - - - - ACWAKE - - - - - - -| |
[all …]
/linux/drivers/usb/mtu3/
H A Dmtu3.h1 /* SPDX-License-Identifier: GPL-2.0 */
3 * mtu3.h - MediaTek USB3 DRD header
35 #define MU3D_EP_TXCR0(epnum) (U3D_TX1CSR0 + (((epnum) - 1) * 0x10))
36 #define MU3D_EP_TXCR1(epnum) (U3D_TX1CSR1 + (((epnum) - 1) * 0x10))
37 #define MU3D_EP_TXCR2(epnum) (U3D_TX1CSR2 + (((epnum) - 1) * 0x10))
39 #define MU3D_EP_RXCR0(epnum) (U3D_RX1CSR0 + (((epnum) - 1) * 0x10))
40 #define MU3D_EP_RXCR1(epnum) (U3D_RX1CSR1 + (((epnum) - 1) * 0x10))
41 #define MU3D_EP_RXCR2(epnum) (U3D_RX1CSR2 + (((epnum) - 1) * 0x10))
43 #define USB_QMU_TQHIAR(epnum) (U3D_TXQHIAR1 + (((epnum) - 1) * 0x4))
44 #define USB_QMU_RQHIAR(epnum) (U3D_RXQHIAR1 + (((epnum) - 1) * 0x4))
[all …]
/linux/fs/
H A Dpipe.c1 // SPDX-License-Identifier: GPL-2.0
40 * than two, then a write to a non-empty pipe may block even if the pipe is not
46 * own risk, namely: pipe writes to non-full pipes may block until the pipe is
52 * The max size that a non-root user is allowed to grow the pipe. Can
53 * be set by root in /proc/sys/fs/pipe-max-size
68 * -- David Howells 2019-09-23.
71 * -- Julian Bradfield 1999-06-07.
74 * -- Jeremy Elson <jelson@circlemud.org> 2001-08-16
77 * -- Manfred Spraul <manfred@colorfullife.com> 2002-05-09
90 if (pipe->files) in pipe_lock()
[all …]
/linux/drivers/net/ethernet/intel/igb/
H A De1000_defines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 2007 - 2018 Intel Corporation. */
11 /* Definitions for power management and wakeup registers */
16 #define E1000_WUFC_LNKC 0x00000001 /* Link Status Change Wakeup Enable */
17 #define E1000_WUFC_MAG 0x00000002 /* Magic Packet Wakeup Enable */
18 #define E1000_WUFC_EX 0x00000004 /* Directed Exact Wakeup Enable */
19 #define E1000_WUFC_MC 0x00000008 /* Directed Multicast Wakeup Enable */
20 #define E1000_WUFC_BC 0x00000010 /* Broadcast Wakeup Enable */
62 /* Interrupt acknowledge Auto-mask */
118 #define E1000_MANC_SMBUS_EN 0x00000001 /* SMBus Enabled - RO */
[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/usb/cdns3/
H A Dcdnsp-ep0.c1 // SPDX-License-Identifier: GPL-2.0
15 #include "cdnsp-gadget.h"
16 #include "cdnsp-trace.h"
23 pep = &pdev->eps[0]; in cdnsp_ep0_stall()
24 preq = next_request(&pep->pending_list); in cdnsp_ep0_stall()
26 if (pdev->three_stage_setup) { in cdnsp_ep0_stall()
30 cdnsp_gadget_giveback(pep, preq, -ECONNRESET); in cdnsp_ep0_stall()
32 pep->ep_state |= EP0_HALTED_STATUS; in cdnsp_ep0_stall()
35 list_del(&preq->list); in cdnsp_ep0_stall()
46 spin_unlock(&pdev->lock); in cdnsp_ep0_delegate_req()
[all …]
/linux/net/atm/
H A Dpppoatm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
2 /* net/atm/pppoatm.c - RFC2364 PPP over ATM/AAL5 */
4 /* Copyright 1999-2000 by Mitchell Blank Jr */
5 /* Based on clip.c; 1995-1999 by Werner Almesberger, EPFL LRC/ICA */
17 * section 8 of RFC2364 - we are supposed to detect a change
19 * to avoid a black-hole being created if our peer loses state
24 * 1. LLC-encapsulation was missing when it was enabled. In
27 * 2. LLC-encapsulation was present when it was disabled. Then
44 #include <linux/ppp-ioctl.h>
66 int flags; /* SC_COMP_PROT - compress protocol */
[all …]
/linux/Documentation/driver-api/gpio/
H A Dintro.rst17 A "General Purpose Input/Output" (GPIO) is a flexible software-controlled
25 System-on-Chip (SOC) processors heavily rely on GPIOs. In some cases, every
26 non-dedicated pin can be configured as a GPIO; and most chips have at least
31 Most PC southbridges have a few dozen GPIO-capable pins (with only the BIOS
36 - Output values are writable (high=1, low=0). Some chips also have
38 value might be driven, supporting "wire-OR" and similar schemes for the
41 - Input values are likewise readable (1, 0). Some chips support readback
42 of pins configured as "output", which is very useful in such "wire-OR"
44 input de-glitch/debounce logic, sometimes with software controls.
46 - Inputs can often be used as IRQ signals, often edge triggered but
[all …]

123456