| /linux/Documentation/devicetree/bindings/input/ |
| H A D | azoteq,iqs7222.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 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/drivers/input/mouse/ |
| H A D | trackpoint.h | 1 /* 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 …]
|
| /linux/drivers/platform/x86/intel/ |
| H A D | hid.c | 1 // 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-x86@vger.kernel.org"); 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-x86@vger.kernel.org"); 39 /* When NOT in tablet mode, VGBS returns with the flag 0x40 */ 64 /* 1: LSuper (Page 0x07, usage 0xE3) -- unclear what to do */ 65 /* 2: Toggle SW_ROTATE_LOCK -- easy to implement if seen in wild */ 74 /* 13 has two different meanings in the spec -- ignore it. */ [all …]
|
| H A D | vbtn.c | 1 // 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/scripts/kconfig/ |
| H A D | mconf.c | 1 // 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 <pasky@ucw.cz> 27 #include "mnconf-common.h" 31 "--------\n" 33 "Features can either be built-in, modularized, or ignored. Parameters\n" 40 " - - are selected by other feature,\n" 45 "keys and press <Y> to build it in, <M> to make it a module or\n" 46 "<N> to remove it. You may also press the <Space Bar> to cycle\n" [all …]
|
| H A D | nconf.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include "mnconf-common.h" 24 "------------\n" 31 " of <?> <h>, or if in a data entry window then press <F1>.\n" 35 "------------\n" 37 "build. Kernel features can either be built-in, modularized, or removed.\n" 44 " - - are selected by another feature\n" 50 "listed below and press <y> to build it in, <m> to make it a module or\n" 51 "<n> to remove it. You may press the <Space> key to cycle through the\n" 54 "A trailing \"--->\" designates a submenu, a trailing \"----\" an\n" [all …]
|
| /linux/Documentation/ABI/testing/ |
| H A D | sysfs-bus-i2c-devices-turris-omnia-mcu | 8 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/Documentation/admin-guide/laptops/ |
| H A D | thinkpad-acpi.rst | 9 - Borislav Deianov <borislav@users.sf.net> 10 - Henrique de Moraes Holschuh <hmh@hmh.eng.br> 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/drivers/platform/surface/ |
| H A D | surfacepro3_button.c | 1 // 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/arch/arm/mach-lpc32xx/ |
| H A D | pm.c | 1 // 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/Documentation/input/devices/ |
| H A D | atarikbd.rst | 12 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/sound/soc/codecs/ |
| H A D | wcd-mbhc-v2.c | 1 // 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/Documentation/core-api/ |
| H A D | debugging-via-ohci1394.rst | 2 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/Documentation/admin-guide/ |
| H A D | spkguide.txt | 16 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/drivers/hid/ |
| H A D | hid-saitek.c | 1 // 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 …]
|
| H A D | hid-asus.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * HID driver for Asus notebook built-in keyboard. 12 * This module based on hid-ortek by 29 #include <linux/platform_data/x86/asus-wmi.h> 35 #include "hid-ids.h" 122 unsigned long quirks; 134 unsigned long battery_next_query; 200 struct input_dev *input = drvdat->input; in asus_report_contact_down() 204 y = drvdat->tp->max_y - ((data[0] & CONTACT_Y_MSB_MASK) << 8 | data[2]); in asus_report_contact_down() 209 if (drvdat->tp->contact_size < 5) in asus_report_contact_down() [all …]
|
| /linux/drivers/input/misc/ |
| H A D | iqs7222.c | 1 // 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/drivers/media/pci/saa7134/ |
| H A D | saa7134-input.c | 1 // 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/drivers/input/keyboard/ |
| H A D | mtk-pmic-keys.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 u32 rst_lprst_mask; /* Long-press reset timeout bitmask */ 167 kregs_home = ®s->keys_regs[MTK_PMIC_HOMEKEY_INDEX]; in mtk_pmic_keys_lp_reset_setup() 168 kregs_pwr = ®s->keys_regs[MTK_PMIC_PWRKEY_INDEX]; in mtk_pmic_keys_lp_reset_setup() 170 error = of_property_read_u32(keys->dev->of_node, "power-off-time-sec", in mtk_pmic_keys_lp_reset_setup() 175 mask = regs->rst_lprst_mask; in mtk_pmic_keys_lp_reset_setup() 176 value = long_press_debounce << (ffs(regs->rst_lprst_mask) - 1); in mtk_pmic_keys_lp_reset_setup() 178 error = of_property_read_u32(keys->dev->of_node, in mtk_pmic_keys_lp_reset_setup() 179 "mediatek,long-press-mode", in mtk_pmic_keys_lp_reset_setup() 186 value |= kregs_home->rst_en_mask; in mtk_pmic_keys_lp_reset_setup() [all …]
|
| H A D | sh_keysc.c | 1 // 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/drivers/platform/x86/ |
| H A D | panasonic-laptop.c | 1 // SPDX-License-Identifier: GPL-2.0-only 4 * (C) 2004 Hiroshi Miura <miura@da-cha.org> 8 * (C) 2006-2008 Harald Welte <laforge@gnumonks.org> 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/kernel/ |
| H A D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 57 static unsigned long tainted_mask = 64 unsigned long panic_on_taint; 75 unsigned long panic_print; 96 unsigned long tmptaint = get_taint(); in proc_taint() 100 return -EPERM; in proc_taint() 117 return -EINVAL; in proc_taint() 144 .mode = 0644, 152 .maxlen = sizeof(long), [all …]
|
| /linux/Documentation/input/joydev/ |
| H A D | joystick-api.rst | 1 .. _joystick-api: 7 :Author: Ragnar Hojland Espinosa <ragnar@macula.net> - 7 Aug 1998 18 driver now reports only any changes of its state. See joystick-api.txt, 21 nonblocking mode, and supports select() calls. 38 By default, the device is opened in blocking mode:: 65 ------------- 86 --------------- 108 -------------- 110 For an axis, ``value`` is a signed integer between -32767 and +32767 115 For a button, ``value`` for a press button event is 1 and for a release [all …]
|
| /linux/tools/perf/ui/browsers/ |
| H A D | hists.c | 1 // SPDX-License-Identifier: GPL-2.0 31 #include "../../util/block-info.h" 41 #include "annotate-data.h" 45 #include "time-utils.h" 59 return hists__has_filter(hb->hists) || hb->min_pcnt || symbol_conf.has_filter || hb->c2c_filter; in hist_browser__has_filter() 65 struct hists *hists = browser->hists; in hist_browser__get_folding() 68 for (nd = rb_first_cached(&hists->entries); in hist_browser__get_folding() 69 (nd = hists__filter_entries(nd, browser->min_pcnt)) != NULL; in hist_browser__get_folding() 74 if (he->leaf && he->unfolded) in hist_browser__get_folding() 75 unfolded_rows += he->nr_rows; in hist_browser__get_folding() [all …]
|
| /linux/tools/perf/Documentation/ |
| H A D | perf-amd-ibs.txt | 1 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 …]
|