Home
last modified time | relevance | path

Searched +full:valid +full:- +full:wakeup +full:- +full:mask (Results 1 – 25 of 305) sorted by relevance

12345678910>>...13

/linux/Documentation/devicetree/bindings/interrupt-controller/
H A Darm,vic.yaml1 # SPDX-License-Identifier: GPL-2.0
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/arm,vic.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 be nested or have the outputs wire-OR'd together.
18 - $ref: /schemas/interrupt-controller.yaml#
23 - arm,pl190-vic
24 - arm,pl192-vic
25 - arm,versatile-vic
[all …]
H A Dbrcm,bcm7038-l1-intc.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/interrupt-controller/brcm,bcm7038-l1-intc.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
7 title: Broadcom BCM7038-style Level 1 interrupt controller
11 directly to one of the HW INT lines on each CPU. Every BCM7xxx set-top chip
16 - 64, 96, 128, or 160 incoming level IRQ lines
18 - Most onchip peripherals are wired directly to an L1 input
20 - A separate instance of the register set for each CPU, allowing individual
23 - Atomic mask/unmask operations
[all …]
/linux/arch/arm/boot/dts/samsung/
H A Ds3c6400.dtsi1 // SPDX-License-Identifier: GPL-2.0
23 valid-mask = <0xfffffe1f>;
24 valid-wakeup-mask = <0x00200004>;
28 valid-mask = <0xffffffff>;
29 valid-wakeup-mask = <0x53020000>;
33 clocks: clock-controller@7e00f000 {
34 compatible = "samsung,s3c6400-clock";
36 #clock-cells = <1>;
H A Ds3c6410.dtsi1 // SPDX-License-Identifier: GPL-2.0
27 valid-mask = <0xffffff7f>;
28 valid-wakeup-mask = <0x00200004>;
32 valid-mask = <0xffffffff>;
33 valid-wakeup-mask = <0x53020000>;
37 clocks: clock-controller@7e00f000 {
38 compatible = "samsung,s3c6410-clock";
40 #clock-cells = <1>;
44 compatible = "samsung,s3c2440-i2c";
46 interrupt-parent = <&vic0>;
[all …]
/linux/arch/arm/mach-pxa/
H A Dmfp-pxa2xx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/mfp-pxa2xx.c
10 * wakeup detection are also supported by the same framework.
13 #include <linux/gpio-pxa.h>
21 #include "pxa2xx-regs.h"
22 #include "mfp-pxa2xx.h"
23 #include "mfp-pxa27x.h"
32 #define BANK_OFF(n) (((n) < 3) ? (n) << 2 : 0x100 + (((n) - 3) << 2))
41 unsigned valid : 1; member
45 unsigned int mask; /* bit mask in PWER or PKWR */ member
[all …]
H A Dpxa3xx.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-pxa/pxa3xx.c
9 * 2007-09-02: eric miao <eric.miao@marvell.com>
13 #include <linux/dma/pxa-dma.h>
17 #include <linux/gpio-pxa.h>
25 #include <linux/platform_data/i2c-pxa.h>
32 #include "pxa3xx-regs.h"
34 #include <linux/platform_data/usb-ohci-pxa27x.h>
36 #include "addr-map.h"
68 * Enter a standby mode (S0D1C2 or S0D2C2). Upon wakeup, the dynamic
[all …]
/linux/drivers/firmware/imx/
H A Dimx-scu-irq.c1 // SPDX-License-Identifier: GPL-2.0+
9 #include <dt-bindings/firmware/imx/rsrc.h>
40 u32 mask; member
47 u32 mask; member
49 bool valid; member
91 if (scu_irq_wakeup[i].mask) { in imx_scu_irq_work_handler()
92 scu_irq_wakeup[i].valid = false; in imx_scu_irq_work_handler()
105 if (scu_irq_wakeup[i].mask & irq_status) { in imx_scu_irq_work_handler()
106 scu_irq_wakeup[i].valid = true; in imx_scu_irq_work_handler()
107 scu_irq_wakeup[i].wakeup_src = irq_status & scu_irq_wakeup[i].mask; in imx_scu_irq_work_handler()
[all …]
/linux/drivers/net/wireless/intel/iwlwifi/fw/api/
H A Dd3.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2024 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
9 #include <iwl-trans.h>
12 * enum iwl_d0i3_flags - d0i3 flags
20 * enum iwl_d3_wakeup_flags - D3 manager wakeup flags
28 * struct iwl_d3_manager_config - D3 manager configuration command
30 * @wakeup_flags: wakeup flags, see &enum iwl_d3_wakeup_flags
31 * @wakeup_host_timer: force wakeup after this many seconds
[all …]
/linux/Documentation/ABI/testing/
H A Dsysfs-class-rc6 The rc/ class sub-directory belongs to the Remote Controller
33 Writing "-proto" will remove a protocol from the list of enabled
51 expected value of the bits set in the filter mask.
63 Sets the scancode filter mask of bits to compare.
66 value. A value of 0 disables the filter to allow all valid
81 for the wakeup filter, something like::
83 "rc-5 nec nec-x rc-6-0 rc-6-6a-24 [rc-6-6a-32] rc-6-mce"
86 "rc-5", "rc-6" have their different bit length encodings
89 The enabled wakeup protocol is shown in [] brackets.
93 Writing "proto" will use "proto" for wakeup events.
[all …]
/linux/drivers/net/ethernet/intel/e1000e/
H A Ddefines.h1 /* SPDX-License-Identifier: GPL-2.0 */
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
11 /* Definitions for power management and wakeup registers */
16 #define E1000_WUC_APMPME 0x00000008 /* Assert PME on APM Wakeup */
17 #define E1000_WUC_PHY_WAKE 0x00000100 /* if PHY supports wakeup */
20 #define E1000_WUFC_LNKC 0x00000001 /* Link Status Change Wakeup Enable */
21 #define E1000_WUFC_MAG 0x00000002 /* Magic Packet Wakeup Enable */
22 #define E1000_WUFC_EX 0x00000004 /* Directed Exact Wakeup Enable */
23 #define E1000_WUFC_MC 0x00000008 /* Directed Multicast Wakeup Enable */
24 #define E1000_WUFC_BC 0x00000010 /* Broadcast Wakeup Enable */
[all …]
/linux/drivers/acpi/
H A Dwakeup.c1 // SPDX-License-Identifier: GPL-2.0
3 * wakeup.c - support wakeup devices
17 bool (*wakeup)(void *context); member
26 * suspend/resume and isn't really required as this is called in S-state. At
31 * acpi_enable_wakeup_devices - Enable wake-up device GPEs.
34 * Enable wakeup device power of devices with the state.enable flag set and set
35 * the wakeup enable mask bits in the GPE registers that correspond to wakeup
44 if (!dev->wakeup.flags.valid in acpi_enable_wakeup_devices()
45 || sleep_state > (u32) dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
46 || !(device_may_wakeup(&dev->dev) in acpi_enable_wakeup_devices()
[all …]
/linux/Documentation/userspace-api/media/rc/
H A Drc-sysfs-nodes.rst1 .. SPDX-License-Identifier: GPL-2.0 OR GFDL-1.1-no-invariants-or-later
9 As defined at ``Documentation/ABI/testing/sysfs-class-rc``, those are
18 The ``/sys/class/rc/`` class sub-directory belongs to the Remote
45 Writing "-proto" will remove a protocol from the list of enabled
64 expected value of the bits set in the filter mask. If the hardware
76 Sets the scancode filter mask of bits to compare. Use in combination
79 filter to allow all valid scancodes to be processed.
93 wakeup filter, something like::
95 rc-5 nec nec-x rc-6-0 rc-6-6a-24 [rc-6-6a-32] rc-6-mce
97 Note that protocol variants are listed, so ``nec``, ``sony``, ``rc-5``, ``rc-6``
[all …]
/linux/arch/x86/platform/olpc/
H A Dolpc-xo1-pm.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * Support for power management features of the OLPC XO-1 laptop
16 #include <linux/olpc-ec.h>
21 #define DRV_NAME "olpc-xo1-pm"
33 /* Set bits in the wakeup mask */
40 /* Clear bits in the wakeup mask */
53 return -EINVAL; in xo1_power_state_enter()
56 * Save SCI mask (this gets lost since PM1_EN is used as a mask for in xo1_power_state_enter()
57 * wakeup events, which is not necessarily the same event set) in xo1_power_state_enter()
67 /* Restore SCI mask (using dword access to CS5536_PM1_EN) */ in xo1_power_state_enter()
[all …]
/linux/Documentation/devicetree/bindings/usb/
H A Dmediatek,mtu3.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
4 ---
6 $schema: http://devicetree.org/meta-schemas/core.yaml#
11 - Chunfeng Yun <chunfeng.yun@mediatek.com>
14 - $ref: usb-drd.yaml
23 - enum:
24 - mediatek,mt2712-mtu3
25 - mediatek,mt8173-mtu3
26 - mediatek,mt8183-mtu3
27 - mediatek,mt8186-mtu3
[all …]
/linux/include/media/
H A Drc-core.h1 /* SPDX-License-Identifier: GPL-2.0-only */
5 * Copyright (C) 2009-2010 by Mauro Carvalho Chehab
16 #include <media/rc-map.h>
19 * enum rc_driver_type - type of the RC driver.
23 * It needs a Infra-Red pulse/space decoder
34 * struct rc_scancode_filter - Filter scan codes.
36 * @mask: Mask of bits of scancode to compare.
40 u32 mask; member
44 * enum rc_filter_type - Filter type constants.
57 * struct lirc_fh - represents an open lirc file
[all …]
/linux/drivers/cpuidle/
H A Ddt_idle_states.c1 // SPDX-License-Identifier: GPL-2.0-only
9 #define pr_fmt(fmt) "DT idle-states: " fmt
32 idle_state->enter = match_id->data; in init_state_node()
38 idle_state->enter_s2idle = match_id->data; in init_state_node()
40 err = of_property_read_u32(state_node, "wakeup-latency-us", in init_state_node()
41 &idle_state->exit_latency); in init_state_node()
45 err = of_property_read_u32(state_node, "entry-latency-us", in init_state_node()
48 pr_debug(" * %pOF missing entry-latency-us property\n", in init_state_node()
50 return -EINVAL; in init_state_node()
53 err = of_property_read_u32(state_node, "exit-latency-us", in init_state_node()
[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 */
114 #define IGC_RAH_AV 0x80000000 /* Receive descriptor valid */
[all …]
/linux/arch/arm/mach-s3c/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0
4 // Copyright 2004-2008 Simtec Electronics
22 #include "regs-clock.h"
23 #include "regs-irq.h"
30 #include "pm-core.h"
36 /* The IRQ ext-int code goes here, it is too small to currently bother
44 unsigned long bit = 1L << IRQ_EINT_BIT(data->irq); in s3c_irqext_wake()
47 return -ENOENT; in s3c_irqext_wake()
50 state ? "enabled" : "disabled", data->irq); in s3c_irqext_wake()
63 #define any_allowed(mask, allow) (((mask) & (allow)) != (allow)) argument
[all …]
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
H A Dfwil_types.h1 // SPDX-License-Identifier: ISC
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: */
92 /* Wakeup on loss of beacon: */
94 /* Wakeup after test: */
96 /* Wakeup after PTK refresh: */
98 /* Wakeup after receipt of EAP-Identity Req: */
[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)
459 /* This defines the bits that are set in the Interrupt Mask
468 /* This defines the bits that are set in the Interrupt Mask
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 */
[all …]
/linux/drivers/net/wireless/ath/ath10k/
H A Dwow.c1 // SPDX-License-Identifier: ISC
3 * Copyright (c) 2015-2017 Qualcomm Atheros, Inc.
15 #include "wmi-ops.h"
27 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup()
31 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup()
33 ath10k_warn(ar, "failed to issue wow wakeup for event %s on vdev %i: %d\n", in ath10k_wow_vif_cleanup()
34 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
39 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup()
40 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup()
43 i, arvif->vdev_id, ret); in ath10k_wow_vif_cleanup()
[all …]
/linux/drivers/net/wireless/quantenna/qtnfmac/
H A Dqlink.h1 /* SPDX-License-Identifier: GPL-2.0+ */
2 /* Copyright (c) 2015-2016 Quantenna Communications. All rights reserved. */
31 * enum qlink_msg_type - QLINK message types
49 * struct qlink_msg_header - common QLINK protocol message header
65 * enum qlink_hw_capab - device capabilities.
68 * @QLINK_HW_CAPAB_STA_INACT_TIMEOUT: device implements a logic to kick-out
91 * enum qlink_driver_capab - host driver capabilities.
108 * struct qlink_intf_info - information on virtual interface.
147 * struct qlink_channel - qlink control channel definition
149 * @hw_value: hardware-specific value for the channel
[all …]
/linux/arch/arm/mach-exynos/
H A Dsuspend.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2011-2014 Samsung Electronics Co., Ltd.
6 // Exynos - Suspend support
8 // Based on arch/arm/mach-s3c2410/pm.c
23 #include <linux/soc/samsung/exynos-pmu.h>
24 #include <linux/soc/samsung/exynos-regs-pmu.h>
27 #include <asm/hardware/cache-l2x0.h>
36 #define REG_TABLE_END (-1U)
41 * struct exynos_wkup_irq - PMU IRQ to mask mapping
43 * @mask: Mask in PMU wake-up mask register
[all …]
/linux/arch/arm/mach-s5pv210/
H A Dpm.c1 // SPDX-License-Identifier: GPL-2.0
3 // Copyright (c) 2010-2014 Samsung Electronics Co., Ltd.
6 // S5PV210 - Power Management support
8 // Based on arch/arm/mach-s3c2410/pm.c
16 #include <linux/soc/samsung/s3c-pm.h>
22 #include "regs-clock.h"
34 * s3c_pm_do_save() - save a set of registers for restoration on resume.
39 * array for later restoration when we wakeup.
43 for (; count > 0; count--, ptr++) { in s3c_pm_do_save()
44 ptr->val = readl_relaxed(ptr->reg); in s3c_pm_do_save()
[all …]
/linux/drivers/net/ethernet/sun/
H A Dsunqe.h1 /* SPDX-License-Identifier: GPL-2.0 */
15 #define GLOB_MSIZE 0x0cUL /* Local-memory Size */
45 /* The following registers are for per-qe channel information/status. */
50 #define CREG_RIMASK 0x10UL /* RX Interrupt Mask */
51 #define CREG_TIMASK 0x14UL /* TX Interrupt Mask */
52 #define CREG_QMASK 0x18UL /* QEC Error Interrupt Mask */
53 #define CREG_MMASK 0x1cUL /* MACE Error Interrupt Mask */
59 #define CREG_PIPG 0x34UL /* Inter-Frame Gap */
64 #define CREG_CTRL_TWAKEUP 0x00000001 /* Transmitter Wakeup, 'go'. */
74 #define CREG_STAT_CCOFLOW 0x00100000 /* TX Coll-counter Overflow */
[all …]

12345678910>>...13