/openbmc/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 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 …]
|
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 …]
|
/openbmc/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 | cyttsp4_core.c | 1 // SPDX-License-Identifier: GPL-2.0-only 71 max = (CY_MAX_PRBUF_SIZE - 1) - sizeof(CY_PR_TRUNCATED); in cyttsp4_pr_buf() 77 dev_vdbg(dev, "%s: %s[0..%d]=%s%s\n", __func__, data_name, size - 1, in cyttsp4_pr_buf() 86 struct cyttsp4_sysinfo *si = &cd->sysinfo; in cyttsp4_load_status_regs() 87 struct device *dev = cd->dev; in cyttsp4_load_status_regs() 90 rc = cyttsp4_adap_read(cd, CY_REG_BASE, si->si_ofs.mode_size, in cyttsp4_load_status_regs() 91 si->xy_mode); in cyttsp4_load_status_regs() 96 cyttsp4_pr_buf(dev, cd->pr_buf, si->xy_mode, in cyttsp4_load_status_regs() 97 si->si_ofs.mode_size, "xy_mode"); in cyttsp4_load_status_regs() 116 dev_err(cd->dev, "%s: bus write fail on handshake (ret=%d)\n", in cyttsp4_handshake() [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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/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 194 ret = regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, 1, 0); in cap11xx_thread_func() 198 ret = regmap_read(priv->regmap, CAP11XX_REG_SENSOR_INPUT, &status); in cap11xx_thread_func() 202 for (i = 0; i < priv->idev->keycodemax; i++) in cap11xx_thread_func() 203 input_report_key(priv->idev, priv->keycodes[i], in cap11xx_thread_func() 206 input_sync(priv->idev); in cap11xx_thread_func() 217 if (IS_ENABLED(CONFIG_LEDS_CLASS) && priv->num_leds) in cap11xx_set_sleep() 220 return regmap_update_bits(priv->regmap, CAP11XX_REG_MAIN_CONTROL, in cap11xx_set_sleep() 244 struct cap11xx_priv *priv = led->priv; in cap11xx_led_set() [all …]
|
/openbmc/linux/drivers/input/misc/ |
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 …]
|
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 193 .name = "event-prox", 199 .name = "event-prox-alt", 206 .name = "event-touch", 212 .name = "event-touch-alt", 219 .name = "event-deep", 225 .name = "event-deep-alt", 301 struct iqs269_ch_reg *ch_reg = iqs269->sys_reg.ch_reg; in iqs269_ati_mode_set() [all …]
|
/openbmc/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 …]
|
/openbmc/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 42 * - function marked noinline 43 * - stack variables are marked volatile 44 * - stack variables are written (memset()) and read (buf[..] passed as arg) 45 * - function may have external effects (memzero_explicit()) 46 * - no tail recursion possible 57 ret = recursive_loop((int)buf[remaining % sizeof(buf)] - 1); in recursive_loop() 127 /* Same as above but will only get a canary with -fstack-protector-strong */ 153 pr_info("Stack offset: %d\n", (int)(stack_addr - (uintptr_t)&magic)); in lkdtm_REPORT_STACK() [all …]
|
/openbmc/openbmc/poky/meta/recipes-core/coreutils/ |
H A D | coreutils_9.5.bb | 7 LICENSE = "GPL-3.0-or-later" 12 DEPENDS:class-native = "" 17 file://remove-usr-local-lib-from-m4.patch \ 18 file://0001-local.mk-fix-cross-compiling-problem.patch \ 19 file://intermittent-testfailure.patch \ 20 file://run-ptest \ 24 # http://git.savannah.gnu.org/cgit/coreutils.git/commit/?id=v8.27-101-gf5d7c0842 26 CVE_STATUS[CVE-2016-2781] = "disputed: runcon is not really a sandbox command, use `runcon ... sets… 28 EXTRA_OECONF:class-target = "--enable-install-program=arch,hostname --libexecdir=${libdir}" 29 EXTRA_OECONF:class-nativesdk = "--enable-install-program=arch,hostname" [all …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|
/openbmc/linux/include/drm/ |
H A D | drm_connector.h | 54 DRM_FORCE_ON_DIGITAL, /* for DVI-I use digital connector */ 58 * enum drm_connector_status - status for a &drm_connector 73 * nothing there. It is driver-dependent whether a connector with this 80 * flicker (like load-detection when the connector is in use), or when a 81 * hardware resource isn't available (like when load-detection needs a 91 * enum drm_connector_registration_state - userspace registration status for 124 * - An unregistered connector may only have its DPMS changed from 125 * On->Off. Once DPMS is changed to Off, it may not be switched back 127 * - Modesets are not allowed on unregistered connectors, unless they 131 * - Removing a CRTC from an unregistered connector is OK, but new [all …]
|
/openbmc/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. 24 ((port)->cons && (port)->cons->index == (port)->line) 36 * struct uart_ops -- interface between serial_core and the driver 57 * - %TIOCM_RTS RTS signal. 58 * - %TIOCM_DTR DTR signal. 59 * - %TIOCM_OUT1 OUT1 signal. 60 * - %TIOCM_OUT2 OUT2 signal. 61 * - %TIOCM_LOOP Set the port into loopback mode. 67 * Locking: @port->lock taken. [all …]
|
/openbmc/linux/arch/x86/kernel/cpu/ |
H A D | intel.c | 1 // SPDX-License-Identifier: GPL-2.0 22 #include <asm/intel-family.h> 60 * With a name like MSR_TEST_CTL it should go without saying, but don't touch 67 * Processors which have self-snooping capability can handle conflicting 75 switch (c->x86_vfm) { in check_memory_type_self_snoop_errata() 107 if (c->x86 != 6) in probe_xeon_phi_r3mwait() 109 switch (c->x86_vfm) { in probe_xeon_phi_r3mwait() 131 * - http [all...] |
/openbmc/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 …]
|
/openbmc/linux/Documentation/admin-guide/cgroup-v1/ |
H A 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 …]
|
/openbmc/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 …]
|
/openbmc/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 …]
|