/linux/Documentation/devicetree/bindings/input/ |
H A D | gpio-keys.yaml | 1 # 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 D | gpio_keys.h | 1 /* 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 …]
|
H A D | pm.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 3 * pm.h - Power management interface 59 int event; member 63 * struct dev_pm_ops - device PM callbacks. 70 * registration of a child already in progress), it may return -EAGAIN, so 80 * runtime-suspended and it may be left in that state during the entire 85 * The PM core executes subsystem-level @prepare() for all devices before 103 * The PM core executes subsystem-level @complete() after it has executed 116 * contents of main memory are preserved. The exact action to perform 118 * type), but generally the device must be quiescent after subsystem-level [all …]
|
/linux/drivers/net/wireless/marvell/mwifiex/ |
H A D | README | 2 # 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/arch/arm64/boot/dts/rockchip/ |
H A D | rk3566-pinetab2-v2.0.dts | 1 // 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/drivers/input/keyboard/ |
H A D | snvs_pwrkey.c | 1 // 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 D | gpio_keys.c | 1 // 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 */ 69 * There are 4 attributes under /sys/devices/platform/gpio-keys/ 70 * keys [ro] - bitmap of keys (EV_KEY) which can be 72 * switches [ro] - bitmap of switches (EV_SW) which can be 74 * disabled_keys [rw] - bitmap of keys currently disabled 75 * disabled_switches [rw] - bitmap of switches currently disabled 77 * Userland can change these values and hence disable event generation [all …]
|
/linux/arch/arm64/boot/dts/allwinner/ |
H A D | sun50i-h700-anbernic-rg35xx-sp.dts | 1 // 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/kernel/time/ |
H A D | timer_migration.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 9 * struct tmigr_event - a timer event associated to a CPU 10 * @nextevt: The node to enqueue an event in the parent group queue 11 * @cpu: The CPU to which this event belongs 12 * @ignore: Hint whether the event could be ignored; it is set when 22 * struct tmigr_group - time 105 u64 wakeup; global() member [all...] |
/linux/scripts/gdb/linux/ |
H A D | interrupts.py | 1 # 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 D | tegra20-asus-tf101.dts | 1 // SPDX-License-Identifier: GPL-2.0 2 /dts-v1/; 4 #include <dt-bindings/input/atmel-maxtouch.h> 5 #include <dt-bindings/input/gpio-keys.h> 6 #include <dt-bindings/input/input.h> 7 #include <dt-bindings/thermal/thermal.h> 10 #include "tegra20-cpu-opp.dtsi" 11 #include "tegra20-cpu-opp-microvolt.dtsi" 16 chassis-type = "convertible"; 33 * pre-existing /chosen node to be available to insert the [all …]
|
H A D | tegra30-asus-transformer-common.dtsi | 1 // 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 D | tegra30-asus-nexus7-grouper-common.dtsi | 1 // 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 D | tegra30-lg-p895.dts | 1 // 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 D | sun8i-h3-nanopi-neo-air.dts | 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 /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 D | sunxi-bananapi-m2-plus.dtsi | 2 * 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 D | sun8i-h3-nanopi.dtsi | 5 * 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/drivers/acpi/ |
H A D | ec.c | 1 // 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/Documentation/admin-guide/pm/ |
H A D | suspend-flows.rst | 1 .. 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/arch/arm/boot/dts/nxp/imx/ |
H A D | imx6ul-litesom.dtsi | 4 * 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 …]
|
/linux/drivers/acpi/acpica/ |
H A D | evxfgpe.c | 1 // 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 - 2023, 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/arch/arm64/boot/dts/nvidia/ |
H A D | tegra234-p3768-0000+p3767.dtsi | 1 // 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/include/xen/interface/ |
H A D | sched.h | 1 /* 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/drivers/gpu/drm/vmwgfx/ |
H A D | vmwgfx_fence.c | 1 // SPDX-License-Identifier: GPL-2.0 OR MIT 4 * Copyright 2011-2023 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 55 * struct vmw_event_fence_action - fence action that delivers a drm event. 57 * @action: A struct vmw_fence_action to hook up to a fence. 58 * @event: A pointer to the pending event. 59 * @fence: A referenced pointer to the fence to keep it alive while @action 61 * @dev: Pointer to a struct drm_device so we can access the event stuff. 62 * @tv_sec: If non-null, the variable pointed to will be assigned [all …]
|
/linux/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
H A D | fwil_types.h | 1 // 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 …]
|