Home
last modified time | relevance | path

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

12345678910

/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/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/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 > dev->wakeup.sleep_state in acpi_enable_wakeup_devices()
46 || !(device_may_wakeup(&dev->dev) in acpi_enable_wakeup_devices()
[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 …]
H A Dphy.c1 // SPDX-License-Identifier: GPL-2.0
2 /* Copyright(c) 1999 - 2018 Intel Corporation. */
37 * e1000e_check_reset_block_generic - Check if PHY reset is blocked
54 * e1000e_get_phy_id - Retrieve the PHY ID and revision
62 struct e1000_phy_info *phy = &hw->phy; in e1000e_get_phy_id()
67 if (!phy->ops.read_reg) in e1000e_get_phy_id()
75 phy->id = (u32)(phy_id << 16); in e1000e_get_phy_id()
81 phy->id |= (u32)(phy_id & PHY_REVISION_MASK); in e1000e_get_phy_id()
82 phy->revision = (u32)(phy_id & ~PHY_REVISION_MASK); in e1000e_get_phy_id()
84 if (phy->id != 0 && phy->id != PHY_REVISION_MASK) in e1000e_get_phy_id()
[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/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/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/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/arch/arm/boot/dts/cirrus/
H A Dep93xx.dtsi1 // SPDX-License-Identifier: GPL-2.0
5 #include <dt-bindings/gpio/gpio.h>
6 #include <dt-bindings/leds/common.h>
7 #include <dt-bindings/input/input.h>
8 #include <dt-bindings/clock/cirrus,ep9301-syscon.h>
11 compatible = "simple-bus";
13 #address-cells = <1>;
14 #size-cells = <1>;
17 compatible = "cirrus,ep9301-syscon", "syscon";
20 #clock-cells = <1>;
[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/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/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-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/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/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 …]
/linux/drivers/input/keyboard/
H A Dtc3589x-keypad.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * Copyright (C) ST-Ericsson SA 2010
34 #define TC3589x_IO_PULL_VAL(index, mask) ((mask)<<((index)%4)*2) argument
53 /* KBDMFS register bit mask */
59 /* RSTINTCLR register bit mask */
73 * struct tc3589x_keypad_platform_data - platform specific keypad data
75 * @krow: mask for available rows, value is 0xFF
76 * @kcol: mask for available columns, value is 0xFF
95 * struct tc_keypad - data structure used by keypad driver
117 struct tc3589x *tc3589x = keypad->tc3589x; in tc3589x_keypad_init_key_hardware()
[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 */
102 /* Same mask, but for extended and packet split descriptors */
[all …]

12345678910