Home
last modified time | relevance | path

Searched +full:long +full:- +full:press +full:- +full:mode (Results 1 – 25 of 89) sorted by relevance

1234

/linux-6.14.4/Documentation/devicetree/bindings/input/
Dmediatek,pmic-keys.yaml1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause)
3 ---
4 $id: http://devicetree.org/schemas/input/mediatek,pmic-keys.yaml#
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Chen Zhong <[email protected]>
13 - $ref: input.yaml#
19 by the PMIC that is defined as a Multi-Function Device (MFD).
27 - mediatek,mt6323-keys
28 - mediatek,mt6328-keys
29 - mediatek,mt6331-keys
[all …]
Dazoteq,iqs7222.yaml1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause)
3 ---
5 $schema: http://devicetree.org/meta-schemas/core.yaml#
10 - Jeff LaBundy <[email protected]>
21 - azoteq,iqs7222a
22 - azoteq,iqs7222b
23 - azoteq,iqs7222c
24 - azoteq,iqs7222d
29 irq-gpios:
32 Specifies the GPIO connected to the device's active-low RDY output.
[all …]
/linux-6.14.4/drivers/input/mouse/
Dtrackpoint.h1 /* SPDX-License-Identifier: GPL-2.0-only */
47 * Mode manipulation
49 #define TP_SET_SOFT_TRANS 0x4E /* Set mode */
50 #define TP_CANCEL_SOFT_TRANS 0xB9 /* Cancel mode */
51 #define TP_SET_HARD_TRANS 0x45 /* Mode can only be set */
67 #define TP_REACH 0x57 /* Backup for Z-axis press */
70 /* with Z-axis pressed) */
75 #define TP_THRESH 0x5C /* Minimum value for a Z-axis press */
76 #define TP_UP_THRESH 0x5A /* Used to generate a 'click' on Z-axis */
77 #define TP_Z_TIME 0x5E /* How sharp of a press */
[all …]
Dsynaptics.h1 /* SPDX-License-Identifier: GPL-2.0-only */
61 * ---- ---- ------- ------------
67 * 1 0x10 clickpad bit 0 1-button ClickPad
68 * 1 0x60 multifinger mode identifies firmware finger counting
72 * 2 0x01 clickpad bit 1 2-button ClickPad
84 #define SYN_CAP_CLICKPAD(ex0c) ((ex0c) & BIT(20)) /* 1-button ClickPad */
85 #define SYN_CAP_CLICKPAD2BTN(ex0c) ((ex0c) & BIT(8)) /* 2-button ClickPad */
97 * ---- ---- ------- ------------
100 * by the tracktick (pass-through).
102 * contains a built-in fingerprint reader.
[all …]
/linux-6.14.4/drivers/platform/x86/intel/
Dhid.c1 // SPDX-License-Identifier: GPL-2.0+
12 #include <linux/input/sparse-keymap.h>
21 TABLET_SW_AUTO = -1,
31 "If you need this please report this to: platform-driver-[email protected]");
36 "Enable SW_TABLET_MODE reporting -1:auto 0:off 1:at-first-event 2:at-probe. "
37 "If you need this please report this to: platform-driver-[email protected]");
39 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
62 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */
63 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */
72 /* 13 has two different meanings in the spec -- ignore it. */
[all …]
Dvbtn.c1 // SPDX-License-Identifier: GPL-2.0+
13 #include <linux/input/sparse-keymap.h>
21 /* Returned when NOT in tablet mode on some HP Stream x360 11 models */
23 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */
41 { KE_KEY, 0xC0, { KEY_POWER } }, /* power key press */
43 { KE_KEY, 0xC2, { KEY_LEFTMETA } }, /* 'Windows' key press */
45 { KE_KEY, 0xC4, { KEY_VOLUMEUP } }, /* volume-up key press */
46 { KE_IGNORE, 0xC5, { KEY_VOLUMEUP } }, /* volume-up key release */
47 { KE_KEY, 0xC6, { KEY_VOLUMEDOWN } }, /* volume-down key press */
48 { KE_IGNORE, 0xC7, { KEY_VOLUMEDOWN } }, /* volume-down key release */
[all …]
/linux-6.14.4/scripts/kconfig/
Dmconf.c1 // SPDX-License-Identifier: GPL-2.0
3 * Copyright (C) 2002 Roman Zippel <zippel@linux-m68k.org>
5 * Introduced single menu mode (show all sub-menus in one large tree).
6 * 2002-11-06 Petr Baudis <[email protected]>
26 #include "mnconf-common.h"
30 "--------\n"
32 "Features can either be built-in, modularized, or ignored. Parameters\n"
39 " - - are selected by other feature,\n"
44 "keys and press <Y> to build it in, <M> to make it a module or\n"
45 "<N> to remove it. You may also press the <Space Bar> to cycle\n"
[all …]
Dnconf.c1 // SPDX-License-Identifier: GPL-2.0
17 #include "mnconf-common.h"
23 "------------\n"
30 " of <?> <h>, or if in a data entry window then press <F1>.\n"
34 "------------\n"
36 "build. Kernel features can either be built-in, modularized, or removed.\n"
43 " - - are selected by another feature\n"
49 "listed below and press <y> to build it in, <m> to make it a module or\n"
50 "<n> to remove it. You may press the <Space> key to cycle through the\n"
53 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n"
[all …]
/linux-6.14.4/Documentation/ABI/testing/
Dsysfs-bus-i2c-devices-turris-omnia-mcu8 revisions have board information burned in the ATSHA204-A chip).
21 revisions have board information burned in the ATSHA204-A chip).
31 front panel, or to send the press event to the CPU as an
35 - ``mcu`` makes the button press event be handled by the MCU to
37 - ``cpu`` makes the button press event be handled by the CPU.
47 low power mode. The router can be powered on by pressing the
98 how long the rear reset button was held by the user during board
107 Description: (RO) Contains the 64-bit board serial number in hexadecimal
111 revisions have board information burned in the ATSHA204-A chip).
/linux-6.14.4/Documentation/admin-guide/laptops/
Dthinkpad-acpi.rst9 - Borislav Deianov <[email protected]>
10 - Henrique de Moraes Holschuh <[email protected]>
12 http://ibm-acpi.sf.net/
19 This driver used to be named ibm-acpi until kernel 2.6.21 and release
20 0.13-20070314. It used to be in the drivers/acpi tree, but it was
21 moved to the drivers/misc tree and renamed to thinkpad-acpi for kernel
25 The driver is named "thinkpad-acpi". In some places, like module
29 "tpacpi" is used as a shorthand where "thinkpad-acpi" would be too
30 long due to length limitations on some Linux kernel versions.
33 ------
[all …]
/linux-6.14.4/drivers/platform/surface/
Dsurfacepro3_button.c1 // SPDX-License-Identifier: GPL-2.0-only
70 unsigned long pushed;
82 /* Power button press,release handle */ in surface_button_notify()
89 /* Home button press,release handle */ in surface_button_notify()
96 /* Volume up button press,release handle */ in surface_button_notify()
103 /* Volume down button press,release handle */ in surface_button_notify()
111 dev_warn_once(&device->dev, "Tablet mode is not supported\n"); in surface_button_notify()
114 dev_info_ratelimited(&device->dev, in surface_button_notify()
118 input = button->input; in surface_button_notify()
122 pm_wakeup_dev_event(&device->dev, 0, button->suspended); in surface_button_notify()
[all …]
/linux-6.14.4/arch/arm/mach-lpc32xx/
Dpm.c1 // SPDX-License-Identifier: GPL-2.0-only
3 * arch/arm/mach-lpc32xx/pm.c
15 * direct-run, and halt modes. When switching between halt and run modes,
16 * the CPU transistions through direct-run mode. For Linux, direct-run
17 * mode is not used in normal operation. Halt mode is used when the
20 * Run mode:
23 * the HCLK_PLL rate. Linux runs in this mode.
25 * Direct-run mode:
28 * source or the frequency of the main oscillator. In this mode, the
31 * Halt mode:
[all …]
/linux-6.14.4/Documentation/input/devices/
Datarikbd.rst12 provides a convenient connection point for a mouse and switch-type joysticks.
13 The ikbd processor also maintains a time-of-day clock with one second
18 The ikbd communicates with the main processor over a high speed bi-directional
28 keyboard scan codes for each key press and release. The key scan make (key
41 0xF8-0xFB relative mouse position records (lsbs determined by
43 0xFC time-of-day
49 The two shift keys return different scan codes in this mode. The ENTER key
67 ---------------------------
69 In relative position mode, the ikbd will return relative mouse position
81 (regardless of keyboard mode)::
[all …]
/linux-6.14.4/sound/soc/codecs/
Dwcd-mbhc-v2.c1 // SPDX-License-Identifier: GPL-2.0-only
2 // Copyright (c) 2015-2021, The Linux Foundation. All rights reserved.
14 #include "wcd-mbhc-v2.h"
54 /* Delayed work to report long button press */
72 unsigned long event_state;
73 unsigned long jiffies_atreport;
76 /* Holds type of Headset - Mono/Stereo */
78 /* Holds mbhc detection method - ADC/Legacy */
85 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field()
88 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field()
[all …]
/linux-6.14.4/Documentation/core-api/
Ddebugging-via-ohci1394.rst2 Using physical DMA provided by OHCI-1394 FireWire controllers for debugging
6 ------------
9 to the OHCI-1394 specification which defines the controller to be a PCI
12 PCI-Bus master DMA after applying filters defined by the OHCI-1394 driver.
15 ask the OHCI-1394 controller to perform read and write requests on
28 hardware such as x86, x86-64 and PowerPC.
34 Together with a early initialization of the OHCI-1394 controller for debugging,
35 this facility proved most useful for examining long debugs logs in the printk
41 -------
43 The firewire-ohci driver in drivers/firewire uses filtered physical
[all …]
/linux-6.14.4/drivers/hid/
Dhid-saitek.c1 // SPDX-License-Identifier: GPL-2.0-or-later
6 * Fixes the HID report descriptor by removing a non-existent axis and
7 * clearing the constant bit on the input reports for buttons and d-pad.
8 * (This module is based on "hid-ortek".)
12 * Fixes the mode button which cycles through three constantly pressed
13 * buttons. All three press events are mapped to one button and the
25 #include "hid-ids.h"
32 unsigned long quirks;
33 int mode; member
39 unsigned long quirks = id->driver_data; in saitek_probe()
[all …]
/linux-6.14.4/Documentation/admin-guide/
Dspkguide.txt16 Invariant Sections, no Front-Cover Texts, and no Back-Cover Texts. A
25 http://linux-speakup.org/. Speakup is a set of patches to the standard
72 acntsa -- Accent SA
73 acntpc -- Accent PC
74 apollo -- Apollo
75 audptr -- Audapter
76 bns -- Braille 'n Speak
77 dectlk -- DecTalk Express (old and new, db9 serial only)
78 decext -- DecTalk (old) External
79 dtlk -- DoubleTalk PC
[all …]
/linux-6.14.4/drivers/input/misc/
Diqs7222.c1 // SPDX-License-Identifier: GPL-2.0-or-later
116 [IQS7222_REG_GRP_CYCLE] = "cycle-%d",
117 [IQS7222_REG_GRP_CHAN] = "channel-%d",
118 [IQS7222_REG_GRP_SLDR] = "slider-%d",
120 [IQS7222_REG_GRP_GPIO] = "gpio-%d",
150 .name = "event-prox",
155 .name = "event-touch",
162 { .name = "event-press", },
164 .name = "event-tap",
171 .name = "event-swipe-pos",
[all …]
/linux-6.14.4/drivers/media/pci/saa7134/
Dsaa7134-input.c1 // SPDX-License-Identifier: GPL-2.0-or-later
8 #include "saa7134-reg.h"
36 printk(KERN_DEBUG pr_fmt("ir %s: " fmt), ir->rc->device_name, \
43 /* -------------------- GPIO generic keycode builder -------------------- */
47 struct saa7134_card_ir *ir = dev->remote; in build_key()
51 switch (dev->board) { in build_key()
62 if (ir->polling) { in build_key()
63 if (ir->last_gpio == gpio) in build_key()
65 ir->last_gpio = gpio; in build_key()
68 data = ir_extract_bits(gpio, ir->mask_keycode); in build_key()
[all …]
/linux-6.14.4/drivers/input/keyboard/
Dmtk-pmic-keys.c1 // SPDX-License-Identifier: GPL-2.0-only
56 u32 rst_lprst_mask; /* Long-press reset timeout bitmask */
150 kregs_home = keys->keys[MTK_PMIC_HOMEKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
151 kregs_pwr = keys->keys[MTK_PMIC_PWRKEY_INDEX].regs; in mtk_pmic_keys_lp_reset_setup()
153 error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec", in mtk_pmic_keys_lp_reset_setup()
158 mask = regs->rst_lprst_mask; in mtk_pmic_keys_lp_reset_setup()
159 value = long_press_debounce << (ffs(regs->rst_lprst_mask) - 1); in mtk_pmic_keys_lp_reset_setup()
161 error = of_property_read_u32(keys->dev->of_node, in mtk_pmic_keys_lp_reset_setup()
162 "mediatek,long-press-mode", in mtk_pmic_keys_lp_reset_setup()
169 value |= kregs_home->rst_en_mask; in mtk_pmic_keys_lp_reset_setup()
[all …]
Dsh_keysc.c1 // SPDX-License-Identifier: GPL-2.0-only
49 static unsigned long sh_keysc_read(struct sh_keysc_priv *p, int reg_nr) in sh_keysc_read()
51 return ioread16(p->iomem_base + (reg_nr << 2)); in sh_keysc_read()
55 unsigned long value) in sh_keysc_write()
57 iowrite16(value, p->iomem_base + (reg_nr << 2)); in sh_keysc_write()
61 unsigned long keys_set) in sh_keysc_level_mode()
63 struct sh_keysc_info *pdata = &p->pdata; in sh_keysc_level_mode()
68 if (pdata->kycr2_delay) in sh_keysc_level_mode()
69 udelay(pdata->kycr2_delay); in sh_keysc_level_mode()
72 static void sh_keysc_map_dbg(struct device *dev, unsigned long *map, in sh_keysc_map_dbg()
[all …]
/linux-6.14.4/tools/testing/selftests/timers/
Dleap-a-day.c9 * kernel's leap-second behavior, as well as how well applications
10 * handle the leap-second discontinuity.
12 * Usage: leap-a-day [-s] [-i <num>]
15 * -s: Each iteration, set the date to 10 seconds before midnight GMT.
21 * -i: Number of iterations to run (default: infinite)
27 * $ gcc leap-a-day.c -o leap-a-day -lrt
71 struct timespec timespec_add(struct timespec ts, unsigned long long ns) in timespec_add()
75 ts.tv_nsec -= NSEC_PER_SEC; in timespec_add()
103 * -stable), had an issue with the state machine in clear_time_state()
123 /* Make sure we cleanup on ctrl-c */
[all …]
/linux-6.14.4/drivers/platform/x86/
Dpanasonic-laptop.c1 // SPDX-License-Identifier: GPL-2.0-only
4 * (C) 2004 Hiroshi Miura <miura@da-cha.org>
8 * (C) 2006-2008 Harald Welte <[email protected]>
10 * derived from toshiba_acpi.c, Copyright (C) 2002-2004 John Belmonte
12 *---------------------------------------------------------------------------
16 * -v0.98 add platform devices for firmware brightness registers
17 * add support for battery charging threshold (eco mode)
25 * -v0.97 add support for cdpower hardware switch
26 * -v0.96 merge Lucina's enhancement
28 * - add support for optical driver power in
[all …]
/linux-6.14.4/arch/powerpc/platforms/ps3/
Dsetup.c1 // SPDX-License-Identifier: GPL-2.0-only
34 /* mutex synchronizing GPU accesses and video mode changes */
56 return (ps3_firmware_version.raw > x.raw) - in ps3_compare_firmware_version()
103 printk(" Please press POWER button.\n"); in ps3_panic()
115 if (!p->size) in prealloc()
118 p->address = memblock_alloc_or_panic(p->size, p->align); in prealloc()
120 printk(KERN_INFO "%s: %lu bytes at %p\n", p->name, p->size, in prealloc()
121 p->address); in prealloc()
172 static int ps3_set_dabr(unsigned long dabr, unsigned long dabrx) in ps3_set_dabr()
180 return lv1_set_dabr(dabr, dabrx) ? -1 : 0; in ps3_set_dabr()
[all …]
/linux-6.14.4/tools/perf/Documentation/
Dperf-amd-ibs.txt1 perf-amd-ibs(1)
5 ----
6 perf-amd-ibs - Support for AMD Instruction-Based Sampling (IBS) with perf tool
9 --------
11 'perf record' -e ibs_op//
12 'perf record' -e ibs_fetch//
15 -----------
17 Instruction-Based Sampling (IBS) provides precise Instruction Pointer (IP)
20 execution (micro-op execution to be precise) with details like d-cache
21 hit/miss, d-TLB hit/miss, cache miss latency, load/store data source, branch
[all …]

1234