Home
last modified time | relevance | path

Searched +full:wakeup +full:- +full:event +full:- +full:action (Results 1 – 25 of 198) sorted by relevance

12345678

/linux/Documentation/devicetree/bindings/input/
H A Dgpio-keys.yaml1 # SPDX-License-Identifier: GPL-2.0-only
3 ---
4 $id: http://devicetree.org/schemas/input/gpio-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
23 poll-interval: true
26 …"^(button|event|key|switch|(button|event|key|switch)-[a-z0-9-]+|[a-z0-9-]+-(button|event|key|switc…
35 - items:
[all …]
/linux/include/linux/
H A Dgpio_keys.h1 /* SPDX-License-Identifier: GPL-2.0 */
10 * struct gpio_keys_button - configuration parameters
11 * @code: input event code (KEY_*, SW_*)
12 * @gpio: %-1 if this key does not support gpio
16 * @type: input event type (%EV_KEY, %EV_SW, %EV_ABS)
17 * @wakeup: configure the button as a wake-up source
18 * @wakeup_event_action: event action to trigger wakeup
24 * @wakeirq: Optional dedicated wake-up interrupt
32 int wakeup; member
42 * struct gpio_keys_platform_data - platform data for gpio_keys driver
[all …]
/linux/drivers/net/wireless/marvell/mwifiex/
H A DREADME2 # Copyright 2011-2020 NXP
9 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
10 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
12 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
38 Following are some useful iw commands:-
45 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a]
55 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde]
79 mount -t debugfs debugfs /debugfs
98 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown"
100 mac_address = <6-byte adapter MAC address>
[all …]
H A Dcmdevt.c1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2011-2020 NXP
32 cmd_node->priv = priv; in mwifiex_init_cmd_node()
33 cmd_node->cmd_no = cmd_no; in mwifiex_init_cmd_node()
36 cmd_node->wait_q_enabled = true; in mwifiex_init_cmd_node()
37 cmd_node->cmd_wait_q_woken = false; in mwifiex_init_cmd_node()
38 cmd_node->condition = &cmd_node->cmd_wait_q_woken; in mwifiex_init_cmd_node()
40 cmd_node->data_buf = data_buf; in mwifiex_init_cmd_node()
41 cmd_node->cmd_skb = cmd_node->skb; in mwifiex_init_cmd_node()
53 spin_lock_bh(&adapter->cmd_free_q_lock); in mwifiex_get_cmd_node()
[all …]
/linux/arch/arm64/boot/dts/rockchip/
H A Drk3566-pinetab2-v2.0.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 /dts-v1/;
5 #include "rk3566-pinetab2.dtsi"
9 compatible = "pine64,pinetab2-v2.0", "pine64,pinetab2", "rockchip,rk3566";
13 pinctrl-0 = <&kb_id_det>, <&hall_int_l>;
15 event-hall-sensor {
16 debounce-interval = <20>;
20 linux,input-type = <EV_SW>;
21 wakeup-event-action = <EV_ACT_DEASSERTED>;
22 wakeup-source;
[all …]
/linux/arch/arm64/boot/dts/allwinner/
H A Dsun50i-h700-anbernic-rg35xx-sp.dts1 // SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
7 #include <dt-bindings/input/gpio-keys.h>
8 #include "sun50i-h700-anbernic-rg35xx-plus.dts"
12 compatible = "anbernic,rg35xx-sp", "allwinner,sun50i-h700";
14 gpio-keys-lid {
15 compatible = "gpio-keys";
17 lid-switch {
20 linux,can-disable;
22 linux,input-type = <EV_SW>;
23 wakeup-event-action = <EV_ACT_DEASSERTED>;
[all …]
/linux/drivers/input/keyboard/
H A Dsnvs_pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
41 int wakeup; member
51 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events()
54 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events()
57 /* only report new event if status changed */ in imx_imx_snvs_check_for_events()
58 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
59 pdata->keystate = state; in imx_imx_snvs_check_for_events()
60 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events()
62 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events()
67 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events()
[all …]
/linux/scripts/gdb/linux/
H A Dinterrupts.py1 # SPDX-License-Identifier: GPL-2.0
18 return desc['action'] and desc['action'] == gdb.parse_and_eval("&chained_action")
42 if (desc['action'] == 0 or irq_desc_is_chained(desc)) and any_count == 0:
59 name = "-"
69 text += " %-8s" % ("Level" if irqd_is_level(desc) else "Edge")
72 text += "-%-8s" % (desc['name'].string())
77 action = desc['action']
78 if action is not None:
79 text += " %s" % (action['name'].string())
81 action = action['next']
[all …]
/linux/arch/arm/boot/dts/nvidia/
H A Dtegra30-asus-transformer-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/thermal/thermal.h>
8 #include "tegra30-cpu-opp.dtsi"
9 #include "tegra30-cpu-opp-microvolt.dtsi"
12 chassis-type = "convertible";
31 * pre-existing /chosen node to be available to insert the
37 trusted-foundations {
38 compatible = "tlm,trusted-foundations";
[all …]
H A Dtegra30-asus-nexus7-grouper-common.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/gpio-keys.h>
4 #include <dt-bindings/input/input.h>
5 #include <dt-bindings/power/summit,smb347-charger.h>
6 #include <dt-bindings/thermal/thermal.h>
9 #include "tegra30-cpu-opp.dtsi"
10 #include "tegra30-cpu-opp-microvolt.dtsi"
11 #include "tegra30-asus-lvds-display.dtsi"
27 * pre-existing /chosen node to be available to insert the
33 trusted-foundations {
[all …]
H A Dtegra30-lg-p895.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include "tegra30-lg-x3.dtsi"
11 pinctrl-names = "default";
12 pinctrl-0 = <&state_default>;
15 /* GNSS UART-B pinmux */
16 uartb-cts-rxd {
22 nvidia,enable-input = <TEGRA_PIN_ENABLE>;
24 uartb-rts-txd {
30 nvidia,enable-input = <TEGRA_PIN_DISABLE>;
[all …]
/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-nanopi-neo-air.dts4 * This file is dual-licensed: you can use it either under the terms
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 /dts-v1/;
44 #include "sun8i-h3.dtsi"
45 #include "sunxi-common-regulators.dtsi"
47 #include <dt-bindings/gpio/gpio.h>
51 compatible = "friendlyarm,nanopi-neo-air", "allwinner,sun8i-h3";
58 stdout-path = "serial0:115200n8";
62 compatible = "gpio-leds";
[all …]
H A Dsunxi-bananapi-m2-plus.dtsi2 * Copyright (C) 2016 Chen-Yu Tsai <wens@csie.org>
4 * This file is dual-licensed: you can use it either under the terms
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
43 #include "sunxi-common-regulators.dtsi"
45 #include <dt-bindings/gpio/gpio.h>
46 #include <dt-bindings/input/input.h>
56 stdout-path = "serial0:115200n8";
60 compatible = "hdmi-connector";
65 remote-endpoint = <&hdmi_out_con>;
[all …]
H A Dsun8i-h3-nanopi.dtsi5 * This file is dual-licensed: you can use it either under the terms
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 /dts-v1/;
45 #include "sun8i-h3.dtsi"
46 #include "sunxi-common-regulators.dtsi"
48 #include <dt-bindings/gpio/gpio.h>
49 #include <dt-bindings/input/input.h>
57 stdout-path = "serial0:115200n8";
61 compatible = "gpio-leds";
[all …]
/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767.dtsi1 // SPDX-License-Identifier: GPL-2.0
3 #include <dt-bindings/input/linux-event-codes.h>
4 #include <dt-bindings/input/gpio-keys.h>
6 #include "tegra234-p3767.dtsi"
17 stdout-path = "serial0:115200n8";
22 compatible = "nvidia,tegra194-hsuart";
23 reset-names = "serial";
28 compatible = "nvidia,tegra194-hsuart";
29 reset-names = "serial";
41 vcc-supply = <&vdd_1v8_sys>;
[all …]
/linux/arch/arm/boot/dts/nxp/imx/
H A Dimx6ul-litesom.dtsi4 * Author: Marcin Niestroj <m.niestroj@grinn-global.com>
6 * This file is dual-licensed: you can use it either under the terms
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
48 compatible = "grinn,imx6ul-litesom", "fsl,imx6ul";
75 pinctrl-names = "default";
76 pinctrl-0 = <&pinctrl_usdhc2>;
77 no-1-8-v;
78 non-removable;
79 keep-power-in-suspend;
[all …]
H A Dimx6ul-liteboard.dts4 * Author: Marcin Niestroj <m.niestroj@grinn-global.com>
6 * This file is dual-licensed: you can use it either under the terms
37 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
39 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
44 /dts-v1/;
46 #include "imx6ul-litesom.dtsi"
50 compatible = "grinn,imx6ul-liteboard", "grinn,imx6ul-litesom",
54 stdout-path = &uart1;
57 reg_usb_otg1_vbus: regulator-usb-otg1-vbus {
58 compatible = "regulator-fixed";
[all …]
/linux/drivers/acpi/acpica/
H A Devxfgpe.c1 // SPDX-License-Identifier: BSD-3-Clause OR GPL-2.0
4 * Module Name: evxfgpe - External Interfaces for General Purpose Events (GPEs)
6 * Copyright (C) 2000 - 2025, Intel Corp.
32 * generally intended for system or device wakeup. Such GPEs
34 * methods point to them are set up for wakeup signaling.)
83 * PARAMETERS: gpe_device - Parent GPE Device. NULL for GPE0/GPE1 in ACPI_EXPORT_SYMBOL()
84 * gpe_number - GPE level within the GPE block in ACPI_EXPORT_SYMBOL()
89 * hardware-enabled. in ACPI_EXPORT_SYMBOL()
109 if (ACPI_GPE_DISPATCH_TYPE(gpe_event_info->flags) != in ACPI_EXPORT_SYMBOL()
115 /* Poll edge-triggered GPEs to handle existing events */ in ACPI_EXPORT_SYMBOL()
[all …]
/linux/Documentation/admin-guide/pm/
H A Dsuspend-flows.rst1 .. SPDX-License-Identifier: GPL-2.0
12 At least one global system-wide transition needs to be carried out for the
14 :doc:`sleep states <sleep-states>`. Hibernation requires more than one
16 referred to as *system-wide suspend* (or simply *system suspend*) states, need
27 significant differences between the :ref:`suspend-to-idle <s2idle>` code flows
28 and the code flows related to the :ref:`suspend-to-RAM <s2ram>` and
31 The :ref:`suspend-to-RAM <s2ram>` and :ref:`standby <standby>` sleep states
33 boils down to the platform-specific actions carried out by the suspend and
37 *platform-dependent suspend* states in what follows.
42 Suspend-to-idle Suspend Code Flow
[all …]
/linux/include/xen/interface/
H A Dsched.h1 /* SPDX-License-Identifier: MIT */
28 * @arg == Operation-specific extra argument(s), as described below.
29 * ... == Additional Operation-specific extra arguments, described below.
49 * Block execution of this VCPU until an event is received for processing.
50 * If called with event upcalls masked, this operation will atomically
51 * reenable event delivery and check for pending events before blocking the
52 * VCPU. This avoids a "wakeup waiting" race.
62 * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN
73 * Poll a set of event-channel ports. Return when one or more are pending. An
81 * in interpreting shutdown requests and reasons for fully-virtualized
[all …]
/linux/arch/arm/boot/dts/st/
H A Dstm32h750i-art-pi.dts2 * Copyright 2021 - Dillon Min <dillon.minfei@gmail.com>
4 * This file is dual-licensed: you can use it either under the terms
36 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
38 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
42 * For art-pi board resources, you can refer to link:
43 * https://art-pi.gitee.io/website/
46 /dts-v1/;
48 #include "stm32h7-pinctrl.dtsi"
49 #include <dt-bindings/interrupt-controller/irq.h>
50 #include <dt-bindings/gpio/gpio.h>
[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/wireless/ath/ath9k/
H A Dcommon-beacon.c2 * Copyright (c) 2008-2011 Atheros Communications Inc.
10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
13 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
27 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
31 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
37 * handling, programs the sleep registers so the hardware will wakeup in
51 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath9k_cmn_beacon_config_sta()
54 return -EPERM; in ath9k_cmn_beacon_config_sta()
58 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta()
64 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta()
[all …]
/linux/drivers/hwtracing/coresight/
H A Dcoresight-trbe.c1 // SPDX-License-Identifier: GPL-2.0
3 * This driver enables Trace Buffer Extension (TRBE) as a per-cpu coresight
4 * sink device could then pair with an appropriate per-cpu coresight source
23 #include "coresight-self-hosted-trace.h"
24 #include "coresight-trbe.h"
27 ((idx) % ((unsigned long)(buf)->nr_pages << PAGE_SHIFT))
41 * A-Sync, Trace Info, Trace On, Address, Atom.
45 * we hit a "WRAP" event.
83 * a trace session. Thus we need a quicker access to per-CPU
92 * - Not duplicating the detection logic
[all …]
/linux/arch/arm/mach-mvebu/
H A Dpmsu.c1 // SPDX-License-Identifier: GPL-2.0-only
8 * Gregory Clement <gregory.clement@free-electrons.com>
9 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
16 #define pr_fmt(fmt) "mvebu-pmsu: " fmt
25 #include <linux/mvebu-pmsu.h>
104 { .compatible = "marvell,armada-370-pmsu", },
105 { .compatible = "marvell,armada-370-xp-pmsu", },
106 { .compatible = "marvell,armada-380-pmsu", },
130 u32 code_len = mvebu_boot_wa_end - mvebu_boot_wa_start; in mvebu_setup_boot_addr_wa()
139 return -ENOMEM; in mvebu_setup_boot_addr_wa()
[all …]

12345678