/Linux-v5.10/Documentation/devicetree/bindings/input/ |
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 The Azoteq IQS269A is an 8-channel capacitive touch controller that features 14 additional Hall-effect and inductive sensing capabilities. 28 "#address-cells": 31 "#size-cells": 34 azoteq,hall-enable: [all …]
|
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 The Azoteq IQS620A, IQS621, IQS622, IQS624 and IQS625 multi-function sensors 14 feature a variety of self-capacitive, mutual-inductive and Hall-effect sens- 20 further details and examples. Sensor hardware configuration (self-capacitive 21 vs. mutual-inductive, etc.) is selected based on the device's firmware. 26 - azoteq,iqs620a-keys [all …]
|
/Linux-v5.10/drivers/input/touchscreen/ |
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 23 #include <linux/input/auo-pixcir-ts.h> 77 * sleep: scan speed 10Hz can be auto-activated, wakeup on 1st touch 78 * deep sleep: scan speed 1Hz can only be entered or left manually. 127 struct i2c_client *client = ts->client; in auo_pixcir_collect_data() 128 const struct auo_pixcir_ts_platdata *pdata = ts->pdata; in auo_pixcir_collect_data() 133 /* touch coordinates */ in auo_pixcir_collect_data() 137 dev_err(&client->dev, "failed to read coordinate, %d\n", ret); in auo_pixcir_collect_data() [all …]
|
D | cyttsp4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 57 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf() 63 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf() 72 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() 73 struct device *dev = cd->dev; in cyttsp4_load_status_regs() 76 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs() 77 si->xy_mode); in cyttsp4_load_status_regs() 82 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs() 83 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs() 102 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n", in cyttsp4_handshake() [all …]
|
D | atmel_mxt_ts.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright (C) 2011-2014 Atmel Corporation 29 #include <media/v4l2-device.h> 30 #include <media/v4l2-ioctl.h> 31 #include <media/videobuf2-v4l2.h> 32 #include <media/videobuf2-vmalloc.h> 158 /* T100 Multiple Touch Touchscreen */ 352 return obj->size_minus_one + 1; in mxt_obj_size() 357 return obj->instances_minus_one + 1; in mxt_obj_instances() 397 dev_dbg(&data->client->dev, "message: %*ph\n", in mxt_dump_message() [all …]
|
/Linux-v5.10/drivers/input/mouse/ |
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 …]
|
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-v5.10/drivers/platform/chrome/ |
D | chromeos_laptop.c | 1 // SPDX-License-Identifier: GPL-2.0+ 82 const unsigned short addr_list[] = { info->addr, I2C_CLIENT_END }; in chromes_laptop_instantiate_i2c_device() 93 I2C_BOARD_INFO("dummy", info->addr), in chromes_laptop_instantiate_i2c_device() 103 pr_debug("%d-%02x is probed at %02x\n", in chromes_laptop_instantiate_i2c_device() 104 adapter->nr, info->addr, dummy->addr); in chromes_laptop_instantiate_i2c_device() 112 pr_debug("failed to register device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 113 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 115 pr_debug("added i2c device %d-%02x\n", in chromes_laptop_instantiate_i2c_device() 116 adapter->nr, info->addr); in chromes_laptop_instantiate_i2c_device() 138 for (i = 0; i < cros_laptop->num_i2c_peripherals; i++) { in chromeos_laptop_check_adapter() [all …]
|
/Linux-v5.10/drivers/input/keyboard/ |
D | cap11xx.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Input driver for Microchip CAP11xx based capacitive touch sensors 185 ret = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, 1, 0); in cap11xx_thread_func() 189 ret = regmap_read(priv->regmap, CAP11XX_REG_SENSOR_INPUT, &status); in cap11xx_thread_func() 193 for (i = 0; i < priv->idev->keycodemax; i++) in cap11xx_thread_func() 194 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func() 197 input_sync(priv->idev); in cap11xx_thread_func() 208 if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) in cap11xx_set_sleep() 211 return regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_set_sleep() 235 struct cap11xx_priv *priv = led->priv; in cap11xx_led_set() [all …]
|
/Linux-v5.10/drivers/misc/lkdtm/ |
D | bugs.c | 1 // SPDX-License-Identifier: GPL-2.0 4 * bad alignment, bad loops, bad locking, bad scheduling, deep stacks, and 42 * - function marked noinline 43 * - stack variables are marked volatile 44 * - stack variables are written (memset()) and read (pr_info()) 45 * - function has external effects (pr_info()) 57 return recursive_loop(remaining - 1); in recursive_loop() 125 /* Same as above but will only get a canary with -fstack-protector-strong */ 177 volatile unsigned int huge = INT_MAX - 2; 209 /* Intentionally using old-style flex array definition of 1 byte. */ [all …]
|
/Linux-v5.10/arch/arm/mach-pxa/include/mach/ |
D | pxa3xx-regs.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 3 * arch/arm/mach-pxa/include/mach/pxa3xx-regs.h 30 #define PWER __REG(0x40F50010) /* Power Manager Wake-up Enable Register */ 31 #define PWSR __REG(0x40F50014) /* Power Manager Wake-up Status Register */ 33 #define DCDCSR __REG(0x40F50080) /* DC-DC Controller Status Register */ 42 #define AD3ER __REG(0x40f40008) /* Application Subsystem Wake-Up from D3 Enable */ 43 #define AD3SR __REG(0x40f4000c) /* Application Subsystem Wake-Up from D3 Status */ 44 #define AD2D0ER __REG(0x40f40010) /* Application Subsystem Wake-Up from D2 to D0 Enable */ 45 #define AD2D0SR __REG(0x40f40014) /* Application Subsystem Wake-Up from D2 to D0 Status */ 46 #define AD2D1ER __REG(0x40f40018) /* Application Subsystem Wake-Up from D2 to D1 Enable */ [all …]
|
/Linux-v5.10/drivers/input/misc/ |
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 149 #define IQS269_ATI_POLL_SLEEP_US (iqs269->delay_mult * 10000) 150 #define IQS269_ATI_POLL_TIMEOUT_US (iqs269->delay_mult * 500000) 151 #define IQS269_ATI_STABLE_DELAY_MS (iqs269->delay_mult * 150) 201 .name = "event-prox", 207 .name = "event-prox-alt", 214 .name = "event-touch", 220 .name = "event-touch-alt", [all …]
|
/Linux-v5.10/drivers/clk/qcom/ |
D | gdsc.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (c) 2015, 2017-2018, The Linux Foundation. All rights reserved. 16 #include <linux/reset-controller.h> 60 if (sc->flags & POLL_CFG_GDSCR) in gdsc_check_status() 61 reg = sc->gdscr + CFG_GDSCR_OFFSET; in gdsc_check_status() 62 else if (sc->gds_hw_ctrl) in gdsc_check_status() 63 reg = sc->gds_hw_ctrl; in gdsc_check_status() 65 reg = sc->gdscr; in gdsc_check_status() 67 ret = regmap_read(sc->regmap, reg, &val); in gdsc_check_status() 71 if (sc->flags & POLL_CFG_GDSCR) { in gdsc_check_status() [all …]
|
/Linux-v5.10/include/linux/ |
D | serial_core.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 5 * Copyright (C) 2000 Deep Blue Solutions Ltd. 24 ((port)->cons && (port)->cons->index == (port)->line) 36 * physical hardware. See Documentation/driver-api/serial/driver.rst for details. 149 #define UPIO_MEM (SERIAL_IO_MEM) /* driver-specific */ 175 * The remaining bits are serial-core specific and not modifiable by 194 /* Port has hardware-assisted h/w flow control */ 198 /* Port has hardware-assisted s/w flow control */ 216 #error Change mask not equivalent to userspace-visible bit defines 232 int hw_stopped; /* sw-assisted CTS flow state */ [all …]
|
/Linux-v5.10/include/drm/ |
D | drm_connector.h | 50 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 54 * enum drm_connector_status - status for a &drm_connector 69 * nothing there. It is driver-dependent whether a connector with this 76 * flicker (like load-detection when the connector is in use), or when a 77 * hardware resource isn't available (like when load-detection needs a 87 * enum drm_connector_registration_status - userspace registration status for 120 * - An unregistered connector may only have its DPMS changed from 121 * On->Off. Once DPMS is changed to Off, it may not be switched back 123 * - Modesets are not allowed on unregistered connectors, unless they 127 * - Removing a CRTC from an unregistered connector is OK, but new [all …]
|
/Linux-v5.10/arch/x86/kernel/cpu/ |
D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0 18 #include <asm/intel-family.h> 54 * With a name like MSR_TEST_CTL it should go without saying, but don't touch 61 * Processors which have self-snooping capability can handle conflicting 69 switch (c->x86_model) { in check_memory_type_self_snoop_errata() 101 if (c->x86 != 6) in probe_xeon_phi_r3mwait() 103 switch (c->x86_model) { in probe_xeon_phi_r3mwait() 125 * - https://newsroom.intel.com/wp-content/uploads/sites/11/2018/03/microcode-update-guidance.pdf 126 * - https://kb.vmware.com/s/article/52345 127 * - Microcode revisions observed in the wild [all …]
|
/Linux-v5.10/Documentation/admin-guide/cgroup-v1/ |
D | memory.rst | 18 we call it "memory cgroup". When you see git-log and source code, you'll 30 Memory-hungry applications can be isolated and limited to a smaller 42 Current Status: linux-2.6.34-mmotm(development version of 2010/April) 46 - accounting anonymous pages, file caches, swap caches usage and limiting them. 47 - pages are linked to per-memcg LRU exclusively, and there is no global LRU. 48 - optionally, memory+swap usage can be accounted and limited. 49 - hierarchical accounting 50 - soft limit 51 - moving (recharging) account at moving a task is selectable. 52 - usage threshold notifier [all …]
|
/Linux-v5.10/drivers/scsi/ |
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. 58 * 1-to-1 mapping completions back to requests. 116 MODULE_PARM_DESC(ring_pages, "Number of pages per req/cmp ring - (default=" 123 MODULE_PARM_DESC(msg_ring_pages, "Number of pages for the msg ring - (default=" 127 MODULE_PARM_DESC(cmd_per_lun, "Maximum commands per lun - (default=" 131 MODULE_PARM_DESC(disable_msi, "Disable MSI use in driver - (default=0)"); 134 MODULE_PARM_DESC(disable_msix, "Disable MSI-X use in driver - (default=0)"); 137 MODULE_PARM_DESC(use_msg, "Use msg ring when available - (default=1)"); [all …]
|
/Linux-v5.10/fs/xfs/ |
D | xfs_icache.c | 1 // SPDX-License-Identifier: GPL-2.0 3 * Copyright (c) 2000-2005 Silicon Graphics, Inc. 45 if (inode_init_always(mp->m_super, VFS_I(ip))) { in xfs_inode_alloc() 51 VFS_I(ip)->i_mode = 0; in xfs_inode_alloc() 54 ASSERT(atomic_read(&ip->i_pincount) == 0); in xfs_inode_alloc() 55 ASSERT(ip->i_ino == 0); in xfs_inode_alloc() 58 ip->i_ino = ino; in xfs_inode_alloc() 59 ip->i_mount = mp; in xfs_inode_alloc() 60 memset(&ip->i_imap, 0, sizeof(struct xfs_imap)); in xfs_inode_alloc() 61 ip->i_afp = NULL; in xfs_inode_alloc() [all …]
|
/Linux-v5.10/drivers/ide/ |
D | hpt366.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) 1999-2003 Andre Hedrick <andre@linux-ide.org> 7 * Portions Copyright (C) 2005-2009 MontaVista Software, Inc. 10 * Special Thanks to Jon Burchmore in SanDiego for the deep pockets, his 16 * available from http://www.highpoint-tech.com/USA_new/service_support.htm 19 * as the time passes... :-/ 23 * - add function for getting/setting power status of drive 24 * - the HPT370's state machine can get confused. reset it before each dma 26 * - reset state engine whenever we get an error. 27 * - check for busmaster state at end of dma. [all …]
|
/Linux-v5.10/drivers/net/wireless/ath/wil6210/ |
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-v5.10/tools/testing/ktest/ |
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", 418 i.e. -j20 429 …POWER_CYCLE = wget --no-proxy -O /dev/null -q --auth-no-challenge 'http://admin:admin\@power/outl… 440 CONSOLE = nc -d localhost 3001 [all …]
|
/Linux-v5.10/drivers/ata/ |
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 123 * ehc->cmd_timeout_idx keeps track of which timeout to use per 160 ehi->desc_len += vscnprintf(ehi->desc + ehi->desc_len, in __ata_ehi_pushv_desc() 161 ATA_EH_DESC_LEN - ehi->desc_len, in __ata_ehi_pushv_desc() 166 * __ata_ehi_push_desc - push error description without adding separator 170 * Format string according to @fmt and append it to @ehi->desc. [all …]
|
/Linux-v5.10/arch/x86/events/intel/ |
D | core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 20 #include <asm/intel-family.h> 39 [PERF_COUNT_HW_REF_CPU_CYCLES] = 0x0300, /* pseudo-encoding */ 66 INTEL_EVENT_CONSTRAINT(0xc9, 0x1), /* ITLB_MISS_RETIRED (T30-9) */ 277 EVENT_ATTR_STR(mem-loads, mem_ld_nhm, "event=0x0b,umask=0x10,ldlat=3"); 278 EVENT_ATTR_STR(mem-loads, mem_ld_snb, "event=0xcd,umask=0x1,ldlat=3"); 279 EVENT_ATTR_STR(mem-stores, mem_st_snb, "event=0xcd,umask=0x2"); 300 EVENT_ATTR_STR_HT(topdown-total-slots, td_total_slots, 303 EVENT_ATTR_STR_HT(topdown-total-slots.scale, td_total_slots_scale, "4", "2"); 304 EVENT_ATTR_STR(topdown-slots-issued, td_slots_issued, [all …]
|
/Linux-v5.10/drivers/gpu/drm/amd/display/dc/dce110/ |
D | dce110_hw_sequencer.c | 69 * For eDP, after power-up/power/down, 79 hws->ctx 84 hws->regs->reg 88 hws->shifts->field_name, hws->masks->field_name 96 .crtc = (mmCRTC0_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 99 .crtc = (mmCRTC1_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 102 .crtc = (mmCRTC2_CRTC_GSL_CONTROL - mmCRTC_GSL_CONTROL), 105 .crtc = (mmCRTCV_GSL_CONTROL - mmCRTC_GSL_CONTROL), 205 struct dc_context *ctx = dc->ctx; in dce110_enable_display_power_gating() 206 unsigned int underlay_idx = dc->res_pool->underlay_pipe_index; in dce110_enable_display_power_gating() [all …]
|