| /kernel/linux/linux-5.10/Documentation/devicetree/bindings/input/ |
| 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# 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 …]
|
| /kernel/linux/linux-4.19/Documentation/devicetree/bindings/input/ |
| D | gpio-keys.txt | 1 Device-Tree bindings for input/keyboard/gpio_keys.c keyboard driver 4 - compatible = "gpio-keys"; 7 - autorepeat: Boolean, Enable auto repeat feature of Linux input 9 - label: String, name of the input device. 11 Each button (key) is represented as a sub-node of "gpio-keys": 14 - gpios: OF device-tree gpio specification. 15 - interrupts: the interrupt line for that input. 16 - label: Descriptive name of the key. 17 - linux,code: Keycode to emit. 22 Optional subnode-properties: [all …]
|
| /kernel/linux/linux-4.19/include/linux/ |
| 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 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
|
| D | pm.h | 2 * pm.h - Power management interface 18 * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA 63 int event; member 67 * struct dev_pm_ops - device PM callbacks. 74 * registration of a child already in progress), it may return -EAGAIN, so 84 * runtime-suspended and it may be left in that state during the entire 89 * The PM core executes subsystem-level @prepare() for all devices before 107 * The PM core executes subsystem-level @complete() after it has executed 120 * contents of main memory are preserved. The exact action to perform 122 * type), but generally the device must be quiescent after subsystem-level [all …]
|
| /kernel/linux/linux-5.10/include/linux/ |
| 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 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
|
| D | pm.h | 1 /* 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 …]
|
| /kernel/linux/linux-5.10/drivers/net/wireless/marvell/mwifiex/ |
| D | README | 1 # 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/marvell/mwifiex/ |
| D | README | 1 # 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 …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| 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 …]
|
| D | gpio_keys.c | 1 // 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 …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/ath/ath10k/ |
| D | wow.c | 2 * Copyright (c) 2015-2017 Qualcomm Atheros, Inc. 11 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR 14 * ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF 25 #include "wmi-ops.h" 37 struct ath10k *ar = arvif->ar; in ath10k_wow_vif_cleanup() 41 ret = ath10k_wmi_wow_add_wakeup_event(ar, arvif->vdev_id, i, 0); in ath10k_wow_vif_cleanup() 43 ath10k_warn(ar, "failed to issue wow wakeup for event %s on vdev %i: %d\n", in ath10k_wow_vif_cleanup() 44 wow_wakeup_event(i), arvif->vdev_id, ret); in ath10k_wow_vif_cleanup() 49 for (i = 0; i < ar->wow.max_num_patterns; i++) { in ath10k_wow_vif_cleanup() 50 ret = ath10k_wmi_wow_del_pattern(ar, arvif->vdev_id, i); in ath10k_wow_vif_cleanup() [all …]
|
| /kernel/linux/linux-4.19/drivers/net/wireless/broadcom/brcm80211/brcmfmac/ |
| D | fwil_types.h | 10 * MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 12 * WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION 13 * OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN 83 #define BRCMF_OBSS_COEX_AUTO (-1) 88 /* Wakeup on Magic packet: */ 90 /* Wakeup on Netpattern */ 92 /* Wakeup on loss-of-link due to Disassoc/Deauth: */ 94 /* Wakeup on retrograde TSF: */ 96 /* Wakeup on loss of beacon: */ 98 /* Wakeup after test: */ [all …]
|
| /kernel/linux/linux-4.19/drivers/input/keyboard/ |
| D | snvs_pwrkey.c | 1 // SPDX-License-Identifier: GPL-2.0+ 36 int wakeup; member 44 struct input_dev *input = pdata->input; in imx_imx_snvs_check_for_events() 47 regmap_read(pdata->snvs, SNVS_HPSR_REG, &state); in imx_imx_snvs_check_for_events() 50 /* only report new event if status changed */ in imx_imx_snvs_check_for_events() 51 if (state ^ pdata->keystate) { in imx_imx_snvs_check_for_events() 52 pdata->keystate = state; in imx_imx_snvs_check_for_events() 53 input_event(input, EV_KEY, pdata->keycode, state); in imx_imx_snvs_check_for_events() 55 pm_relax(pdata->input->dev.parent); in imx_imx_snvs_check_for_events() 60 mod_timer(&pdata->check_timer, in imx_imx_snvs_check_for_events() [all …]
|
| D | gpio_keys.c | 33 #include <dt-bindings/input/gpio-keys.h> 43 unsigned int release_delay; /* in msecs, for IRQ-only buttons */ 46 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 79 * For example, if we have following switches set up as gpio-keys: [all …]
|
| /kernel/linux/linux-4.19/arch/arm/boot/dts/ |
| D | at91sam9260ek.dts | 7 * 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 stdout-path = &dbgu; 62 clock-frequency = <32768>; 66 clock-frequency = <18432000>; 74 compatible = "atmel,tcb-timer"; 79 compatible = "atmel,tcb-timer"; 85 atmel,vbus-gpio = <&pioC 5 GPIO_ACTIVE_HIGH>; [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/arch/arm/boot/dts/ |
| 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" 26 * pre-existing /chosen node to be available to insert the 35 reserved-memory { 36 #address-cells = <1>; [all …]
|
| 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 …]
|
| /kernel/linux/linux-5.10/include/xen/interface/ |
| D | sched.h | 18 * 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 …]
|
| /kernel/linux/linux-4.19/include/xen/interface/ |
| D | sched.h | 18 * 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 …]
|
| /kernel/linux/linux-5.10/Documentation/admin-guide/pm/ |
| 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 …]
|
| /kernel/linux/linux-4.19/include/uapi/linux/ |
| D | nl80211.h | 6 * 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 …]
|
| /kernel/linux/linux-4.19/drivers/acpi/acpica/ |
| 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 - 2018, 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 …]
|
| /kernel/linux/linux-5.10/arch/arm64/boot/dts/nvidia/ |
| D | tegra194-p3509-0000+p3668-0000.dts | 1 // 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 …]
|
| D | tegra194-p2972-0000.dts | 1 // 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 …]
|