/linux/drivers/gpu/drm/i915/ |
H A D | Kconfig.profile | 2 int "Default timeout for requests (ms)" 5 Configures the default timeout after which any user submissions will 13 May be 0 to disable the timeout. 16 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 21 make forward progress. This value specifies the timeout used for an 24 May be 0 to disable the timeout, and rely on the foreign fence being 28 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 35 that complements the runtime-pm autosuspend and provides a lower 42 int "Interval between heartbeat pulses (ms)" 46 check the health of the GPU and undertake regular house-keeping of [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> 55 #include "tick-internal.h" 86 * timeout timers (networking, disk I/O ...) are canceled before expiry. If [all …]
|
/linux/Documentation/devicetree/bindings/input/ |
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# 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 26 - azoteq,iqs269a-d0 [all …]
|
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# 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": 37 azoteq,suspend-mode: [all …]
|
/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 7 * Copyright (c) 2003-2008 Cavium Networks 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 34 #include <asm/octeon/cvmx-config.h> 36 #include <asm/octeon/cvmx-pko.h> 37 #include <asm/octeon/cvmx-spi.h> 39 #include <asm/octeon/cvmx-spxx-defs.h> 40 #include <asm/octeon/cvmx-stxx-defs.h> 41 #include <asm/octeon/cvmx-srxx-defs.h> 100 * @timeout: Timeout to wait for clock synchronization in seconds [all …]
|
/linux/Documentation/devicetree/bindings/power/reset/ |
H A D | gpio-poweroff.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/power/reset/gpio-poweroff.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Sebastian Reichel <sre@kernel.org> 15 from inactive to active. After a delay (active-delay-ms) it 17 delay (inactive-delay-ms) it is configured as active again. 19 the system is still running after waiting some time (timeout-ms). 22 - $ref: restart-handler.yaml# 26 const: gpio-poweroff [all …]
|
/linux/tools/testing/selftests/drivers/net/mlxsw/ |
H A D | devlink_linecard.sh | 2 # SPDX-License-Identifier: GPL-2.0 5 # LC_SLOT - If not set, all probed line cards are going to be tested, 41 devlink lc show $DEVLINK_DEV lc $lc -j | jq -e -r ".[][][].state" 48 local timeout=$3 # ms 50 busywait "$timeout" until_lc_state_is_not "$state" lc_state_get "$lc" 57 local timeout=$3 # ms 59 busywait "$timeout" until_lc_state_is "$state" lc_state_get "$lc" 75 devlink port -j | jq -e -r ".[][] | select(.lc==$lc) | .port" | wc -l 82 local timeout=$3 # ms 84 busywait "$timeout" until_lc_port_count_is "$port_count" lc_port_count_get "$lc" [all …]
|
/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 …]
|
H A D | cypress,cy8ctma340.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 14 - Javier Martinez Canillas <javier@dowhile0.org> 15 - Linus Walleij <linus.walleij@linaro.org> 18 - $ref: touchscreen.yaml# 26 - const: cypress,cy8ctma340 27 - const: cypress,cy8ctst341 28 - const: cypress,cyttsp-spi 31 - const: cypress,cyttsp-i2c [all …]
|
/linux/net/netfilter/ipvs/ |
H A D | ip_vs_sync.c | 1 // SPDX-License-Identifier: GPL-2.0 6 * high-performance and highly available server based on a 13 * time-outs, and firewall marks. 15 * Ver. 0 can be turned on by sysctl -w net.ipv4.vs.sync_version=0 32 * Persistence support, fwmark and time-out. 61 #define IP_VS_SYNC_GROUP 0xe0000051 /* multicast addr - 224.0.0.81 */ 100 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 102 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 104 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ 106 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+ [all …]
|
/linux/Documentation/devicetree/bindings/serial/ |
H A D | pl011.yaml | 1 # SPDX-License-Identifier: GPL-2.0 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Rob Herring <robh@kernel.org> 13 - $ref: /schemas/arm/primecell.yaml# 14 - $ref: serial.yaml# 22 - arm,pl011 24 - compatible 29 - const: arm,pl011 30 - const: arm,primecell [all …]
|
/linux/Documentation/devicetree/bindings/peci/ |
H A D | peci-controller.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 4 $id: http://devicetree.org/schemas/peci/peci-controller.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Iwona Winiarska <iwona.winiarska@intel.com> 19 pattern: "^peci-controller(@.*)?$" 21 cmd-timeout-ms: 23 Command timeout in units of ms. 28 - | 29 peci-controller@1e78b000 { [all …]
|
/linux/drivers/rtc/ |
H A D | rtc-mc146818-lib.c | 1 // SPDX-License-Identifier: GPL-2.0-only 16 * Execute a function while the UIP (Update-in-progress) bit of the RTC is 17 * unset. The timeout is configurable by the caller in ms. 22 int timeout, in mc146818_avoid_UIP() argument 29 for (i = 0; UIP_RECHECK_LOOPS_MS(i) < timeout; i++) { in mc146818_avoid_UIP() 34 * readout is unspecified. The maximum update time is ~2ms. Poll in mc146818_avoid_UIP() 81 pr_warn("Reading current time from RTC took around %li ms\n", in mc146818_avoid_UIP() 91 * If the UIP (Update-in-progress) bit of the RTC is set for more then 92 * 10ms, the RTC is apparently broken or not present. 119 * by the RTC when initially set to a non-zero value. in mc146818_get_time_callback() [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 …]
|
/linux/drivers/tty/hvc/ |
H A D | hvsi_lib.c | 1 // SPDX-License-Identifier: GPL-2.0 12 packet->seqno = cpu_to_be16(atomic_inc_return(&pv->seqno)); in hvsi_send_packet() 15 return pv->put_chars(pv->termno, (u8 *)packet, packet->len); in hvsi_send_packet() 23 pv->established = 0; in hvsi_start_handshake() 24 atomic_set(&pv->seqno, 0); in hvsi_start_handshake() 26 pr_devel("HVSI@%x: Handshaking started\n", pv->termno); in hvsi_start_handshake() 39 pv->established = 0; in hvsi_send_close() 50 pv->mctrl |= TIOCM_CD; in hvsi_cd_change() 52 pv->mctrl &= ~TIOCM_CD; in hvsi_cd_change() 60 if (!pv->is_console && pv->opened) { in hvsi_cd_change() [all …]
|
/linux/tools/testing/selftests/timens/ |
H A D | futex.c | 1 // SPDX-License-Identifier: GPL-2.0 23 struct timespec timeout, end; in run_test() local 29 clock_gettime(clockid, &timeout); in run_test() 30 timeout.tv_nsec += NSEC_PER_SEC / 10; // 100ms in run_test() 31 if (timeout.tv_nsec > NSEC_PER_SEC) { in run_test() 32 timeout.tv_sec++; in run_test() 33 timeout.tv_nsec -= NSEC_PER_SEC; in run_test() 37 &timeout, 0, FUTEX_BITSET_MATCH_ANY) >= 0) { in run_test() 50 if (end.tv_sec < timeout.tv_sec || in run_test() 51 (end.tv_sec == timeout.tv_sec && end.tv_nsec < timeout.tv_nsec)) { in run_test() [all …]
|
/linux/sound/soc/intel/common/ |
H A D | sst-dsp.c | 1 // SPDX-License-Identifier: GPL-2.0-only 13 #include <linux/io-64-nonatomic-lo-hi.h> 16 #include "sst-dsp.h" 17 #include "sst-dsp-priv.h" 20 #include <trace/events/intel-sst.h> 22 /* Internal generic low-level SST IO functions - can be overidden */ 52 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_write() 53 sst->ops->write(sst->addr.shim, offset, value); in sst_dsp_shim_write() 54 spin_unlock_irqrestore(&sst->spinlock, flags); in sst_dsp_shim_write() 63 spin_lock_irqsave(&sst->spinlock, flags); in sst_dsp_shim_read() [all …]
|
/linux/arch/powerpc/include/asm/ |
H A D | delay.h | 1 /* SPDX-License-Identifier: GPL-2.0-or-later */ 23 * is supposed to take 1ms, the hypervisor could sleep our partition for 24 * longer (eg 10ms). With the right timing these errors can add up. 34 * spin_event_timeout - spin until a condition gets true or a timeout elapses 36 * @timeout: timeout, in microseconds 40 * The process spins until the condition evaluates to true (non-zero) or the 41 * timeout elapses. The return value of this macro is the value of 44 * timeout has occurred. 47 * until a status bit changes. The timeout ensures that the loop still 51 * gcc will optimize out the if-statement if @delay is a constant. [all …]
|
/linux/drivers/nfc/ |
H A D | trf7970a.c | 1 // SPDX-License-Identifier: GPL-2.0-only 5 * Copyright (C) 2013 Texas Instruments Incorporated - http://www.ti.com 39 * when EN2 is left low. The 'en2-rf-quirk' device tree property 46 * interrupts, however. That is, an interrupt and a timeout could occur 48 * executes. When the timeout handler executes first and blocks the 51 * When the interrupt handler executes first and blocks the timeout handler, 53 * work item (i.e., timeout) and will return zero. That return code is 54 * used by the timer handler to indicate that it should ignore the timeout 62 * has sent the command to the tag, it simply returns -ECANCELED. If the 65 * sending the data upstream, it frees the rx_skb and sends -ECANCELED [all …]
|
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
H A D | auxgm200.c | 35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_fini() 36 nvkm_mask(device, 0x00d954 + (aux->ch * 0x50), 0x00710000, 0x00000000); in gm200_i2c_aux_fini() 42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in gm200_i2c_aux_init() 46 u32 ctrl, timeout; in gm200_i2c_aux_init() local 48 /* wait up to 1ms for any previous transaction to be done... */ in gm200_i2c_aux_init() 49 timeout = 1000; in gm200_i2c_aux_init() 51 ctrl = nvkm_rd32(device, 0x00d954 + (aux->ch * 0x50)); in gm200_i2c_aux_init() 53 if (!timeout--) { in gm200_i2c_aux_init() 54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in gm200_i2c_aux_init() 55 return -EBUSY; in gm200_i2c_aux_init() [all …]
|
H A D | auxg94.c | 35 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_fini() 36 nvkm_mask(device, 0x00e4e4 + (aux->ch * 0x50), 0x00310000, 0x00000000); in g94_i2c_aux_fini() 42 struct nvkm_device *device = aux->base.pad->i2c->subdev.device; in g94_i2c_aux_init() 46 u32 ctrl, timeout; in g94_i2c_aux_init() local 48 /* wait up to 1ms for any previous transaction to be done... */ in g94_i2c_aux_init() 49 timeout = 1000; in g94_i2c_aux_init() 51 ctrl = nvkm_rd32(device, 0x00e4e4 + (aux->ch * 0x50)); in g94_i2c_aux_init() 53 if (!timeout--) { in g94_i2c_aux_init() 54 AUX_ERR(&aux->base, "begin idle timeout %08x", ctrl); in g94_i2c_aux_init() 55 return -EBUSY; in g94_i2c_aux_init() [all …]
|
/linux/fs/smb/client/ |
H A D | smb2pdu.h | 1 /* SPDX-License-Identifier: LGPL-2.1 */ 24 /* See MS-SMB2 2.2.43 */ 51 * See MS-SMB2.PDF specification for protocol details. 78 /* SMB 3.1.1 and later dialects. See MS-SMB2 section 2.2.2.1 */ 89 /* Defines for Type field below (see MS-SMB2 2.2.2.2.2.1) */ 137 /* See MS-SMB2 2.2.13.2.11 */ 141 __le32 Timeout; member 153 /* See MS-SMB2 2.2.13.2.12 */ 163 /* See MS-SMB2 2.2.14.2.12 */ 165 __le32 Timeout; member [all …]
|
/linux/drivers/media/tuners/ |
H A D | it913x.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 28 struct it913x_dev *dev = fe->tuner_priv; in it913x_init() 29 struct platform_device *pdev = dev->pdev; in it913x_init() 34 unsigned long timeout; in it913x_init() local 36 dev_dbg(&pdev->dev, "role %u\n", dev->role); in it913x_init() 38 ret = regmap_write(dev->regmap, 0x80ec4c, 0x68); in it913x_init() 44 ret = regmap_read(dev->regmap, 0x80ec86, &utmp); in it913x_init() 51 dev->clk_mode = utmp; in it913x_init() 52 dev->xtal = 2000; in it913x_init() 53 dev->fdiv = 3; in it913x_init() [all …]
|
/linux/arch/x86/platform/olpc/ |
H A D | olpc.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 6 * Copyright © 2007-2008 Andres Salomon <dilinger@debian.org> 19 #include <linux/olpc-ec.h> 29 /* what the timeout *should* be (in ms) */ 32 /* the timeout that bugs in the EC might force us to actually use */ 39 printk(KERN_ERR "olpc-ec: invalid argument to " in olpc_ec_timeout_set() 42 printk(KERN_DEBUG "olpc-ec: using %d ms delay for EC commands.\n", in olpc_ec_timeout_set() 68 for (timeo = ec_timeout; state != desired && timeo; timeo--) { in __wait_on_ibf() 74 timeo < (ec_timeout - EC_BASE_TIMEOUT)) { in __wait_on_ibf() 75 printk(KERN_WARNING "olpc-ec: %d: waited %u ms for IBF!\n", in __wait_on_ibf() [all …]
|
/linux/drivers/watchdog/ |
H A D | shwdt.c | 1 // SPDX-License-Identifier: GPL-2.0-or-later 7 * Copyright (C) 2001 - 2012 Paul Mundt <lethal@linux-sh.org> 9 * 14-Dec-2001 Matt Domsch <Matt_Domsch@dell.com> 12 * 19-Apr-2002 Rob Radez <rob@osinvestor.com> 13 * Added expect close support, made emulated timeout runtime changeable 35 #define DRV_NAME "sh-wdt" 39 * values, consult the asm-sh/watchdog.h. Overload this at module load 43 * something quite higher than 100 (or we need a proper high-res timer 44 * implementation that will deal with this properly), otherwise the 10ms 46 * the SH-4 and SH-5, this isn't necessarily that big of a problem, though [all …]
|