| /linux/Documentation/devicetree/bindings/input/ |
| H A D | iqs626a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS626A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 The Azoteq IQS626A is a 14-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 19 - $ref: touchscreen/touchscreen.yaml# 31 "#address-cells": 34 "#size-cells": [all …]
|
| H A D | iqs269a.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 7 title: Azoteq IQS269A Capacitive Touch Controller 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 17 additional Hall-effect and inductive sensing capabilities. 24 - azoteq,iqs269a 25 - azoteq,iqs269a-00 [all …]
|
| H A D | iqs62x-keys.yaml | 1 # SPDX-License-Identifier: (GPL-2.0 OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/input/iqs62x-keys.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Jeff LaBundy <jeff@labundy.com> 13 - $ref: input.yaml# 16 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 17 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 23 further details and examples. Sensor hardware configuration (self-capacitive 24 vs. mutual-inductive, etc.) is selected based on the device's firmware. [all …]
|
| /linux/drivers/input/touchscreen/ |
| H A D | auo-pixcir-ts.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Driver for AUO in-cell touchscreens 7 * loosely based on auo_touch.c from Dell Streak vendor-kernel 77 * indicate touch: interrupt is asserted during touch 87 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch 88 * deep sleep: scan speed 1Hz can only be entered or left manually. 141 struct i2c_client *client = ts->client; in auo_pixcir_collect_data() 146 /* touch coordinates */ in auo_pixcir_collect_data() 150 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data() 154 /* touch area */ in auo_pixcir_collect_data() [all …]
|
| /linux/drivers/input/mouse/ |
| H A D | cyapa_gen5.c | 6 * Copyright (C) 2014-2015 Cypress Semiconductor, Inc. 21 #include <linux/crc-itu-t.h> 33 #define CYAPA_TSG_IMG_MAX_RECORDS (CYAPA_TSG_IMG_END_ROW_NUM - \ 141 * Bit 7 - 3: reserved 142 * Bit 2 - 0: touch type; 146 * 3 - 15 : reserved. 151 * Bit 7: indicates touch liftoff status. 152 * 0 : touch is currently on the panel. 153 * 1 : touch record indicates a liftoff. 154 * Bit 6 - 5: indicates an event associated with this touch instance [all …]
|
| /linux/drivers/input/misc/ |
| H A D | iqs269a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS269A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for each of the two 225 .name = "event-prox", 231 .name = "event-prox-alt", 238 .name = "event-touch", 244 .name = "event-touch-alt", 251 .name = "event-deep", 257 .name = "event-deep-alt", 339 * Slider 1 is unavailable if the touch-and-hold option is enabled via in iqs269_slider_type() [all …]
|
| H A D | iqs626a.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Azoteq IQS626A Capacitive Touch Controller 8 * inductive keys as well as Hall-effect switches, and one for a trackpad that 227 .name = "event-prox", 233 .name = "event-prox-alt", 240 .name = "event-touch", 246 .name = "event-touch-alt", 253 .name = "event-deep", 259 .name = "event-deep-alt", 367 .name = "ulp-0", [all …]
|
| /linux/drivers/input/keyboard/ |
| H A D | cap11xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Input driver for Microchip CAP11xx based capacitive touch sensors 178 return regmap_write(priv->regmap, in cap11xx_write_calib_sens_config_1() 180 (priv->calib_sensitivities[3] << 6) | in cap11xx_write_calib_sens_config_1() 181 (priv->calib_sensitivities[2] << 4) | in cap11xx_write_calib_sens_config_1() 182 (priv->calib_sensitivities[1] << 2) | in cap11xx_write_calib_sens_config_1() 183 priv->calib_sensitivities[0]); in cap11xx_write_calib_sens_config_1() 188 return regmap_write(priv->regmap, in cap11xx_write_calib_sens_config_2() 190 (priv->calib_sensitivities[7] << 6) | in cap11xx_write_calib_sens_config_2() 191 (priv->calib_sensitivities[6] << 4) | in cap11xx_write_calib_sens_config_2() [all …]
|
| /linux/drivers/platform/chrome/ |
| H A D | chromeos_laptop.c | 1 // SPDX-License-Identifier: GPL-2.0+ 85 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device() 96 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device() 106 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device() 107 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device() 115 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 118 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 119 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 141 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter() [all …]
|
| /linux/drivers/misc/lkdtm/ |
| H A D | bugs.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * bad alignment, bad loops, bad locking, bad scheduling, deep stacks, and 44 * - function marked noinline 45 * - stack variables are marked volatile 46 * - stack variables are written (memset()) and read (buf[..] passed as arg) 47 * - function may have external effects (memzero_explicit()) 48 * - no tail recursion possible 59 ret = recursive_loop((int)buf[remaining % sizeof(buf)] - 1); in recursive_loop() 154 /* Same as above but will only get a canary with -fstack-protector-strong */ 180 pr_info("Stack offset: %d\n", (int)(stack_addr - (uintptr_t)&magic)); in lkdtm_REPORT_STACK() [all …]
|
| /linux/scripts/ |
| H A D | sorttable.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 1999-2019 Alibaba Group Holding Limited. by: 9 * Copyright 2011 - 2012 Cavium, Inc. 20 * Strategy: alter the vmlinux file in-place. 120 return r8(&ehdr->e64.e_shoff); in ehdr64_shoff() 125 return r(&ehdr->e32.e_shoff); in ehdr32_shoff() 136 return r2(&ehdr->e64.e_##fn_name); \ 141 return r2(&ehdr->e32.e_##fn_name); \ 156 return r(&shdr->e64.sh_##fn_name); \ in EHDR_HALF() 161 return r(&shdr->e32.sh_##fn_name); \ [all …]
|
| /linux/include/linux/ |
| H A D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2000 Deep Blue Solutions Ltd. 25 ((port)->cons && (port)->cons->index == (port)->lin [all...] |
| H A D | fs.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 16 #include <linux/radix-tree.h> 34 #include <linux/percpu-rwsem.h> 168 /* File is stream-like */ 191 /* File is capable of returning -EAGAIN if I/O will block */ 203 * (f->f_mode & FMODE_FSNOTIFY_MASK) and their meaning: 205 * FMODE_NONOTIFY - suppress all (incl. non-permission) events. 206 * FMODE_NONOTIFY_PERM - suppress permission (incl. pre-content) events. 207 * FMODE_NONOTIFY | FMODE_NONOTIFY_PERM - suppress only FAN_ACCESS_PERM. 226 * Attribute flags. These should be or-ed together to figure out what [all …]
|
| /linux/drivers/ata/ |
| H A D | libata-eh.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 3 * libata-eh.c - libata error handling 8 * as Documentation/driver-api/libata.rst 11 * http://www.sata-io.org/ 59 /* Waiting in ->prereset can never be reliable. It's 97 15000, /* Some drives are slow to read log pages when waking-up */ 129 * ehc->cmd_timeout_idx keeps track of which timeout to use per 170 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 171 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 176 * __ata_ehi_push_desc - push error description without adding separator [all …]
|
| /linux/drivers/scsi/ |
| H A D | vmw_pvscsi.c | 2 * Linux driver for VMware's para-virtualized SCSI HBA. 4 * Copyright (C) 2008-2014, VMware, Inc. All Rights Reserved. 18 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA. 56 * 1-to-1 mapping completions back to requests. 114 MODULE_PARM_DESC(ring_pages, "Number of pages per req/cmp ring - (default=" 121 MODULE_PARM_DESC(msg_ring_pages, "Number of pages for the msg ring - (default=" 125 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default=" 129 MODULE_PARM_DESC(disable_msi, "Disable MSI use in driver - (default=0)"); 132 MODULE_PARM_DESC(disable_msix, "Disable MSI-X use in driver - (default=0)"); 135 MODULE_PARM_DESC(use_msg, "Use msg ring when available - (default=1)"); [all …]
|
| /linux/drivers/net/wireless/ath/wil6210/ |
| H A D | main.c | 1 // SPDX-License-Identifier: ISC 3 * Copyright (c) 2012-2017 Qualcomm Atheros, Inc. 4 * Copyright (c) 2018-2019, The Linux Foundation. All rights reserved. 47 unsigned int mtu_max = TXRX_BUF_LEN_DEFAULT - WIL_MAX_MPDU_OVERHEAD; 60 ret = -EINVAL; in mtu_max_set() 87 return -EINVAL; in ring_order_set() 89 *((uint *)kp->arg) = x; in ring_order_set() 131 * one has to read/write to/from NIC in 32-bit chunks; 133 * not work on 64-bit platform - it uses 64-bit transactions 135 * Force 32-bit transactions to enable NIC on 64-bit platforms [all …]
|
| /linux/tools/testing/ktest/ |
| H A D | ktest.pl | 1 #!/usr/bin/perl -w 2 # SPDX-License-Identifier: GPL-2.0-only 4 # Copyright 2010 - Steven Rostedt <srostedt@redhat.com>, Red Hat Inc. 69 "GRUB_REBOOT" => "grub2-reboot", 70 "GRUB_BLS_GET" => "grubby --info=ALL", 78 "LOCALVERSION" => "-test", 81 "TARGET_IMAGE" => "/boot/vmlinuz-test", 426 i.e. -j20 437 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl… 448 CONSOLE = nc -d localhost 3001 [all …]
|
| /linux/drivers/gpu/drm/i915/display/ |
| H A D | intel_display_power.c | 1 /* SPDX-License-Identifier: MIT */ 39 for_each_if(test_bit((__domain), (__power_well)->domains.bits)) 43 for_each_if(test_bit((__domain), (__power_well)->domains.bits)) 232 * intel_display_power_is_enabled - check for a power domain 251 struct i915_power_domains *power_domains = &display->power.domains; in intel_display_power_is_enabled() 254 mutex_lock(&power_domains->lock); in intel_display_power_is_enabled() 256 mutex_unlock(&power_domains->lock); in intel_display_power_is_enabled() 265 struct i915_power_domains *power_domains = &display->power.domains; in sanitize_target_dc_state() 274 for (i = 0; i < ARRAY_SIZE(states) - 1; i++) { in sanitize_target_dc_state() 278 if (power_domains->allowed_dc_mask & target_dc_state) in sanitize_target_dc_state() [all …]
|
| /linux/fs/btrfs/ |
| H A D | tree-log.c | 1 // SPDX-License-Identifier: GPL-2.0 13 #include "tree-log.h" 14 #include "disk-io.h" 19 #include "block-group.h" 20 #include "space-info.h" 21 #include "inode-item.h" 24 #include "extent-tree.h" 25 #include "root-tree.h" 26 #include "dir-item.h" 27 #include "file-item.h" [all …]
|
| /linux/tools/power/pm-graph/ |
| H A D | sleepgraph.py | 2 # SPDX-License-Identifier: GPL-2.0-only 21 # https://www.intel.com/content/www/us/en/developer/topic-technology/open/pm-graph/overview.html 23 # git@github.com:intel/pm-graph 51 # ----------------- LIBRARIES -------------------- 74 print('[%09.3f] %s' % (time.time()-mystarttime, msg)) 82 # ----------------- CLASSES -------------------- 86 # A global, single-instance container used to 108 cgtest = -1 183 tmstart = 'SUSPEND START %Y%m%d-%H:%M:%S.%f' 184 tmend = 'RESUME COMPLETE %Y%m%d-%H:%M:%S.%f' [all …]
|
| /linux/fs/ |
| H A D | inode.c | 1 // SPDX-License-Identifier: GPL-2.0-only 10 #include <linux/backing-dev.h> 35 * inode->i_lock protects: 36 * inode->i_state, inode->i_hash, __iget(), inode->i_io_list 38 * inode->i_sb->s_inode_lru, inode->i_lru 39 * inode->i_sb->s_inode_list_lock protects: 40 * inode->i_sb->s_inodes, inode->i_sb_list 41 * bdi->wb.list_lock protects: 42 * bdi->wb.b_{dirty,io,more_io,dirty_time}, inode->i_io_list 44 * inode_hashtable, inode->i_hash [all …]
|
| /linux/arch/x86/events/intel/ |
| H A D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 22 #include <asm/intel-family.h> 42 [PERF_COUNT_HW_REF_CPU_CYCLES] = 0x0300, /* pseudo-encoding */ 69 INTEL_EVENT_CONSTRAINT(0xc9, 0x1), /* ITLB_MISS_RETIRED (T30-9) */ 352 * Generally event codes < 0x90 are restricted to counters 0-3. 438 EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3"); 439 EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3"); 440 EVENT_ATTR_STR(mem-stores, mem_st_snb, "event=0xcd,umask=0x2"); 461 EVENT_ATTR_STR_HT(topdown-total-slots, td_total_slots, 464 EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2"); [all …]
|
| /linux/Documentation/admin-guide/ |
| H A D | kernel-parameters.txt | 16 force -- enable ACPI if default was off 17 on -- enable ACPI but allow fallback to DT [arm64,riscv64] 18 off -- disable ACPI if default was on 19 noirq -- do not use ACPI for IRQ routing 20 strict -- Be less tolerant of platforms that are not 22 rsdt -- prefer RSDT over (default) XSDT 23 copy_dsdt -- copy DSDT to memory 24 nocmcff -- Disable firmware first mode for corrected 28 nospcr -- disable console in ACPI SPCR table as 45 If set to vendor, prefer vendor-specific driver [all …]
|
| /linux/drivers/tty/serial/8250/ |
| H A D | 8250_pci.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Probe module for 8250/16550-type PCI serial ports. 98 /* Unknown vendors/cards - this should not be in linux/pci_ids.h */ 104 * > 0 - number of ports 105 * = 0 - use board->num_ports 106 * < 0 - error 156 "Please send the output of lspci -vv, this\n" in moan_device() 159 "modem board to <linux-serial@vger.kernel.org>.\n", in moan_device() 160 str, dev->vendor, dev->device, in moan_device() 161 dev->subsystem_vendor, dev->subsystem_device); in moan_device() [all …]
|
| /linux/kernel/bpf/ |
| H A D | verifier.c | 1 // SPDX-License-Identifier: GPL-2.0-only 2 /* Copyright (c) 2011-2014 PLUMgrid, http://plumgrid.com 7 #include <linux/bpf-cgroup.h> 23 #include <linux/error-injection.h> 60 * The first pass is depth-first-search to check that the program is a DAG. 62 * - larger than BPF_MAXINSNS insns 63 * - if loop is present (detected via back-edge) 64 * - unreachable insns exist (shouldn't be a forest. program = one function) 65 * - out of bounds or malformed jumps 77 * All registers are 64-bit. [all …]
|