/Linux-v5.10/kernel/time/ |
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" 84 * timeout timers (networking, disk I/O ...) are canceled before expiry. If [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/input/touchscreen/ |
D | cyttsp.txt | 4 - compatible : must be "cypress,cyttsp-i2c" or "cypress,cyttsp-spi" 5 - reg : Device I2C address or SPI chip select number 6 - spi-max-frequency : Maximum SPI clocking speed of the device (for cyttsp-spi) 7 - interrupts : (gpio) interrupt to which the chip is connected 9 - bootloader-key : the 8-byte bootloader key that is required to switch 16 - reset-gpios : the reset gpio the chip is connected to 18 - touchscreen-size-x : horizontal resolution of touchscreen (in pixels) 19 - touchscreen-size-y : vertical resolution of touchscreen (in pixels) 20 - touchscreen-fuzz-x : horizontal noise value of the absolute input device 22 - touchscreen-fuzz-y : vertical noise value of the absolute input device [all …]
|
D | tsc2005.txt | 4 - compatible : "ti,tsc2004" or "ti,tsc2005" 5 - reg : Device address 6 - interrupts : IRQ specifier 7 - spi-max-frequency : Maximum SPI clocking speed of the device 11 - vio-supply : Regulator specifier 12 - reset-gpios : GPIO specifier for the controller reset line 13 - ti,x-plate-ohms : integer, resistance of the touchscreen's X plates 15 - ti,esd-recovery-timeout-ms : integer, if the touchscreen does not respond after 18 - properties defined in touchscreen.txt 26 vio-supply = <&vio>; [all …]
|
/Linux-v5.10/drivers/gpu/drm/i915/ |
D | Kconfig.profile | 2 int "Timeout for unsignaled foreign fences (ms, jiffy granularity)" 7 make forward progress. This value specifies the timeout used for an 10 May be 0 to disable the timeout, and rely on the foreign fence being 14 int "Runtime autosuspend delay for userspace GGTT mmaps (ms)" 21 that complements the runtime-pm autosuspend and provides a lower 28 int "Interval between heartbeat pulses (ms)" 32 check the health of the GPU and undertake regular house-keeping of 42 int "Preempt timeout (ms, jiffy granularity)" 54 May be 0 to disable the timeout. 66 take a non-negligible time to setup, we do a short spin first to [all …]
|
/Linux-v5.10/arch/mips/cavium-octeon/executive/ |
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-v5.10/Documentation/devicetree/bindings/serial/ |
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/serial.yaml# 21 - arm,pl011 22 - zte,zx296702-uart 24 - compatible 29 - items: 30 - const: arm,pl011 [all …]
|
/Linux-v5.10/Documentation/devicetree/bindings/power/reset/ |
D | gpio-poweroff.txt | 9 When the power-off handler is called, the gpio is configured as an 11 condition. This will also cause an inactive->active edge condition, so 12 triggering positive edge triggered power off. After a delay of 100ms, 13 the GPIO is set to inactive, thus causing an active->inactive edge, 14 triggering negative edge triggered power off. After another 100ms 16 the CPU still running after a 3000ms delay, a WARN_ON(1) is emitted. 19 - compatible : should be "gpio-poweroff". 20 - gpios : The GPIO to set high/low, see "gpios property" in 26 - input : Initially configure the GPIO line as an input. Only reconfigure 27 it to an output when the power-off handler is called. If this optional [all …]
|
/Linux-v5.10/drivers/rtc/ |
D | rtc-jz4740.c | 1 // SPDX-License-Identifier: GPL-2.0+ 3 * Copyright (C) 2009-2010, Lars-Peter Clausen <lars@metafoo.de> 66 return readl(rtc->base + reg); in jz4740_rtc_reg_read() 72 int timeout = 10000; in jz4740_rtc_wait_write_ready() local 76 } while (!(ctrl & JZ_RTC_CTRL_WRDY) && --timeout); in jz4740_rtc_wait_write_ready() 78 return timeout ? 0 : -EIO; in jz4740_rtc_wait_write_ready() 84 int ret, timeout = 10000; in jz4780_rtc_enable_write() local 90 writel(JZ_RTC_WENR_MAGIC, rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 93 ctrl = readl(rtc->base + JZ_REG_RTC_WENR); in jz4780_rtc_enable_write() 94 } while (!(ctrl & JZ_RTC_WENR_WEN) && --timeout); in jz4780_rtc_enable_write() [all …]
|
/Linux-v5.10/net/netfilter/ipvs/ |
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-v5.10/Documentation/devicetree/bindings/watchdog/ |
D | ziirave-wdt.txt | 4 - compatible: must be "zii,rave-wdt" 5 - reg: i2c slave address of device, usually 0x38 8 - timeout-sec: Watchdog timeout value in seconds. 9 - reset-duration-ms: Duration of the pulse generated when the watchdog times 15 compatible = "zii,rave-wdt"; 17 timeout-sec = <30>; 18 reset-duration-ms = <30>;
|
/Linux-v5.10/drivers/power/reset/ |
D | gpio-poweroff.c | 1 // SPDX-License-Identifier: GPL-2.0-only 24 static u32 timeout = DEFAULT_TIMEOUT_MS; variable 32 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 36 /* drive inactive, also active->inactive edge */ in gpio_poweroff_do_poweroff() 40 /* drive it active, also inactive->active edge */ in gpio_poweroff_do_poweroff() 44 mdelay(timeout); in gpio_poweroff_do_poweroff() 56 dev_err(&pdev->dev, in gpio_poweroff_probe() 59 return -EBUSY; in gpio_poweroff_probe() 62 input = device_property_read_bool(&pdev->dev, "input"); in gpio_poweroff_probe() 68 device_property_read_u32(&pdev->dev, "active-delay-ms", &active_delay); in gpio_poweroff_probe() [all …]
|
/Linux-v5.10/tools/testing/selftests/timens/ |
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-v5.10/arch/powerpc/include/asm/ |
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-v5.10/drivers/tty/hvc/ |
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, (char *)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-v5.10/drivers/parport/ |
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-v5.10/sound/soc/intel/common/ |
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-v5.10/drivers/watchdog/ |
D | ux500_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0-only 3 * Copyright (C) ST-Ericsson SA 2011-2013 5 * Author: Mathieu Poirier <mathieu.poirier@linaro.org> for ST-Ericsson 6 * Author: Jonas Aaberg <jonas.aberg@stericsson.com> for ST-Ericsson 20 #include <linux/mfd/dbx500-prcmu.h> 25 #define WATCHDOG_MAX28 268435 /* 28 bit resolution in ms == 268435.455 s */ 26 #define WATCHDOG_MAX32 4294967 /* 32 bit resolution in ms == 4294967.295 s */ 28 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 29 module_param(timeout, uint, 0); 30 MODULE_PARM_DESC(timeout, [all …]
|
D | coh901327_wdt.c | 1 // SPDX-License-Identifier: GPL-2.0 5 * Copyright (C) 2008-2009 ST-Ericsson AB 6 * Watchdog driver for the ST-Ericsson AB COH 901 327 IP core 28 /* WDOG_FEED Register 32bit (-/W) */ 34 /* WDOG_DISABLE1 Register 32bit (-/W) */ 47 /* WDOG_COUNT Register 32bit (R/-) */ 56 /* WDOG_RESTART Register 32bit (-/W) */ 70 /* Default timeout in seconds = 1 minute */ 83 static void coh901327_enable(u16 timeout) in coh901327_enable() argument 108 writew(timeout, virtbase + U300_WDOG_TR); in coh901327_enable() [all …]
|
/Linux-v5.10/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
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), 0x00310000, 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 …]
|
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-v5.10/include/media/i2c/ |
D | lm3560.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * Ldd-Mlp <ldd-mlp@list.ti.com> 14 #include <media/v4l2-subdev.h> 28 (((a) - LM3560_FLASH_BRT_MIN) / LM3560_FLASH_BRT_STEP)) 32 /* FLASH TIMEOUT DURATION 33 * min 32ms, step 32ms, max 1024ms 40 (((a) - LM3560_FLASH_TOUT_MIN) / LM3560_FLASH_TOUT_STEP)) 52 (((a) - LM3560_TORCH_BRT_MIN) / LM3560_TORCH_BRT_STEP)) 72 * @max_flash_timeout: flash timeout
|
D | lm3646.h | 1 /* SPDX-License-Identifier: GPL-2.0-only */ 8 * Ldd-Mlp <ldd-mlp@list.ti.com> 14 #include <media/v4l2-subdev.h> 28 ((((a) - LM3646_TOTAL_FLASH_BRT_MIN) / LM3646_TOTAL_FLASH_BRT_STEP))) 38 ((((a) - LM3646_TOTAL_TORCH_BRT_MIN) / LM3646_TOTAL_TORCH_BRT_STEP))) 48 ((((a) - LM3646_LED1_FLASH_BRT_MIN) / LM3646_LED1_FLASH_BRT_STEP))+1) 58 ((((a) - LM3646_LED1_TORCH_BRT_MIN) / LM3646_LED1_TORCH_BRT_STEP))+1) 60 /* FLASH TIMEOUT DURATION 61 * min 50ms, step 50ms, max 400ms 68 (((a) - LM3646_FLASH_TOUT_MIN) / LM3646_FLASH_TOUT_STEP)) [all …]
|
/Linux-v5.10/drivers/nfc/ |
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-v5.10/Documentation/devicetree/bindings/input/ |
D | input-reset.txt | 11 The /chosen node should contain a 'linux,sysrq-reset-seq' child node to define 18 timeout-ms: duration keys must be pressed together in milliseconds before 25 linux,sysrq-reset-seq { 29 timeout-ms = <3000>;
|
/Linux-v5.10/drivers/ide/ |
D | ide-eh.c | 1 // SPDX-License-Identifier: GPL-2.0-only 11 ide_hwif_t *hwif = drive->hwif; in ide_ata_error() 14 ((stat & ATA_DF) && (drive->dev_flags & IDE_DFLAG_NOWERR) == 0)) { in ide_ata_error() 16 scsi_req(rq)->result |= ERROR_RESET; in ide_ata_error() 20 if ((drive->dev_flags & IDE_DFLAG_LBA) && in ide_ata_error() 22 hwif->tp_ops->read_status(hwif) == ATA_CMD_INIT_DEV_PARAMS) in ide_ata_error() 26 drive->crc_count++; in ide_ata_error() 29 scsi_req(rq)->result = ERROR_MAX; in ide_ata_error() 32 scsi_req(rq)->result |= ERROR_RECAL; in ide_ata_error() 37 (hwif->host_flags & IDE_HFLAG_ERROR_STOPS_FIFO) == 0) { in ide_ata_error() [all …]
|