Home
last modified time | relevance | path

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

12345678910>>...17

/OK3568_Linux_fs/kernel/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#
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 …]
/OK3568_Linux_fs/kernel/drivers/base/power/
H A Dwakeup.c1 // SPDX-License-Identifier: GPL-2.0
3 * drivers/base/power/wakeup.c - System wakeup events framework
35 * if wakeup events are registered during or immediately before the transition.
39 /* First wakeup IRQ seen by the kernel in the last cycle. */
47 * Combined counters of registered wakeup events and wakeup events in progress.
54 #define MAX_IN_PROGRESS ((1 << IN_PROGRESS_BITS) - 1)
85 * wakeup_source_create - Create a struct wakeup_source object.
86 * @name: Name of the new wakeup source.
101 ws->name = ws_name; in wakeup_source_create()
106 ws->id = id; in wakeup_source_create()
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/marvell/mwifiex/
H A 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 …]
/OK3568_Linux_fs/kernel/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
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
H A Dpm.h1 /* SPDX-License-Identifier: GPL-2.0-or-later */
3 * pm.h - Power management interface
52 int event; member
56 * struct dev_pm_ops - device PM callbacks.
63 * registration of a child already in progress), it may return -EAGAIN, so
73 * runtime-suspended and it may be left in that state during the entire
78 * The PM core executes subsystem-level @prepare() for all devices before
96 * The PM core executes subsystem-level @complete() after it has executed
109 * contents of main memory are preserved. The exact action to perform
111 * type), but generally the device must be quiescent after subsystem-level
[all …]
/OK3568_Linux_fs/kernel/drivers/input/keyboard/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/rockchip_wlan/mvl88w8977/mlan/
H A Dmlan_fw.h7 * Copyright (C) 2008-2017, Marvell International Ltd.
14 * 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA or on the
15 * worldwide web at http://www.gnu.org/licenses/old-licenses/gpl-2.0.txt.
17 * THE FILE IS DISTRIBUTED AS-IS, WITHOUT WARRANTY OF ANY KIND, AND THE
119 (_adapter->fw_cap_info & FW_MULTI_BANDS_SUPPORT)
122 ((_adapter->fw_cap_info >> 8) & ALL_802_11_BANDS)
134 /** Firmware wakeup method : Unchanged */
136 /** Firmware wakeup method : Through interface */
138 /** Firmware wakeup method : Through GPIO*/
278 #define CAL_SNR(RSSI, NF) ((t_s16)((t_s16)(RSSI) - (t_s16)(NF)))
[all …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/nxp/
H A DREADME_MLAN4 Copyright 2008-2022 NXP
31 uap_oper_ctrl: uAP operation control when in-STA disconnect with ext-AP
33 For example, to install multi-chip driver,
36 …wifi_mod_para.conf is used to support multi-chips which has different load module parameters. It c…
107 pcie_int_mode=0|1|2 <Legacy mode, MSI mode (default), MSI-X mode>
114 expected PA current is expected to be in the 80-90 mA range for b/g/n modes
117 indication_gpio=0xXY <GPIO to indicate wakeup source and its level; high four bits X:
118 level(0/1) for normal wakeup; low four bits Y: GPIO pin number. This parameter
120 …hs_wake_interval=<Host sleep wakeup interval,it will round to nearest multiple dtim*beacon_period …
122 …hs_mimo_switch=0|1 <Disable dynamic MIMO-SISO switch during host sleep (default) | Enable dynamic …
[all …]
/OK3568_Linux_fs/u-boot/arch/arm/dts/
H A Dat91sam9260ek.dts7 * This file is dual-licensed: you can use it either under the terms
39 * NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT
41 * WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING
45 /dts-v1/;
53 u-boot,dm-pre-reloc;
54 stdout-path = &dbgu;
63 clock-frequency = <32768>;
67 clock-frequency = <18432000>;
74 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>;
79 pinctrl-0 = <
[all …]
/OK3568_Linux_fs/kernel/arch/arm/boot/dts/
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"
26 * pre-existing /chosen node to be available to insert the
35 reserved-memory {
36 #address-cells = <1>;
[all …]
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 …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/aarch64/gcc-arm-10.3-2021.07-x86_64-aarch64-none-linux-gnu/aarch64-none-linux-gnu/libc/usr/include/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
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
69 * - a setup station entry is added, not yet authorized, without any rate
71 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
74 * - %NL80211_TDLS_ENABLE_LINK is then used
75 * - after this, the only valid operation is to remove it by tearing down
87 * certain classes of action frames that cannot be handled in the kernel
[all …]
/OK3568_Linux_fs/prebuilts/gcc/linux-x86/arm/gcc-arm-10.3-2021.07-x86_64-arm-none-linux-gnueabihf/arm-none-linux-gnueabihf/libc/usr/include/linux/
H A Dnl80211.h6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
13 * Copyright 2015-2017 Intel Deutschland GmbH
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
69 * - a setup station entry is added, not yet authorized, without any rate
71 * - when the TDLS setup is done, a single NL80211_CMD_SET_STATION is valid
74 * - %NL80211_TDLS_ENABLE_LINK is then used
75 * - after this, the only valid operation is to remove it by tearing down
87 * certain classes of action frames that cannot be handled in the kernel
[all …]
/OK3568_Linux_fs/kernel/include/xen/interface/
H A 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 …]
/OK3568_Linux_fs/kernel/include/uapi/linux/
H A 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 …]
/OK3568_Linux_fs/kernel/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 - 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 …]
/OK3568_Linux_fs/kernel/drivers/acpi/
H A 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 …]
/OK3568_Linux_fs/kernel/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 …]
/OK3568_Linux_fs/kernel/drivers/net/wireless/intel/iwlwifi/dvm/
H A 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 …]
/OK3568_Linux_fs/kernel/arch/arm64/boot/dts/nvidia/
H A 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 …]
H A 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 …]
/OK3568_Linux_fs/external/xserver/hw/xfree86/os-support/linux/
H A Dlnx_apm.c3 #include <xorg-config.h>
69 * This depends if wakeup gets called in this situation, too.
70 * Also we need to check if the action that is taken on an
71 * event is reasonable.
79 if ((n = read(fd, linuxEvents, num * sizeof(apm_event_t))) == -1) in lnxPMGetEventFromOs()
97 lnxPMConfirmEventToOs(int fd, pmEvent event) in lnxPMConfirmEventToOs() argument
99 switch (event) { in lnxPMConfirmEventToOs()
165 if ((fd = open(APM_DEVICE, O_RDWR)) > -1) { in lnxAPMOpen()
166 if (access(APM_PROC, R_OK) || ((pfd = open(APM_PROC, O_RDONLY)) == -1)) { in lnxAPMOpen()
/OK3568_Linux_fs/external/xserver/hw/xfree86/drivers/modesetting/
H A Ddriver.h19 * MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NON-INFRINGEMENT.
20 * IN NO EVENT SHALL TUNGSTEN GRAPHICS AND/OR ITS SUPPLIERS BE LIABLE FOR
21 * ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
71 … fd_wakeup_registered; /* server generation for which fd has been registered for wakeup handling */
83 * A tracked handler for an event that will hopefully be generated by
141 #define modesettingPTR(p) ((modesettingPtr)((p)->driverPrivate))
190 void *event,
199 void *event,
/OK3568_Linux_fs/kernel/include/net/
H A Dcfg80211.h1 /* SPDX-License-Identifier: GPL-2.0-only */
7 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net>
8 * Copyright 2013-2014 Intel Mobile Communications GmbH
9 * Copyright 2015-2017 Intel Deutschland GmbH
10 * Copyright (C) 2018-2020 Intel Corporation
70 * enum ieee80211_channel_flags - channel flags
141 * struct ieee80211_channel - channel definition
148 * @hw_value: hardware-specific value for the channel
184 * enum ieee80211_rate_flags - rate flags
217 * enum ieee80211_bss_type - BSS type filter
[all …]

12345678910>>...17