Home
last modified time | relevance | path

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

12345678910>>...12

/openbmc/linux/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#
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…
42 linux,input-type:
[all …]
/openbmc/linux/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
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 …]
/openbmc/qemu/qapi/
H A Drun-state.json1 # -*- Mode: Python -*-
16 # @finish-migrate: guest is paused to finish the migration process
20 # the end of the migration. This depends on the command-line -S
24 # @internal-error: An internal error that prevents further guest
27 # @io-error: the last IOP has failed and the device is configured to
34 # @prelaunch: QEMU was started with -S and guest has not started
36 # @restore-vm: guest is paused to restore VM state
40 # @save-vm: guest is paused to save the VM state
42 # @shutdown: guest is shut down (and -no-shutdown is in use)
46 # @watchdog: the watchdog action is configured to pause and has been
[all …]
/openbmc/linux/drivers/net/wireless/marvell/mwifiex/
H A DREADME2 # 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 …]
/openbmc/linux/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
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 */
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
[all …]
/openbmc/linux/arch/arm64/boot/dts/nvidia/
H A Dtegra234-p3768-0000+p3767-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 "tegra234-p3767-0000.dtsi"
8 #include "tegra234-p3768-0000.dtsi"
11 compatible = "nvidia,p3768-0000+p3767-0000", "nvidia,p3767-0000", "nvidia,tegra234";
21 stdout-path = "serial0:115200n8";
26 compatible = "nvidia,tegra194-hsuart";
27 reset-names = "serial";
[all …]
H A Dtegra234-p3768-0000.dtsi1 // SPDX-License-Identifier: GPL-2.0
4 compatible = "nvidia,p3768-0000";
11 stdout-path = "serial0:115200n8";
23 vcc-supply = <&vdd_1v8_sys>;
24 address-width = <8>;
27 read-only;
36 assigned-clocks = <&bpmp TEGRA234_CLK_PWM3>;
37 assigned-clock-parents = <&bpmp TEGRA234_CLK_PLLP_OUT0>;
47 usb2-0 {
52 usb2-1 {
[all …]
H A Dtegra234-p3740-0002+p3701-0008.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>
6 #include "tegra234-p3701-0008.dtsi"
7 #include "tegra234-p3740-0002.dtsi"
11 compatible = "nvidia,p3740-0002+p3701-0008", "nvidia,p3701-0008", "nvidia,tegra234";
19 stdout-path = "serial0:115200n8";
24 compatible = "nvidia,tegra194-hsuart";
25 reset-names = "serial";
[all …]
/openbmc/linux/scripts/gdb/linux/
H A Dinterrupts.py1 # 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 …]
/openbmc/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 …]
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";
74 pinctrl-names = "default";
75 pinctrl-0 = <&pinctrl_usdhc2>;
76 no-1-8-v;
77 non-removable;
78 keep-power-in-suspend;
[all …]
/openbmc/linux/arch/arm/boot/dts/nvidia/
H A Dtegra20-asus-tf101.dts1 // 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 Dtegra30-asus-transformer-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/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 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"
11 #include "tegra30-asus-lvds-display.dtsi"
27 * pre-existing /chosen node to be available to insert the
33 trusted-foundations {
[all …]
/openbmc/linux/arch/arm/boot/dts/allwinner/
H A Dsun8i-h3-nanopi-neo-air.dts4 * 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 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 …]
H A Dsun8i-h3-nanopi.dtsi5 * 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 …]
/openbmc/linux/arch/arm/boot/dts/nxp/imx/
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 …]
/openbmc/qemu/include/hw/char/
H A Dserial.h4 * Copyright (c) 2003-2004 Fabrice Bellard
19 * FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL
21 * LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
29 #include "chardev/char-fe.h"
62 bool wakeup; member
/openbmc/linux/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 …]
/openbmc/linux/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 …]
/openbmc/linux/drivers/net/ethernet/mellanox/mlx5/core/
H A 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 return cpumask_test_cpu(current_cpu, c->aff_mask); in mlx5e_channel_no_affinity_change()
51 struct mlx5e_sq_stats *stats = sq->stats; in mlx5e_handle_tx_dim()
54 if (unlikely(!test_bit(MLX5E_SQ_STATE_DIM, &sq->state))) in mlx5e_handle_tx_dim()
57 dim_update_sample(sq->cq.event_ctr, stats->packets, stats->bytes, &dim_sample); in mlx5e_handle_tx_dim()
58 net_dim(&sq->dim, dim_sample); in mlx5e_handle_tx_dim()
63 struct mlx5e_rq_stats *stats = rq->stats; in mlx5e_handle_rx_dim()
[all …]
/openbmc/linux/arch/arm64/boot/dts/mediatek/
H A Dmt8183-kukui-kakadu.dtsi1 // SPDX-License-Identifier: (GPL-2.0 OR MIT)
6 #include "mt8183-kukui.dtsi"
7 #include <dt-bindings/input/gpio-keys.h>
10 ppvarn_lcd: ppvarn-lcd {
11 compatible = "regulator-fixed";
12 regulator-name = "ppvarn_lcd";
13 pinctrl-names = "default";
14 pinctrl-0 = <&ppvarn_lcd_en>;
16 enable-active-high;
21 ppvarp_lcd: ppvarp-lcd {
[all …]

12345678910>>...12