/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 …]
|
H A D | atmel,maxtouch.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Nick Dyer <nick@shmanahar.org> 11 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: input.yaml# 30 vdda-supply: 34 vdd-supply: 38 reset-gpios: 45 wake-gpios: [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 …]
|
H A D | atmel_mxt_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2014 Atmel Corporation 30 #include <media/v4l2-device.h> 31 #include <media/v4l2-ioctl.h> 32 #include <media/videobuf2-v4l2.h> 33 #include <media/videobuf2-vmalloc.h> 34 #include <dt-bindings/input/atmel-maxtouch.h> 161 /* T100 Multiple Touch Touchscreen */ 367 return obj->size_minus_one + 1; in mxt_obj_size() 372 return obj->instances_minus_one + 1; in mxt_obj_instances() [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 …]
|
H A D | cyapa.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 46 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_BL) in cyapa_is_pip_bl_mode() 49 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_BL) in cyapa_is_pip_bl_mode() 57 if (cyapa->gen == CYAPA_GEN6 && cyapa->state == CYAPA_STATE_GEN6_APP) in cyapa_is_pip_app_mode() 60 if (cyapa->gen == CYAPA_GEN5 && cyapa->state == CYAPA_STATE_GEN5_APP) in cyapa_is_pip_app_mode() 71 if (cyapa->gen == CYAPA_GEN3 && in cyapa_is_bootloader_mode() 72 cyapa->state >= CYAPA_STATE_BL_BUSY && in cyapa_is_bootloader_mode() 73 cyapa->state <= CYAPA_STATE_BL_ACTIVE) in cyapa_is_bootloader_mode() 84 if (cyapa->gen == CYAPA_GEN3 && cyapa->state == CYAPA_STATE_OP) in cyapa_is_operational_mode() [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. 176 * the way to -256..-1, to avoid conflicting with real section 179 #define SPECIAL(i) ((i) - (SHN_HIRESERVE + 1)) 186 /* Accessor for sym->st_shndx, hides ugliness of "64k sections" */ 209 return -1; in compare_relative_table() 235 w(r(loc) - i, loc); in sort_relative_table() 249 /* Don't touch the fixup type or data */ in sort_relative_table_with_data() [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/thunderbolt/ |
H A D | property.c | 1 // SPDX-License-Identifier: GPL-2.0 55 switch (entry->type) { in tb_property_entry_valid() 59 if (entry->length > block_len) in tb_property_entry_valid() 61 if (entry->value + entry->length > block_len) in tb_property_entry_valid() 66 if (entry->length != 1) in tb_property_entry_valid() 88 strcpy(property->key, key); in tb_property_alloc() 89 property->type = type; in tb_property_alloc() 90 INIT_LIST_HEAD(&property->list); in tb_property_alloc() 108 property = tb_property_alloc(key, entry->type); in tb_property_parse() 112 property->length = entry->length; in tb_property_parse() [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/drivers/clk/qcom/ |
H A D | gdsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015, 2017-2018, 2022, The Linux Foundation. All rights reserved. 16 #include <linux/reset-controller.h> 66 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status() 67 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status() 68 else if (sc->gds_hw_ctrl) in gdsc_check_status() 69 reg = sc->gds_hw_ctrl; in gdsc_check_status() 71 reg = sc->gdscr; in gdsc_check_status() 73 ret = regmap_read(sc->regmap, reg, &val); in gdsc_check_status() 77 if (sc->flags & POLL_CFG_GDSCR) { in gdsc_check_status() [all …]
|
/linux/include/drm/ |
H A D | drm_connector.h | 55 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 59 * enum drm_connector_status - status for a &drm_connector 74 * nothing there. It is driver-dependent whether a connector with this 81 * flicker (like load-detection when the connector is in use), or when a 82 * hardware resource isn't available (like when load-detection needs a 92 * enum drm_connector_registration_state - userspace registration status for 125 * - An unregistered connector may only have its DPMS changed from 126 * On->Off. Once DPMS is changed to Off, it may not be switched back 128 * - Modesets are not allowed on unregistered connectors, unless they 132 * - Removing a CRTC from an unregistered connector is OK, but new [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)->line) 37 * struct uart_ops -- interface between serial_core and the driver 58 * - %TIOCM_RTS RTS signal. 59 * - %TIOCM_DTR DTR signal. 60 * - %TIOCM_OUT1 OUT1 signal. 61 * - %TIOCM_OUT2 OUT2 signal. 62 * - %TIOCM_LOOP Set the port into loopback mode. 68 * Locking: @port->lock taken. [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 172 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 173 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 178 * __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. 67 "GRUB_REBOOT" => "grub2-reboot", 68 "GRUB_BLS_GET" => "grubby --info=ALL", 76 "LOCALVERSION" => "-test", 79 "TARGET_IMAGE" => "/boot/vmlinuz-test", 422 i.e. -j20 433 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl… 444 CONSOLE = nc -d localhost 3001 [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/drivers/gpu/drm/i915/display/ |
H A D | intel_display_power.c | 1 /* SPDX-License-Identifier: MIT */ 33 for_each_if(test_bit((__domain), (__power_well)->domains.bits)) 37 for_each_if(test_bit((__domain), (__power_well)->domains.bits)) 207 if (pm_runtime_suspended(dev_priv->drm.dev)) in __intel_display_power_is_enabled() 226 * intel_display_power_is_enabled - check for a power domain 248 power_domains = &dev_priv->display.power.domains; in intel_display_power_is_enabled() 250 mutex_lock(&power_domains->lock); in intel_display_power_is_enabled() 252 mutex_unlock(&power_domains->lock); in intel_display_power_is_enabled() 261 struct i915_power_domains *power_domains = &i915->display.power.domains; in sanitize_target_dc_state() 270 for (i = 0; i < ARRAY_SIZE(states) - 1; i++) { in sanitize_target_dc_state() [all …]
|
/linux/fs/ntfs3/ |
H A D | attrib.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * Copyright (C) 2019-2021 Paragon Software GmbH, All rights reserved. 47 align_shift = NTFS_MIN_LOG2_OF_CLUMP - 1 + in get_pre_allocated() 52 ret = (((size + clump - 1) >> align_shift)) << align_shift; in get_pre_allocated() 58 * attr_load_runs - Load all runs stored in @attr. 64 CLST svcn = le64_to_cpu(attr->nres.svcn); in attr_load_runs() 65 CLST evcn = le64_to_cpu(attr->nres.evcn); in attr_load_runs() 73 return -EINVAL; in attr_load_runs() 75 asize = le32_to_cpu(attr->size); in attr_load_runs() 76 run_off = le16_to_cpu(attr->nres.run_off); in attr_load_runs() [all …]
|