Home
last modified time | relevance | path

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

12345678

/Linux-v5.15/Documentation/devicetree/bindings/input/
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#
7 title: Device-Tree bindings for GPIO attached keys
10 - Rob Herring <robh@kernel.org>
15 - gpio-keys
16 - gpio-keys-polled
39 linux,input-type:
41 Specify event type this button/key generates. If not specified defaults to
[all …]
/Linux-v5.15/include/linux/
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
31 int wakeup; member
40 * struct gpio_keys_platform_data - platform data for gpio_keys driver
44 * @poll_interval: polling interval in msecs - for polling driver only
Dpm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pm.h - Power management interface
50 int event; member
54 * struct dev_pm_ops - device PM callbacks.
61 * registration of a child already in progress), it may return -EAGAIN, so
71 * runtime-suspended and it may be left in that state during the entire
76 * The PM core executes subsystem-level @prepare() for all devices before
94 * The PM core executes subsystem-level @complete() after it has executed
107 * contents of main memory are preserved. The exact action to perform
109 * type), but generally the device must be quiescent after subsystem-level
[all …]
/Linux-v5.15/drivers/net/wireless/marvell/mwifiex/
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 …]
/Linux-v5.15/drivers/input/keyboard/
Dsnvs_pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
39 int wakeup; member
48 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events()
51 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events()
54 /* only report new event if status changed */ in imx_imx_snvs_check_for_events()
55 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
56 pdata->keystate = state; in imx_imx_snvs_check_for_events()
57 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events()
59 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events()
64 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events()
[all …]
Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
31 #include <dt-bindings/input/gpio-keys.h>
41 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
45 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
67 * There are 4 attributes under /sys/devices/platform/gpio-keys/
68 * keys [ro] - bitmap of keys (EV_KEY) which can be
70 * switches [ro] - bitmap of switches (EV_SW) which can be
72 * disabled_keys [rw] - bitmap of keys currently disabled
73 * disabled_switches [rw] - bitmap of switches currently disabled
75 * Userland can change these values and hence disable event generation
[all …]
/Linux-v5.15/include/xen/interface/
Dsched.h18 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
20 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45 * @arg == Operation-specific extra argument(s), as described below.
46 * ... == Additional Operation-specific extra arguments, described below.
66 * Block execution of this VCPU until an event is received for processing.
67 * If called with event upcalls masked, this operation will atomically
68 * reenable event delivery and check for pending events before blocking the
69 * VCPU. This avoids a "wakeup waiting" race.
79 * x86 PV guests must also set RDX (EDX for 32-bit guests) to the MFN
90 * Poll a set of event-channel ports. Return when one or more are pending. An
[all …]
/Linux-v5.15/arch/arm/boot/dts/
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"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
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 …]
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 …]
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 …]
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-v5.15/arch/arm64/boot/dts/mediatek/
Dmt8183-kukui-kakadu.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include "mt8183-kukui.dtsi"
7 #include <dt-bindings/input/gpio-keys.h>
10 ppvarn_lcd: ppvarn-lcd {
11 compatible = "regulator-fixed";
12 regulator-name = "ppvarn_lcd";
13 pinctrl-names = "default";
14 pinctrl-0 = <&ppvarn_lcd_en>;
16 enable-active-high;
21 ppvarp_lcd: ppvarp-lcd {
[all …]
/Linux-v5.15/Documentation/admin-guide/pm/
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-v5.15/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h1 // SPDX-License-Identifier: ISC
74 #define BRCMF_OBSS_COEX_AUTO (-1)
79 /* Wakeup on Magic packet: */
81 /* Wakeup on Netpattern */
83 /* Wakeup on loss-of-link due to Disassoc/Deauth: */
85 /* Wakeup on retrograde TSF: */
87 /* Wakeup on loss of beacon: */
89 /* Wakeup after test: */
91 /* Wakeup after PTK refresh: */
93 /* Wakeup after receipt of EAP-Identity Req: */
[all …]
/Linux-v5.15/drivers/acpi/
Dec.c1 // SPDX-License-Identifier: GPL-2.0-or-later
3 * ec.c - ACPI Embedded Controller Driver (v3)
5 * Copyright (C) 2001-2015 Intel Corporation
43 #define ACPI_EC_FLAG_SCI 0x20 /* EC-SCI occurred */
53 * host should re-check SCI_EVT after the first time the SCI_EVT
56 * at any later time could indicate another event. Normally such
57 * kind of EC firmware has implemented an event queue and will
58 * return 0x00 to indicate "no outstanding event".
61 * event value in the data register (EC_DATA), the target can safely
63 * event is being handled by the host. The host then should check
[all …]
/Linux-v5.15/drivers/acpi/acpica/
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 - 2021, 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-v5.15/drivers/net/wireless/intel/iwlwifi/dvm/
Dmac80211.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * Copyright(c) 2003 - 2014 Intel Corporation. All rights reserved.
5 * Copyright (C) 2018 - 2019 Intel Corporation
12 * Intel Corporation, 5200 N.E. Elam Young Parkway, Hillsboro, OR 97124-6497
18 #include <linux/dma-mapping.h>
31 #include "iwl-io.h"
32 #include "iwl-trans.h"
33 #include "iwl-op-mode.h"
34 #include "iwl-modparams.h"
87 struct ieee80211_hw *hw = priv->hw; in iwlagn_mac_setup_register()
[all …]
/Linux-v5.15/drivers/gpu/drm/vmwgfx/
Dvmwgfx_fence.c1 // SPDX-License-Identifier: GPL-2.0 OR MIT
4 * Copyright 2011-2014 VMware, Inc., Palo Alto, CA., USA
20 * FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT. IN NO EVENT SHALL
22 * DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR
59 * struct vmw_event_fence_action - fence action that delivers a drm event.
61 * @action: A struct vmw_fence_action to hook up to a fence.
62 * @event: A pointer to the pending event.
63 * @fence: A referenced pointer to the fence to keep it alive while @action
65 * @dev: Pointer to a struct drm_device so we can access the event stuff.
66 * @tv_sec: If non-null, the variable pointed to will be assigned
[all …]
/Linux-v5.15/drivers/net/wireless/ath/ath9k/
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
26 tsf += TU_TO_USEC(FUDGE + ah->config.sw_beacon_response_time); in ath9k_get_next_tbtt()
30 return (u32) tsf + divisor - offset; in ath9k_get_next_tbtt()
36 * handling, programs the sleep registers so the hardware will wakeup in
50 if (!test_bit(ATH_OP_PRIM_STA_VIF, &common->op_flags)) { in ath9k_cmn_beacon_config_sta()
53 return -EPERM; in ath9k_cmn_beacon_config_sta()
57 conf->intval = conf->beacon_interval; in ath9k_cmn_beacon_config_sta()
63 dtim_intval = conf->intval * conf->dtim_period; in ath9k_cmn_beacon_config_sta()
[all …]
/Linux-v5.15/include/uapi/linux/
Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2021 Intel Corporation
22 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR
25 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF
32 * be careful not to break things - i.e. don't move anything around or so
74 * - a setup station entry is added, not yet authorized, without any rate
76 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
79 * - %NL80211_TDLS_ENABLE_LINK is then used
80 * - after this, the only valid operation is to remove it by tearing down
[all …]
/Linux-v5.15/drivers/ps3/
Dps3-sys-manager.c1 // SPDX-License-Identifier: GPL-2.0-only
22 * ps3_sys_manager - PS3 system manager driver.
24 * The system manager provides an asynchronous system event notification
36 * struct ps3_sys_manager_header - System manager message header.
59 pr_debug("%s:%d: version: %xh\n", func, line, h->version); in _dump_sm_header()
60 pr_debug("%s:%d: size: %xh\n", func, line, h->size); in _dump_sm_header()
61 pr_debug("%s:%d: payload_size: %xh\n", func, line, h->payload_size); in _dump_sm_header()
62 pr_debug("%s:%d: service_id: %xh\n", func, line, h->service_id); in _dump_sm_header()
63 pr_debug("%s:%d: request_tag: %xh\n", func, line, h->request_tag); in _dump_sm_header()
67 * @PS3_SM_RX_MSG_LEN_MIN - Shortest received message length.
[all …]
/Linux-v5.15/arch/arm/mach-mvebu/
Dpmsu.c7 * Gregory Clement <gregory.clement@free-electrons.com>
8 * Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
19 #define pr_fmt(fmt) "mvebu-pmsu: " fmt
28 #include <linux/mvebu-pmsu.h>
107 { .compatible = "marvell,armada-370-pmsu", },
108 { .compatible = "marvell,armada-370-xp-pmsu", },
109 { .compatible = "marvell,armada-380-pmsu", },
133 u32 code_len = mvebu_boot_wa_end - mvebu_boot_wa_start; in mvebu_setup_boot_addr_wa()
142 return -ENOMEM; in mvebu_setup_boot_addr_wa()
154 sram_virt_base + code_len - 4); in mvebu_setup_boot_addr_wa()
[all …]
/Linux-v5.15/Documentation/power/
Dpci.rst13 power management refer to Documentation/driver-api/pm/devices.rst and
27 1.1. Native and Platform-Based Power Management
28 -----------------------------------------------
31 devices into states in which they draw less power (low-power states) at the
34 Usually, a device is put into a low-power state when it is underutilized or
36 again, it has to be put back into the "fully functional" state (full-power
38 as a result of an external event requiring the device to be active, which may
41 PCI devices may be put into low-power states in two ways, by using the device
50 Devices supporting the native PCI PM usually can generate wakeup signals called
53 to put the device that sent it into the full-power state. However, the PCI Bus
[all …]
/Linux-v5.15/Documentation/i2c/
Dslave-interface.rst5 by Wolfram Sang <wsa@sang-engineering.com> in 2014-15
10 example for the latter is the slave-eeprom driver, which acts as a dual memory
16 use a character device, be in-kernel only, or something completely different::
20 +-----------+ v +---------+ v +--------+ v +------------+
21 | Userspace +........+ Backend +-----------+ Driver +-----+ Controller |
22 +-----------+ +---------+ +--------+ +------------+
24 ----------------------------------------------------------------+-- I2C
25 --------------------------------------------------------------+---- Bus
35 them as described in the document 'instantiating-devices'. The only difference
38 instantiating the slave-eeprom driver from userspace at the 7 bit address 0x64
[all …]

12345678