/linux/Documentation/devicetree/bindings/mfd/ |
H A D | rohm,bd71847-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd71847-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <mazziesaccount@gmail.com> 14 single-core, dual-core, and quad-core SoCs such as NXP-i.MX 8M. It is 18 …/www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applica… 19 …//www.rohm.com/products/power-management/power-management-ic-for-system/industrial-consumer-applic… 24 - rohm,bd71847 25 - rohm,bd71850 [all …]
|
/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/Documentation/devicetree/bindings/sound/ |
H A D | cirrus,cs42l42.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - patches@opensource.cirrus.com 13 The CS42L42 is a low-power audio codec designed for portable applications. 14 It provides a high-dynamic range, stereo DAC for audio playback and a mono 15 high-dynamic-range ADC for audio capture. There is an integrated headset 21 - cirrus,cs42l42 22 - cirrus,cs42l83 29 VP-supply: [all …]
|
/linux/drivers/mfd/ |
H A D | rohm-bd718x7.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 8 // https://www.rohm.com/datasheet/BD71837MWV/bd71837mwv-e 14 #include <linux/mfd/rohm-bd718x7.h> 23 .gpio = -1, 30 .name = "bd718xx-pwrkey", 35 .name = "gpio-keys", 39 { .name = "bd71837-clk", }, 40 { .name = "bd71837-pmic", }, 45 .name = "gpio-keys", 49 { .name = "bd71847-clk", }, [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/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 …]
|
H A 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() 246 ret = down_timeout(&nau8825->xtalk_sem, timeout); in nau8825_sema_acquire() 248 dev_warn(nau8825->dev, "Acquire semaphore timeout\n"); in nau8825_sema_acquire() [all …]
|
/linux/drivers/input/mouse/ |
H A D | trackpoint.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 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 */ 79 #define TP_DRIFT_TIME 0x5F /* How long a 'hands off' condition */ 80 /* must last (x*107ms) for drift */ 96 #define TP_TOGGLE_PTSON 0x2C /* Press to Select */
|
H A D | hgpk.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * OLPC HGPK (XO-1) touchpad PS/2 mouse driver 5 * Copyright (c) 2006-2008 One Laptop Per Child 13 * Copyright (c) 2003-2005 Peter Osterlund <petero2@telia.com> 56 "delay (ms) before recal after jumpiness detected"); 61 "delay (ms) before recal after packet spew detected"); 66 "interval (ms) during which recal will be restarted if packet received"); 71 "delay (ms) before recal after recal interrupt detected"); 126 struct hgpk_data *priv = psmouse->private; in hgpk_discard_decay_hack() 135 (avx > recalib_delta / 2 && ((avx / 4) > priv->xlast))) { in hgpk_discard_decay_hack() [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/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/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 67 --------------------------- 92 +127...-128 range, the motion is broken into multiple packets. 97 --------------------------- 104 --------------------- [all …]
|
/linux/drivers/iio/pressure/ |
H A 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 …-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/bo… 45 * pressure = (press_cnt - outputmin) * scale + pmin 47 * * pressure - measured pressure in Pascal 48 * * press_cnt - raw value read from sensor 49 * * pmin - minimum pressure range value of sensor (data->pmin) 50 * * pmax - maximum pressure range value of sensor (data->pmax) 51 * * outputmin - minimum numerical range raw value delivered by sensor [all …]
|
/linux/drivers/power/reset/ |
H A D | ltc2952-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Maintainer: René Moll <linux@r-moll.nl> 8 * ---------------------------------------- 9 * - Description 10 * ---------------------------------------- 18 * ---------------------------------------- 19 * - GPIO 20 * ---------------------------------------- 23 * - trigger (input) 24 * A level change indicates the shut-down trigger. If it's state reverts [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) 56 static unsigned long tainted_mask = 63 unsigned long panic_on_taint; 80 unsigned long panic_print; 135 static long no_blink(int state) in no_blink() 140 /* Returns how long i [all...] |
/linux/drivers/platform/x86/amd/pmf/ |
H A D | tee-if.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * AMD Platform Management Framework Driver - TEE Interface 8 * Author: Shyam Sundar S K <Shyam-sundar.S-k@amd.com> 18 /* Policy binary actions sampling frequency (in ms) */ 25 MODULE_PARM_DESC(pb_actions_ms, "Policy binary actions sampling frequency (default = 1000ms)"); 57 arg->func = cmd; in amd_pmf_prepare_args() 58 arg->session = dev->session_id; in amd_pmf_prepare_args() 59 arg->num_params = MAX_TEE_PARAM; in amd_pmf_prepare_args() 64 param[0].u.memref.shm = dev->fw_shm_pool; in amd_pmf_prepare_args() 70 input_report_key(dev->pmf_idev, event, 1); /* key press */ in amd_pmf_update_uevents() [all …]
|
/linux/drivers/hid/ |
H A 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" 39 "Disable Tap-To-Click mode reporting for touchpads (only on the K400 currently)."); 41 /* Define a non-zero software ID to identify our own requests */ 83 /* Convenience constant to check for any high-res support. */ 116 * is 0xFF for the receiver), and all messages (short or long) with a device 127 u8 params[HIDPP_REPORT_VERY_LONG_MAX_LENGTH - 4U]; [all …]
|
/linux/arch/arm/boot/dts/ti/omap/ |
H A D | am5729-beagleboneai.dts | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (C) 2014-2019 Texas Instruments Incorporated - https://www.ti.com/ 6 /dts-v1/; 9 #include "am57xx-commercial-grade.dtsi" 10 #include "dra74x-mmc-iodelay.dtsi" 11 #include "dra74-ipu-dsp-common.dtsi" 12 #include <dt-bindings/gpio/gpio.h> 13 #include <dt-bindings/interrupt-controller/irq.h> 14 #include <dt-bindings/pinctrl/dra.h> 18 compatible = "beagle,am5729-beagleboneai", "ti,am5728", [all …]
|
H A D | dra76-evm.dts | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2017 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "dra7-evm-common.dtsi" 9 #include "dra76x-mmc-iodelay.dtsi" 10 #include <dt-bindings/net/ti-dp83867.h> 14 compatible = "ti,dra76-evm", "ti,dra762", "ti,dra7"; 28 reserved-memory { 29 #address-cells = <2>; 30 #size-cells = <2>; [all …]
|
H A D | am57xx-beagle-x15-common.dtsi | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 2014-2016 Texas Instruments Incorporated - https://www.ti.com/ 5 /dts-v1/; 8 #include "am57xx-commercial-grade.dtsi" 9 #include "dra74x-mmc-iodelay.dtsi" 10 #include "dra74-ipu-dsp-common.dtsi" 11 #include <dt-bindings/gpio/gpio.h> 12 #include <dt-bindings/interrupt-controller/irq.h> 15 compatible = "ti,am572x-beagle-x15", "ti,am5728", "ti,dra742", "ti,dra74", "ti,dra7"; 25 stdout-path = &uart3; [all …]
|
/linux/drivers/media/rc/ |
H A 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 …]
|
/linux/drivers/tty/ |
H A 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)", 231 unsigned long flags; in showacpu() 278 .help_msg = "show-backtrace-all-active-cpus(l)", 298 .help_msg = "show-registers(p)", 310 .help_msg = "show-task-states(t)", [all …]
|
/linux/drivers/input/touchscreen/ |
H A 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 …]
|
/linux/drivers/misc/bcm-vk/ |
H A 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", ""}} 74 /* 1ms wait for checking the transfer complete status */ [all …]
|
/linux/drivers/iio/adc/ |
H A D | at91_adc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 103 #define AT91_ADC_ACR_PENDETSENS (0x3 << 0) /* pull-up resistor */ 137 (st->registers->channel_base + (ch * 4)) 139 (readl_relaxed(st->reg_base + reg)) 141 (writel_relaxed(val, st->reg_base + reg)) 146 #define TOUCH_SAMPLE_PERIOD_US 2000 /* 2ms */ 150 #define TOUCH_SAMPLE_PERIOD_US_RL 10000 /* 10ms, the SoC can't keep up with 2ms */ 161 * struct at91_adc_trigger - description of triggers 174 * struct at91_adc_reg_desc - Various informations relative to registers 200 /* Pen Detection input pull-up resistor, can be 0~3 */ [all …]
|