/linux/Documentation/devicetree/bindings/input/touchscreen/ |
H A D | azoteq,iqs7211.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> 13 The Azoteq IQS7210A, IQS7211A and IQS7211E trackpad and touchscreen control- 14 lers employ projected-capacitance sensing and can track two contacts. 21 - azoteq,iqs7210a 22 - azoteq,iqs7211a 23 - azoteq,iqs7211e 28 irq-gpios: [all …]
|
/linux/kernel/time/ |
H A D | timer.c | 1 // SPDX-License-Identifier: GPL-2.0 7 * 1997-01-28 Modified by Finn Arne Gangstad to make timers scale better. 9 * 1997-09-10 Updated NTP code according to technical memorandum Jan '96 11 * 1998-12-24 Fixed a xtime SMP race (we need the xtime_lock rw spinlock to 14 * 1999-03-10 Improved NTP compatibility by Ulrich Windl 15 * 2002-05-31 Move sys_sysinfo here and make its locking sane, Robert Love 16 * 2000-10-05 Implemented scalable SMP per-CPU timer handling. 33 #include <linux/posix-timers.h> 54 #include "tick-internal.h" 85 * timeout timers (networking, disk I/O ...) are canceled before expiry. If [all …]
|
/linux/drivers/parport/ |
H A D | ieee1284.c | 2 * IEEE-1284 implementation for parport. 5 * Carsten Gross <carsten@sol.wohnheim.uni-ulm.de> 10 * read/write requests to low-level drivers. 38 up (&port->physport->ieee1284.irq); in parport_ieee1284_wakeup() 49 * parport_wait_event - wait for an event on a parallel port 51 * @timeout: time to wait (in jiffies) 53 * This function waits for up to @timeout jiffies for an 54 * interrupt to occur on a parallel port. If the port timeout is 57 * If an interrupt occurs before the timeout period elapses, this 64 int parport_wait_event (struct parport *port, signed long timeout) in parport_wait_event() argument [all …]
|
H A D | ieee1284_ops.c | 1 // SPDX-License-Identifier: GPL-2.0 2 /* IEEE-1284 operations for parport. 5 * they are used by the low-level drivers. If they have a special way 7 * the function pointers in port->ops); if not, they can just use these 31 * One-way data transfer functions. * 43 struct pardevice *dev = port->physport->cad; in parport_ieee1284_write_compat() 47 if (port->irq != PARPORT_IRQ_NONE) { in parport_ieee1284_write_compat() 52 port->physport->ieee1284.phase = IEEE1284_PH_FWD_DATA; in parport_ieee1284_write_compat() 56 unsigned long expire = jiffies + dev->timeout; in parport_ieee1284_write_compat() 112 pr_debug("%s: Timed out\n", port->name); in parport_ieee1284_write_compat() [all …]
|
/linux/drivers/media/rc/ |
H A D | rc-ir-raw.c | 1 // SPDX-License-Identifier: GPL-2.0 2 // rc-ir-raw.c - handle IR pulse/space events 11 #include "rc-core-priv.h" 26 struct rc_dev *dev = raw->dev; in ir_raw_event_thread() 30 while (kfifo_out(&raw->kfifo, &ev, 1)) { in ir_raw_event_thread() 33 dev_warn_once(&dev->dev, "nonsensical timing event of duration 0"); in ir_raw_event_thread() 34 if (is_timing_event(raw->prev_ev) && in ir_raw_event_thread() 35 !is_transition(&ev, &raw->prev_ev)) in ir_raw_event_thread() 36 dev_warn_once(&dev->dev, "two consecutive events of type %s", in ir_raw_event_thread() 40 if (dev->enabled_protocols & in ir_raw_event_thread() [all …]
|
/linux/drivers/net/wireless/ti/wl1251/ |
H A D | ps.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 /* in ms */ 26 mutex_lock(&wl->mutex); in wl1251_elp_work() 28 if (wl->elp || wl->station_mode == STATION_ACTIVE_MODE) in wl1251_elp_work() 33 wl->elp = true; in wl1251_elp_work() 36 mutex_unlock(&wl->mutex); in wl1251_elp_work() 46 if (wl->station_mode != STATION_ACTIVE_MODE) { in wl1251_ps_elp_sleep() 48 ieee80211_queue_delayed_work(wl->hw, &wl->elp_work, delay); in wl1251_ps_elp_sleep() 54 unsigned long timeout, start; in wl1251_ps_elp_wakeup() local 57 cancel_delayed_work(&wl->elp_work); in wl1251_ps_elp_wakeup() [all …]
|
/linux/drivers/net/ethernet/atheros/atl1e/ |
H A D | atl1e_hw.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright(c) 1999 - 2005 Intel Corporation. All rights reserved. 36 * 00-0B-6A-F6-00-DC in atl1e_hw_set_mac_addr() 40 value = (((u32)hw->mac_addr[2]) << 24) | in atl1e_hw_set_mac_addr() 41 (((u32)hw->mac_addr[3]) << 16) | in atl1e_hw_set_mac_addr() 42 (((u32)hw->mac_addr[4]) << 8) | in atl1e_hw_set_mac_addr() 43 (((u32)hw->mac_addr[5])) ; in atl1e_hw_set_mac_addr() 46 value = (((u32)hw->mac_addr[0]) << 8) | in atl1e_hw_set_mac_addr() 47 (((u32)hw->mac_addr[1])) ; in atl1e_hw_set_mac_addr() 62 if (is_valid_ether_addr(hw->perm_mac_addr)) in atl1e_get_permanent_address() [all …]
|
/linux/Documentation/ABI/testing/ |
H A D | sysfs-block-device | 4 Contact: linux-ide@vger.kernel.org 12 0 OFF - the LED is not activated on activity 13 1 BLINK_ON - the LED blinks on every 10ms when activity is 15 2 BLINK_OFF - the LED is on when idle, and blinks off 16 every 10ms when activity is detected. 26 Contact: linux-ide@vger.kernel.org 34 - If the device does not support the unload heads feature, 35 access is denied with -EOPNOTSUPP. 36 - The maximal value accepted for a timeout is 30000 38 - A previously set timeout can be cancelled and disk can resume [all …]
|
/linux/Documentation/devicetree/bindings/display/panel/ |
H A D | panel-edp.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/display/panel/panel-edp.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Douglas Anderson <dianders@chromium.org> 14 to a Embedded DisplayPort AUX bus (see display/dp-aux-bus.yaml) without 17 board, either for second-sourcing purposes or to support multiple SKUs 51 :<T1>:<T2>: :<--T10-->:<T11>:<T12>: 52 : +-----------------------+---------+---------+ 53 eDP -----------+ Black video | Src vid | Blk vid + [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/usb/phy/ |
H A D | phy-fsl-usb.h | 1 /* SPDX-License-Identifier: GPL-2.0+ */ 4 #include <linux/usb/otg-fsm.h> 30 /* bit 9-8 are async schedule park mode count */ 37 /* bit 23-16 are interrupt threshold control */ 99 /* bit 11-10 are line status */ 106 /* bit 15-14 are port indicator control */ 113 /* bit 19-16 are port test control */ 122 /* bit 27-26 are port speed */ 134 /* bit 31-30 are port transceiver select */ 230 * A-DEVICE timing constants [all …]
|
/linux/drivers/input/mouse/ |
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 …]
|
H A D | cyapa_gen3.c | 9 * Copyright (C) 2011-2015 Cypress Semiconductor, Inc. 10 * Copyright (C) 2011-2012 Google, Inc. 60 * Used in register 0x00, bit1-0, DeviceStatus field. 88 * bit 7 - 4: high 4 bits of x position value 89 * bit 3 - 0: high 4 bits of y position value 95 /* id range is 1 - 15. It is incremented with every new touch. */ 101 * bit 0 - 1: device status 102 * bit 3 - 2: power mode 103 * bit 6 - 4: reserved 108 * bit 7 - 4: number of fingers currently touching pad [all …]
|
/linux/Documentation/devicetree/bindings/mfd/ |
H A D | st,stmpe.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: /schemas/spi/spi-peripheral-props.yaml# 23 - st,stmpe601 24 - st,stmpe801 25 - st,stmpe811 26 - st,stmpe1600 27 - st,stmpe1601 [all …]
|
/linux/Documentation/accel/qaic/ |
H A D | qaic.rst | 1 .. SPDX-License-Identifier: GPL-2.0-only 14 -------------------- 21 non-empty and generate MSIs at a rate equivalent to the speed of the 42 --------------- 72 QAIC handles and enforces the required little endianness and 64-bit alignment, 128 call is non-blocking. Success only indicates that the BOs have been queued 143 processed and can be re-queued to the device, or a timeout occurs. 153 is the inverse of DRM_IOCTL_QAIC_ATTACH_SLICE_BO. The BO must be idle for 186 Sets the timeout value for MHI operations in milliseconds (ms). Must be set 191 Sets the timeout value for QSM responses to NNC messages in seconds (s). Must [all …]
|
/linux/Documentation/w1/masters/ |
H A D | ds2490.rst | 13 ----------- 16 which allows to build USB <-> W1 bridges. 18 DS9490(R) is a USB <-> W1 bus master device 20 low-level operational chip. 24 - The weak pullup current is a minimum of 0.9mA and maximum of 6.0mA. 25 - The 5V strong pullup is supported with a minimum of 5.9mA and a 27 - The hardware will detect when devices are attached to the bus on the 31 - The number of USB bus transactions could be reduced if w1_reset_send 40 - The hardware supports normal, flexible, and overdrive bus 42 - The registered w1_bus_master functions don't define error [all …]
|
/linux/drivers/gpu/drm/i915/gt/ |
H A D | selftest_hangcheck.c | 1 // SPDX-License-Identifier: MIT 30 #define IGT_IDLE_TIMEOUT 50 /* ms; time to wait after flushing between tests */ 47 h->gt = gt; in hang_init() 49 h->ctx = kernel_context(gt->i915, NULL); in hang_init() 50 if (IS_ERR(h->ctx)) in hang_init() 51 return PTR_ERR(h->ctx); in hang_init() 53 GEM_BUG_ON(i915_gem_context_is_bannable(h->ctx)); in hang_init() 55 h->hws = i915_gem_object_create_internal(gt->i915, PAGE_SIZE); in hang_init() 56 if (IS_ERR(h->hws)) { in hang_init() 57 err = PTR_ERR(h->hws); in hang_init() [all …]
|
/linux/drivers/peci/controller/ |
H A D | peci-npcm.c | 1 // SPDX-License-Identifier: GPL-2.0 31 /* NPCM_PECI_CTL_STS - 0x00 : Control Register */ 38 /* NPCM_PECI_RD_LENGTH - 0x04 : Command Register */ 41 /* NPCM_PECI_CMD - 0x10 : Command Register */ 44 /* NPCM_PECI_WR_LENGTH - 0x1C : Command Register */ 47 /* NPCM_PECI_PDDR - 0x2C : Command Register */ 75 struct npcm_peci *priv = dev_get_drvdata(controller->dev.parent); in npcm_peci_xfer() 76 unsigned long timeout = msecs_to_jiffies(priv->cmd_timeout_ms); in npcm_peci_xfer() local 81 /* Check command sts and bus idle state */ in npcm_peci_xfer() 82 ret = regmap_read_poll_timeout(priv->regmap, NPCM_PECI_CTL_STS, cmd_sts, in npcm_peci_xfer() [all …]
|
/linux/arch/arm/mach-zynq/ |
H A D | platsmp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 6 * Copyright (C) 2011-2013 Xilinx 8 * based on linux/arch/arm/mach-realview/platsmp.c 20 #include <linux/irqchip/arm-gic.h> 32 u32 trampoline_code_size = &zynq_secondary_trampoline_end - in zynq_cpun_start() 36 /* MS: Expectation that SLCR are directly map and accessible */ in zynq_cpun_start() 41 u32 trampoline_size = &zynq_secondary_trampoline_jump - in zynq_cpun_start() 50 return -1; in zynq_cpun_start() 80 return -1; in zynq_cpun_start() 84 static int zynq_boot_secondary(unsigned int cpu, struct task_struct *idle) in zynq_boot_secondary() argument [all …]
|
/linux/Documentation/networking/device_drivers/hamradio/ |
H A D | z8530drv.rst | 1 .. SPDX-License-Identifier: GPL-2.0 5 SCC.C - Linux driver for Z8530 based HDLC cards for AX.25 14 1. ftp://ftp.ccac.rwth-aachen.de/pub/jr/z8530drv-utils_3.0-3.tar.gz 16 2. ftp://ftp.pspt.fi/pub/ham/linux/ax25/z8530drv-utils_3.0-3.tar.gz 41 AX.25-HOWTO on how to emulate a KISS TNC on network device drivers. 54 please read 'man insmod' that comes with module-init-tools. 64 of your rc.*-files. This has to be done BEFORE you can 92 - this is just a delimiter to make sccinit a bit simpler to 96 - the address of the data port A of this Z8530 (needed) 98 - the address of the control port A (needed) [all …]
|
/linux/include/linux/ |
H A D | scc.h | 1 /* SPDX-License-Identifier: GPL-2.0 */ 30 unsigned char txdelay; /* Transmit Delay 10 ms/cnt */ 31 unsigned char persist; /* Persistence (0-255) as a % */ 37 unsigned int mintime; /* Minimal offtime after MAXKEYUP timeout (seconds) */ 38 unsigned int idletime; /* Maximum idle time in ALWAYS KEYED mode (seconds) */
|
/linux/drivers/block/ |
H A D | swim3.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 24 #include <linux/blk-mq.h> 45 idle, enumerator 182 int cur_cyl; /* cylinder head is on, or -1 */ 193 int write_prot; /* 1 if write-protected, 0 if not, -1 dunno */ 197 struct timer_list timeout; member 209 #define swim3_err(fmt, arg...) dev_err(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 210 #define swim3_warn(fmt, arg...) dev_warn(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 211 #define swim3_info(fmt, arg...) dev_info(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) 214 #define swim3_dbg(fmt, arg...) dev_dbg(&fs->mdev->ofdev.dev, "[fd%d] " fmt, fs->index, arg) [all …]
|
/linux/drivers/gpu/drm/gma500/ |
H A D | cdv_intel_display.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright © 2006-2011 Intel Corporation 57 /* The single-channel range is 25-112Mhz, and dual-channel 58 * is 80-224Mhz. Prefer single channel as much as possible. 113 #define _wait_for(COND, MS, W) ({ \ argument 114 unsigned long timeout__ = jiffies + msecs_to_jiffies(MS); \ 118 ret__ = -ETIMEDOUT; \ 127 #define wait_for(COND, MS) _wait_for(COND, MS, 1) argument 136 DRM_ERROR("timeout waiting for SB to idle before read\n"); in cdv_sb_read() 148 DRM_ERROR("timeout waiting for SB to idle after read\n"); in cdv_sb_read() [all …]
|
/linux/drivers/net/wireless/ath/ath6kl/ |
H A D | target.h | 2 * Copyright (c) 2004-2010 Atheros Communications Inc. 134 #define MS(f, v) (((v) & f) >> f##_S) macro 161 * Pointer to application-defined area, if any. 175 * General-purpose flag bits, similar to ATH6KL_OPTION_* flags. 225 u32 hi_num_bpatch_streams; /* 0x70 -- unused */ 251 * 0xa8 - [1]: 0 = UART FC active low, 1 = UART FC active high 252 * [31:16]: wakeup timeout in ms 273 * 0xbc - [31:0]: idle timeout in ms 281 /* If non-zero, override values sent to Host in WMI_READY event. */ 286 * Percentage of high priority RX traffic to total expected RX traffic - [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-helper-sgmii.c | 7 * Copyright (C) 2003-2018 Cavium, Inc. 14 * AS-IS and WITHOUT ANY WARRANTY; without even the implied warranty 21 * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 35 #include <asm/octeon/cvmx-config.h> 37 #include <asm/octeon/cvmx-helper.h> 38 #include <asm/octeon/cvmx-helper-board.h> 40 #include <asm/octeon/cvmx-gmxx-defs.h> 41 #include <asm/octeon/cvmx-pcsx-defs.h> 42 #include <asm/octeon/cvmx-pcsxx-defs.h> 54 const uint64_t clock_mhz = cvmx_sysinfo_get()->cpu_clock_hz / 1000000; in __cvmx_helper_sgmii_hardware_init_one_time() [all …]
|