Home
last modified time | relevance | path

Searched +full:key +full:- +full:wakeup (Results 1 – 25 of 533) sorted by relevance

12345678910>>...22

/linux-6.8/Documentation/devicetree/bindings/input/
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…
35 - items:
[all …]
Dsamsung-keypad.txt3 Samsung's Keypad controller is used to interface a SoC with a matrix-type
5 A key can be placed at each intersection of a unique row and a unique column.
6 The keypad controller can sense a key-press and key-release and report the
10 - compatible: should be one of the following
11 - "samsung,s3c6410-keypad": For controllers compatible with s3c6410 keypad
13 - "samsung,s5pv210-keypad": For controllers compatible with s5pv210 keypad
16 - reg: physical base address of the controller and length of memory mapped
19 - interrupts: The interrupt number to the cpu.
22 - samsung,keypad-num-rows: Number of row lines connected to the keypad
25 - samsung,keypad-num-columns: Number of column lines connected to the
[all …]
Dqcom,pm8921-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/qcom,pm8921-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
13 - $ref: input.yaml#
14 - $ref: matrix-keymap.yaml#
19 - qcom,pm8058-keypad
20 - qcom,pm8921-keypad
27 - description: key sense
[all …]
Dgpio-matrix-keypad.txt4 The matrix keypad supports multiple row and column lines, a key can be
6 keypad can sense a key-press and key-release by means of GPIO lines and
10 - compatible: Should be "gpio-matrix-keypad"
11 - row-gpios: List of gpios used as row lines. The gpio specifier
14 - col-gpios: List of gpios used as column lines. The gpio specifier
17 - linux,keymap: The definition can be found at
18 bindings/input/matrix-keymap.txt
21 - linux,no-autorepeat: do no enable autorepeat feature.
22 - wakeup-source: use any event on keypad as wakeup event.
23 (Legacy property supported: "linux,wakeup")
[all …]
Dmicrochip,qt1050.txt1 Microchip AT42QT1050 Five-channel Touch Sensor IC
11 - compatible: Must be "microchip,qt1050"
12 - reg: The I2C address of the device
13 - interrupts: The sink for the touchpad's IRQ output,
14 see ../interrupt-controller/interrupts.txt
17 - wakeup-source: touch keys can be used as a wakeup source
19 Each button (key) is represented as a sub-node:
21 Each not specified key or key with linux,code set to KEY_RESERVED gets disabled
25 - linux,code: Keycode to emit.
26 - reg: The key number. Valid values: 0, 1, 2, 3, 4.
[all …]
Dnvidia,tegra20-kbc.txt2 The key controller has maximum 24 pins to make matrix keypad. Any pin
7 - compatible: "nvidia,tegra20-kbc"
8 - reg: Register base address of KBC.
9 - interrupts: Interrupt number for the KBC.
10 - nvidia,kbc-row-pins: The KBC pins which are configured as row. This is an
12 - nvidia,kbc-col-pins: The KBC pins which are configured as column. This is an
14 - linux,keymap: The keymap for keys as described in the binding document
15 devicetree/bindings/input/matrix-keymap.txt.
16 - clocks: Must contain one entry, for the module clock.
17 See ../clocks/clock-bindings.txt for details.
[all …]
Dmediatek,mt6779-keypad.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,mt6779-keypad.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Mattijs Korpershoek <mkorpershoek@baylibre.com>
13 - $ref: /schemas/input/matrix-keymap.yaml#
16 Mediatek's Keypad controller is used to interface a SoC with a matrix-type
18 A key can be placed at each intersection of a unique row and a unique column.
19 The keypad controller can sense a key-press and key-release and report the
25 - const: mediatek,mt6779-keypad
[all …]
/linux-6.8/drivers/net/wireless/intel/iwlwifi/fw/api/
Dd3.h1 /* SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause */
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2014 Intel Mobile Communications GmbH
5 * Copyright (C) 2015-2017 Intel Deutschland GmbH
9 #include <iwl-trans.h>
12 * enum iwl_d0i3_flags - d0i3 flags
20 * enum iwl_d3_wakeup_flags - D3 manager wakeup flags
28 * struct iwl_d3_manager_config - D3 manager configuration command
30 * @wakeup_flags: wakeup flags, see &enum iwl_d3_wakeup_flags
31 * @wakeup_host_timer: force wakeup after this many seconds
[all …]
/linux-6.8/kernel/sched/
Dwait.c1 // SPDX-License-Identifier: GPL-2.0-only
8 …_init_waitqueue_head(struct wait_queue_head *wq_head, const char *name, struct lock_class_key *key) in __init_waitqueue_head() argument
10 spin_lock_init(&wq_head->lock); in __init_waitqueue_head()
11 lockdep_set_class_and_name(&wq_head->lock, key, name); in __init_waitqueue_head()
12 INIT_LIST_HEAD(&wq_head->head); in __init_waitqueue_head()
21 wq_entry->flags &= ~WQ_FLAG_EXCLUSIVE; in add_wait_queue()
22 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue()
24 spin_unlock_irqrestore(&wq_head->lock, flags); in add_wait_queue()
32 wq_entry->flags |= WQ_FLAG_EXCLUSIVE; in add_wait_queue_exclusive()
33 spin_lock_irqsave(&wq_head->lock, flags); in add_wait_queue_exclusive()
[all …]
/linux-6.8/arch/arm64/boot/dts/exynos/
Dexynosautov9-sadk.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
16 compatible = "samsung,exynosautov9-sadk", "samsung,exynosautov9";
18 #address-cells = <2>;
19 #size-cells = <2>;
26 stdout-path = &serial_0;
36 gpio-keys {
37 compatible = "gpio-keys";
[all …]
Dexynosautov920-sadk.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include "exynos-pinctrl.h"
12 #include <dt-bindings/gpio/gpio.h>
13 #include <dt-bindings/input/input.h>
17 compatible = "samsung,exynosautov920-sadk", "samsung,exynosautov920";
19 #address-cells = <2>;
20 #size-cells = <2>;
27 stdout-path = &serial_0;
30 gpio-keys {
[all …]
/linux-6.8/kernel/futex/
Drequeue.c1 // SPDX-License-Identifier: GPL-2.0-or-later
26 * Q_REQUEUE_PI_NONE -> Q_REQUEUE_PI_IGNORE
27 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_WAIT
30 * Q_REQUEUE_PI_NONE -> Q_REQUEUE_PI_INPROGRESS
31 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_DONE/LOCKED
32 * Q_REQUEUE_PI_IN_PROGRESS -> Q_REQUEUE_PI_NONE (requeue failed)
33 * Q_REQUEUE_PI_WAIT -> Q_REQUEUE_PI_DONE/LOCKED
34 * Q_REQUEUE_PI_WAIT -> Q_REQUEUE_PI_IGNORE (requeue failed)
40 * The waiter side signals early wakeup to the requeue side either through
44 * which means the wakeup is interleaving with a requeue in progress it has
[all …]
Dwaitwake.c1 // SPDX-License-Identifier: GPL-2.0-or-later
64 * smp_mb(); (A) <-- paired with -.
73 * `--------> smp_mb(); (B)
80 * waiters--; (b) unlock(hash_bucket(futex));
104 * acquiring the lock. It then decrements them again after releasing it -
112 if (WARN(q->pi_state || q->rt_waiter, "refusing to wake PI futex\n")) in __futex_wake_mark()
117 * The waiting task can free the futex_q as soon as q->lock_ptr = NULL in __futex_wake_mark()
119 * of a spurious wakeup, for example. A memory barrier is required here in __futex_wake_mark()
123 smp_store_release(&q->lock_ptr, NULL); in __futex_wake_mark()
136 struct task_struct *p = q->task; in futex_wake_mark()
[all …]
/linux-6.8/drivers/net/wireless/intel/iwlwifi/mvm/
Dd3.c1 // SPDX-License-Identifier: GPL-2.0 OR BSD-3-Clause
3 * Copyright (C) 2012-2014, 2018-2023 Intel Corporation
4 * Copyright (C) 2013-2015 Intel Mobile Communications GmbH
5 * Copyright (C) 2016-2017 Intel Deutschland GmbH
14 #include "iwl-modparams.h"
15 #include "fw-api.h"
26 mutex_lock(&mvm->mutex); in iwl_mvm_set_rekey_data()
28 mvmvif->rekey_data.kek_len = data->kek_len; in iwl_mvm_set_rekey_data()
29 mvmvif->rekey_data.kck_len = data->kck_len; in iwl_mvm_set_rekey_data()
30 memcpy(mvmvif->rekey_data.kek, data->kek, data->kek_len); in iwl_mvm_set_rekey_data()
[all …]
/linux-6.8/drivers/net/wireless/broadcom/brcm80211/brcmfmac/
Dfwil_types.h1 // SPDX-License-Identifier: ISC
70 /* primary (ie tx) key */
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: */
[all …]
/linux-6.8/arch/arm/boot/dts/nxp/imx/
Dimx6q-var-dt6customboard.dts1 // SPDX-License-Identifier: (GPL-2.0+ OR MIT)
3 * Support for Variscite DART-MX6 Carrier-board
9 /dts-v1/;
12 #include "imx6qdl-var-dart.dtsi"
13 #include <dt-bindings/input/linux-event-codes.h>
16 model = "Variscite DART-MX6 Carrier-board";
20 compatible = "pwm-backlight";
22 brightness-levels = <0 4 8 16 32 64 128 248>;
23 default-brightness-level = <7>;
27 gpio-keys {
[all …]
Dimx53-ard.dts1 // SPDX-License-Identifier: GPL-2.0-or-later
7 /dts-v1/;
8 #include <dt-bindings/input/input.h>
13 compatible = "fsl,imx53-ard", "fsl,imx53";
20 eim-cs1@f4000000 {
21 #address-cells = <1>;
22 #size-cells = <1>;
23 compatible = "fsl,eim-bus", "simple-bus";
30 phy-mode = "mii";
31 interrupt-parent = <&gpio2>;
[all …]
/linux-6.8/arch/arm/boot/dts/renesas/
Dr8a7793-gose.dts1 // SPDX-License-Identifier: GPL-2.0
5 * Copyright (C) 2014-2015 Renesas Electronics Corporation
9 * SSI-AK4643
36 /dts-v1/;
38 #include <dt-bindings/gpio/gpio.h>
39 #include <dt-bindings/input/input.h>
59 stdout-path = "serial0:115200n8";
68 compatible = "gpio-keys";
70 pinctrl-0 = <&keyboard_pins>;
71 pinctrl-names = "default";
[all …]
Dr8a7792-blanche.dts1 // SPDX-License-Identifier: GPL-2.0
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
25 stdout-path = "serial0:115200n8";
33 d1_8v: regulator-1v8 {
34 compatible = "regulator-fixed";
35 regulator-name = "D1.8V";
36 regulator-min-microvolt = <1800000>;
37 regulator-max-microvolt = <1800000>;
[all …]
Dr8a7791-koelsch.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2013-2014 Renesas Solutions Corp.
11 * SSI-AK4643
38 /dts-v1/;
40 #include <dt-bindings/gpio/gpio.h>
41 #include <dt-bindings/input/input.h>
63 stdout-path = "serial0:115200n8";
77 compatible = "gpio-keys";
79 pinctrl-0 = <&keyboard_pins>;
80 pinctrl-names = "default";
[all …]
Dr8a7794-silk.dts1 // SPDX-License-Identifier: GPL-2.0
6 * Copyright (C) 2014-2015 Renesas Solutions Corp.
7 * Copyright (C) 2014-2015 Cogent Embedded, Inc.
11 * SSI-AK4643
13 * SW1: 2-1: AK4643
14 * 2-3: ADV7511
21 /dts-v1/;
23 #include <dt-bindings/gpio/gpio.h>
24 #include <dt-bindings/input/input.h>
40 stdout-path = "serial0:115200n8";
[all …]
/linux-6.8/include/linux/input/
Dmatrix_keypad.h1 /* SPDX-License-Identifier: GPL-2.0 */
13 #define KEY(row, col, val) ((((row) & (MATRIX_MAX_ROWS - 1)) << 24) |\ macro
14 (((col) & (MATRIX_MAX_COLS - 1)) << 16) |\
24 * struct matrix_keymap_data - keymap for matrix keyboards
25 * @keymap: pointer to array of uint32 values encoded with KEY() macro
30 * keymaps to drivers that implement matrix-like keypads/keyboards.
38 * struct matrix_keypad_platform_data - platform-dependent keypad data
51 * @wakeup: controls whether the device should be set up as wakeup
53 * @no_autorepeat: disable key autorepeat
57 * This structure represents platform-specific data that use used by
[all …]
/linux-6.8/drivers/input/keyboard/
Dmt6779-keypad.c1 // SPDX-License-Identifier: GPL-2.0
16 #define MTK_KPD_NAME "mt6779-keypad"
36 void (*calc_row_col)(unsigned int key,
51 const unsigned short *keycode = keypad->input_dev->keycode; in mt6779_keypad_irq_handler()
54 unsigned int bit_nr, key; in mt6779_keypad_irq_handler() local
57 unsigned int row_shift = get_count_order(keypad->n_cols); in mt6779_keypad_irq_handler()
60 regmap_bulk_read(keypad->regmap, MTK_KPD_MEM, in mt6779_keypad_irq_handler()
63 bitmap_xor(change, new_state, keypad->keymap_state, MTK_KPD_NUM_BITS); in mt6779_keypad_irq_handler()
68 * indicate key status. in mt6779_keypad_irq_handler()
73 key = bit_nr / 32 * 16 + bit_nr % 32; in mt6779_keypad_irq_handler()
[all …]
/linux-6.8/arch/arm64/boot/dts/exynos/google/
Dgs101-oriole.dts1 // SPDX-License-Identifier: GPL-2.0-only
5 * Copyright 2021-2023 Google LLC
6 * Copyright 2023 Linaro Ltd - <peter.griffin@linaro.org>
9 /dts-v1/;
11 #include <dt-bindings/gpio/gpio.h>
12 #include <dt-bindings/input/input.h>
13 #include "gs101-pinctrl.h"
18 compatible = "google,gs101-oriole", "google,gs101";
27 stdout-path = &serial_0;
30 gpio-keys {
[all …]
/linux-6.8/arch/arm/mach-omap1/
Dboard-nokia770.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * linux/arch/arm/mach-omap1/board-nokia770.c
5 * Modified from board-generic.c
24 #include <linux/platform_data/keypad-omap.h>
25 #include <linux/platform_data/lcd-mipid.h>
26 #include <linux/platform_data/gpio-omap.h>
28 #include <asm/mach-types.h>
44 .name = "gpio-0-15",
48 .name = "gpio-16-31",
61 KEY(1, 0, GROUP_0 | KEY_UP),
[all …]

12345678910>>...22