| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/ |
| 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 …]
|
| /kernel/linux/linux-6.6/Documentation/devicetree/bindings/input/touchscreen/ |
| D | azoteq,iqs7211.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> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
| /kernel/linux/linux-6.6/sound/soc/codecs/ |
| 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" 53 /* Delayed work to report long button press */ 72 /* Holds type of Headset - Mono/Stereo */ 74 /* Holds mbhc detection method - ADC/Legacy */ 81 if (!mbhc->fields[field].reg) in wcd_mbhc_write_field() 84 return snd_soc_component_write_field(mbhc->component, in wcd_mbhc_write_field() 85 mbhc->fields[field].reg, in wcd_mbhc_write_field() 86 mbhc->fields[field].mask, val); in wcd_mbhc_write_field() [all …]
|
| D | cs42l43-jack.c | 1 // SPDX-License-Identifier: GPL-2.0 5 // Copyright (C) 2022-2023 Cirrus Logic, Inc. and 14 #include <linux/mfd/cs42l43-regs.h> 21 #include <sound/soc-component.h> 44 struct cs42l43 *cs42l43 = priv->core; in cs42l43_find_index() 47 ret = device_property_read_u32(cs42l43->dev, prop, &defval); in cs42l43_find_index() 48 if (ret != -EINVAL && ret < 0) { in cs42l43_find_index() 49 dev_err(priv->dev, "Property %s malformed: %d\n", prop, ret); in cs42l43_find_index() 60 dev_err(priv->dev, "Invalid value for property %s: %d\n", prop, defval); in cs42l43_find_index() 61 return -EINVAL; in cs42l43_find_index() [all …]
|
| D | nau8825.c | 1 // SPDX-License-Identifier: GPL-2.0-only 8 * Co-author: Meng-Huang Kuo <mhkuo@nuvoton.com> 35 #define NUVOTON_CODEC_DAI "nau8825-hifi" 223 * nau8825_sema_acquire - acquire the semaphore of nau88l25 225 * @timeout: how long in jiffies to wait before failure or zero to wait 233 * this function returns -ETIME. If the sleep is interrupted by a signal, 234 * this function will return -EINTR. It returns 0 if the semaphore was 241 static int nau8825_sema_acquire(struct nau8825 *nau8825, long timeout) in nau8825_sema_acquire() argument 245 if (timeout) { in nau8825_sema_acquire() 246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/pci/saa7134/ |
| 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 …]
|
| /kernel/linux/linux-5.10/drivers/media/pci/saa7134/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/input/misc/ |
| 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 …]
|
| /kernel/linux/linux-6.6/drivers/iio/pressure/ |
| D | mprls0025pa.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * MPRLS0025PA - Honeywell MicroPressure pressure sensor series driver 5 * Copyright (c) Andreas Klinger <ak@it-klinger.de> 8 * https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/ 9 * products/sensors/pressure-sensors/board-mount-pressure-sensors/ 10 * micropressure-mpr-series/documents/ 11 * sps-siot-mpr-series-datasheet-32332628-ciid-172626.pdf 13 * 7-bit I2C default slave address: 0x18 46 * pressure = (press_cnt - outputmin) * scale + pmin 48 * * pressure - measured pressure in Pascal [all …]
|
| /kernel/linux/linux-6.6/arch/arm/boot/dts/st/ |
| D | ste-href-tvk1281618-r3.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 #include <dt-bindings/interrupt-controller/irq.h> 8 #include <dt-bindings/input/input.h> 12 compatible = "gpio-keys"; 13 #address-cells = <1>; 14 #size-cells = <0>; 15 vdd-supply = <&ab8500_ldo_aux1_reg>; 16 pinctrl-names = "default"; 17 pinctrl-0 = <&hall_tvk_mode>; 32 interrupt-parent = <&gpio2>; [all …]
|
| /kernel/linux/linux-6.6/drivers/input/keyboard/ |
| D | nomadik-ske-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 22 #include <linux/platform_data/keypad-nomadik-ske.h> 54 * struct ske_keypad - data structure used by keypad driver 80 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() 82 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits() 85 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits() 87 spin_unlock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() [all …]
|
| D | twl4030_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips 8 * Code re-written for 2430SDP by: 27 * events, since it uses only the always-on 32KiHz oscillator, and has 29 * multi-key combinations. 59 /*----------------------------------------------------------------------*/ 100 #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << ((prescale) + 1)) - 1) 123 /*----------------------------------------------------------------------*/ 131 dev_warn(kp->dbg_dev, in twl4030_kpread() 132 "Couldn't read TWL4030: %X - ret %d[%x]\n", in twl4030_kpread() [all …]
|
| /kernel/linux/linux-5.10/drivers/input/keyboard/ |
| D | nomadik-ske-keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2010 5 * Author: Naveen Kumar G <naveen.gaddipati@stericsson.com> for ST-Ericsson 6 * Author: Sundar Iyer <sundar.iyer@stericsson.com> for ST-Ericsson 22 #include <linux/platform_data/keypad-nomadik-ske.h> 54 * struct ske_keypad - data structure used by keypad driver 78 spin_lock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() 80 ret = readl(keypad->reg_base + addr); in ske_keypad_set_bits() 83 writel(ret, keypad->reg_base + addr); in ske_keypad_set_bits() 85 spin_unlock(&keypad->ske_keypad_lock); in ske_keypad_set_bits() [all …]
|
| D | twl4030_keypad.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * twl4030_keypad.c - driver for 8x8 keypad controller in twl4030 chips 8 * Code re-written for 2430SDP by: 27 * events, since it uses only the always-on 32KiHz oscillator, and has 29 * multi-key combinations. 59 /*----------------------------------------------------------------------*/ 100 #define KEYP_PERIOD_US(t, prescale) ((t) / (31 << ((prescale) + 1)) - 1) 123 /*----------------------------------------------------------------------*/ 131 dev_warn(kp->dbg_dev, in twl4030_kpread() 132 "Couldn't read TWL4030: %X - ret %d[%x]\n", in twl4030_kpread() [all …]
|
| /kernel/linux/linux-6.6/drivers/input/touchscreen/ |
| D | iqs7211.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 52 * The following delay is used during instances that must wait for the open- 124 .name = "event-prox", 131 .name = "event-touch", 138 .name = "event-tap", 145 .name = "event-hold", 152 .name = "event-swipe-x-neg", 159 .name = "event-swipe-x-pos", 166 .name = "event-swipe-y-pos", 173 .name = "event-swipe-y-neg", [all …]
|
| /kernel/linux/linux-6.6/kernel/ |
| D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 137 /* Returns how long it waited in ms */ 142 * Stop ourself in panic -- architecture code may override this 163 * per-CPU features such as virtualization extensions. 246 * and then performs the secondary CPUs shutdown - we cannot have 269 * panic - halt the system 305 * It's possible to come here directly from a panic-assertion and in panic() 331 if (len && buf[len - 1] == '\n') in panic() 332 buf[len - 1] = '\0'; in panic() [all …]
|
| /kernel/linux/linux-5.10/kernel/ |
| D | panic.c | 1 // SPDX-License-Identifier: GPL-2.0-only 9 * This function is used through-out the kernel (including mm and fs) 132 /* Returns how long it waited in ms */ 137 * Stop ourself in panic -- architecture code may override this 158 * per-CPU features such as virtualization extensions. 237 * panic - halt the system 273 * It's possible to come here directly from a panic-assertion and in panic() 299 if (len && buf[len - 1] == '\n') in panic() 300 buf[len - 1] = '\0'; in panic() 302 pr_emerg("Kernel panic - not syncing: %s\n", buf); in panic() [all …]
|
| /kernel/linux/linux-6.6/drivers/media/rc/ |
| D | rc-main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-main.c - Remote Controller core module 4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab 8 #include <media/rc-core.h> 18 #include "rc-core-priv.h" 31 [RC_PROTO_RC5] = { .name = "rc-5", 33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20", 35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz", 39 [RC_PROTO_SONY12] = { .name = "sony-12", 41 [RC_PROTO_SONY15] = { .name = "sony-15", [all …]
|
| /kernel/linux/linux-5.10/drivers/media/rc/ |
| D | rc-main.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-main.c - Remote Controller core module 4 // Copyright (C) 2009-2010 by Mauro Carvalho Chehab 8 #include <media/rc-core.h> 18 #include "rc-core-priv.h" 31 [RC_PROTO_RC5] = { .name = "rc-5", 33 [RC_PROTO_RC5X_20] = { .name = "rc-5x-20", 35 [RC_PROTO_RC5_SZ] = { .name = "rc-5-sz", 39 [RC_PROTO_SONY12] = { .name = "sony-12", 41 [RC_PROTO_SONY15] = { .name = "sony-15", [all …]
|
| /kernel/linux/linux-6.6/drivers/input/mouse/ |
| D | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 53 /* Time in jiffies used to timeout various touch events (64 ms) */ 59 * Swipe gesture from off-pad to on-pad 67 * 1 - 8 : least to most delay 114 * 1 - 7 : least to most sensitive 135 * 1 - 5 : slowest to fastest 147 * 0 - 7 : smallest to largest width 152 * 0 - 9 : smallest to largest height 156 * Disregard palm press as clicks [all …]
|
| /kernel/linux/linux-5.10/drivers/input/mouse/ |
| D | byd.c | 1 // SPDX-License-Identifier: GPL-2.0-only 38 * Absolute coordinate packets are in the range 0-255 for both X and Y 53 /* Time in jiffies used to timeout various touch events (64 ms) */ 59 * Swipe gesture from off-pad to on-pad 67 * 1 - 8 : least to most delay 114 * 1 - 7 : least to most sensitive 135 * 1 - 5 : slowest to fastest 147 * 0 - 7 : smallest to largest width 152 * 0 - 9 : smallest to largest height 156 * Disregard palm press as clicks [all …]
|
| /kernel/linux/linux-6.6/drivers/tty/ |
| D | sysrq.c | 1 // SPDX-License-Identifier: GPL-2.0 68 * sysrq_mask - Getter for sysrq_enabled mask. 103 u8 loglevel = key - '0'; in sysrq_handle_loglevel() 111 .help_msg = "loglevel(0-9)", 196 .help_msg = "show-all-timers(q)", 219 .help_msg = "show-all-locks(d)", 278 .help_msg = "show-backtrace-all-active-cpus(l)", 298 .help_msg = "show-registers(p)", 310 .help_msg = "show-task-states(t)", 321 .help_msg = "show-blocked-tasks(w)", [all …]
|
| /kernel/linux/linux-5.10/drivers/tty/ |
| D | sysrq.c | 1 // SPDX-License-Identifier: GPL-2.0 68 * sysrq_mask - Getter for sysrq_enabled mask. 105 i = key - '0'; in sysrq_handle_loglevel() 112 .help_msg = "loglevel(0-9)", 196 .help_msg = "show-all-timers(q)", 219 .help_msg = "show-all-locks(d)", 278 .help_msg = "show-backtrace-all-active-cpus(l)", 296 .help_msg = "show-registers(p)", 308 .help_msg = "show-task-states(t)", 319 .help_msg = "show-blocked-tasks(w)", [all …]
|
| /kernel/linux/linux-6.6/drivers/misc/bcm-vk/ |
| D | bcm_vk_dev.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright 2018-2020 Broadcom. 7 #include <linux/dma-mapping.h> 49 {VK_IMAGE_TYPE_BOOT1, {"vk_a0-boot1.bin", "vk-boot1.bin"}}, 50 {VK_IMAGE_TYPE_BOOT2, {"vk_a0-boot2.bin", "vk-boot2.bin"}} 53 {VK_IMAGE_TYPE_BOOT1, {"vk_b0-boot1.bin", "vk-boot1.bin"}}, 54 {VK_IMAGE_TYPE_BOOT2, {"vk_b0-boot2.bin", "vk-boot2.bin"}} 58 {VK_IMAGE_TYPE_BOOT1, {"vp-boot1.bin", ""}}, 59 {VK_IMAGE_TYPE_BOOT2, {"vp-boot2.bin", ""}} 67 /* Allow minimum 1s for Load Image timeout responses */ [all …]
|
| /kernel/linux/linux-5.10/drivers/hid/ |
| D | hid-logitech-hidpp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (c) 2012-2013 Google (c) 7 * Copyright (c) 2013-2014 Red Hat Inc. 25 #include <linux/fixp-arith.h> 28 #include "hid-ids.h" 37 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently)."); 78 /* Convenience constant to check for any high-res support. */ 116 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; 122 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; 151 * struct hidpp_scroll_counter - Utility class for processing high-resolution [all …]
|