Home
last modified time | relevance | path

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

12345678

/linux-5.10/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-5.10/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
51 int event; member
55 * struct dev_pm_ops - device PM callbacks.
62 * registration of a child already in progress), it may return -EAGAIN, so
72 * runtime-suspended and it may be left in that state during the entire
77 * The PM core executes subsystem-level @prepare() for all devices before
95 * The PM core executes subsystem-level @complete() after it has executed
108 * contents of main memory are preserved. The exact action to perform
110 * type), but generally the device must be quiescent after subsystem-level
[all …]
/linux-5.10/drivers/net/wireless/marvell/mwifiex/
DREADME1 # Copyright (C) 2011-2014, Marvell International Ltd.
8 # 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
9 # worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
11 # THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
37 Following are some useful iw commands:-
44 iw dev mlan0 connect -w <SSID> [<freq in MHz>] [<bssid>] [key 0:abcde d:1123456789a]
54 iw dev mlan0 ibss join <SSID> <freq in MHz> [fixed-freq] [fixed-bssid] [key 0:abcde]
78 mount -t debugfs debugfs /debugfs
97 bss_mode = "Ad-hoc" | "Managed" | "Auto" | "Unknown"
99 mac_address = <6-byte adapter MAC address>
[all …]
/linux-5.10/drivers/input/keyboard/
Dsnvs_pwrkey.c1 // SPDX-License-Identifier: GPL-2.0+
38 int wakeup; member
47 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events()
50 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events()
53 /* only report new event if status changed */ in imx_imx_snvs_check_for_events()
54 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events()
55 pdata->keystate = state; in imx_imx_snvs_check_for_events()
56 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events()
58 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events()
63 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events()
[all …]
Dgpio_keys.c1 // SPDX-License-Identifier: GPL-2.0-only
30 #include <dt-bindings/input/gpio-keys.h>
40 unsigned int release_delay; /* in msecs, for IRQ-only buttons */
43 unsigned int software_debounce; /* in msecs, for GPIO-driven buttons */
64 * There are 4 attributes under /sys/devices/platform/gpio-keys/
65 * keys [ro] - bitmap of keys (EV_KEY) which can be
67 * switches [ro] - bitmap of switches (EV_SW) which can be
69 * disabled_keys [rw] - bitmap of keys currently disabled
70 * disabled_switches [rw] - bitmap of switches currently disabled
72 * Userland can change these values and hence disable event generation
[all …]
/linux-5.10/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 …]
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-5.10/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-5.10/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-5.10/arch/arm64/boot/dts/nvidia/
Dtegra194-p3509-0000+p3668-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra194-p3668-0000.dtsi"
11 compatible = "nvidia,p3509-0000+p3668-0000", "nvidia,tegra194";
17 dma-controller@2930000 {
21 interrupt-controller@2a40000 {
36 vcc-supply = <&vdd_1v8>;
37 address-width = <8>;
[all …]
Dtegra194-p2972-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra194-p2888.dtsi"
11 compatible = "nvidia,p2972-0000", "nvidia,tegra194";
17 dma-controller@2930000 {
21 interrupt-controller@2a40000 {
32 vcc-supply = <&vdd_1v8ls>;
33 address-width = <8>;
[all …]
Dtegra186-p2771-0000.dts1 // SPDX-License-Identifier: GPL-2.0
2 /dts-v1/;
4 #include <dt-bindings/input/linux-event-codes.h>
5 #include <dt-bindings/input/gpio-keys.h>
7 #include "tegra186-p3310.dtsi"
11 compatible = "nvidia,p2771-0000", "nvidia,tegra186";
14 power-monitor@42 {
17 #address-cells = <1>;
18 #size-cells = <0>;
23 shunt-resistor-micro-ohms = <20000>;
[all …]
/linux-5.10/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-5.10/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 - 2020, 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-5.10/include/uapi/linux/
Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
14 * Copyright (C) 2018-2020 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-5.10/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-5.10/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-5.10/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 * @e: A struct drm_pending_event that controls the event delivery.
62 * @action: A struct vmw_fence_action to hook up to a fence.
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 * @kref: Both @e and @action has destructors, so we need to refcount.
[all …]
/linux-5.10/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-5.10/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-5.10/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-5.10/drivers/net/ethernet/mellanox/mlx5/core/
Den_txrx.c14 * - Redistributions of source code must retain the above
18 * - Redistributions in binary form must reproduce the above
26 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS
28 * ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN
46 idata = irq_desc_get_irq_data(c->irq_desc); in mlx5e_channel_no_affinity_change()
53 struct mlx5e_sq_stats *stats = sq->stats; in mlx5e_handle_tx_dim()
56 if (unlikely(!test_bit(MLX5E_SQ_STATE_AM, &sq->state))) in mlx5e_handle_tx_dim()
59 dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_tx_dim()
60 net_dim(&sq->dim, dim_sample); in mlx5e_handle_tx_dim()
65 struct mlx5e_rq_stats *stats = rq->stats; in mlx5e_handle_rx_dim()
[all …]

12345678