| /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 60 int event; member 64 * struct dev_pm_ops - device PM callbacks. 71 * registration of a child already in progress), it may return -EAGAIN, so 81 * runtime-suspended and it may be left in that state during the entire 86 * The PM core executes subsystem-level @prepare() for all devices before 104 * The PM core executes subsystem-level @complete() after it has executed 117 * contents of main memory are preserved. The exact action to perform 119 * 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/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/drivers/input/keyboard/ |
| H A D | snvs_pwrkey.c | 1 // 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/arch/powerpc/platforms/pseries/ |
| H A D | papr-hvpipe.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 #define pr_fmt(fmt) "papr-hvpipe: " fmt 17 #include <asm/rtas-work-area.h> 18 #include <asm/papr-sysparm.h> 19 #include <uapi/asm/papr-hvpipe.h> 21 #include "papr-hvpipe.h" 45 * - One hvpipe per partition for all sources. 46 * - Assume the return status of send HVPIPE as delivered to source 47 * - Assume the return status of recv HVPIPE as ACK to source 48 * - Generates HVPIPE event message when the payload is ready [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 - timer migration hierarchy group 23 * @lock: Lock protecting the event information and group hierarchy 32 * pointer several times in the same 'action' (like 36 * @groupevt: Next event of the group which is only used when the 37 * group is !active. The group event is then queued into [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 | 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 45 #define ACPI_EC_FLAG_SCI 0x20 /* EC-SCI occurred */ 55 * host should re-check SCI_EVT after the first time the SCI_EVT 58 * at any later time could indicate another event. Normally such 59 * kind of EC firmware has implemented an event queue and will 60 * return 0x00 to indicate "no outstanding event". 63 * event value in the data register (EC_DATA), the target can safely 65 * event is being handled by the host. The host then should check [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/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/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/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 - 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/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/arch/arm/boot/dts/st/ |
| H A D | stm32h750i-art-pi.dts | 2 * 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 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 …]
|
| /linux/include/uapi/linux/ |
| H A D | nl80211.h | 6 * Copyright 2006-2010 Johannes Berg <johannes@sipsolutions.net> 13 * Copyright 2015-2017 Intel Deutschland GmbH 14 * Copyright (C) 2018-2025 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 * - [all...] |