/Linux-v6.1/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> 55 #include "tick-internal.h" 85 * timeout timers (networking, disk I/O ...) are canceled before expiry. If [all …]
|
/Linux-v6.1/drivers/gpu/drm/i915/ |
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-v6.1/Documentation/devicetree/bindings/mfd/ |
D | rohm,bd9576-pmic.yaml | 1 # SPDX-License-Identifier: GPL-2.0-only OR BSD-2-Clause 3 --- 4 $id: http://devicetree.org/schemas/mfd/rohm,bd9576-pmic.yaml# 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com> 14 powering the R-Car series processors. 21 - rohm,bd9576 22 - rohm,bd9573 32 rohm,vout1-en-low: 35 controlled by a GPIO. This is dictated by state of vout1-en pin during [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/power/reset/ |
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). 23 const: gpio-poweroff 32 it to an output when the power-off sequence is initiated. If this optional [all …]
|
/Linux-v6.1/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-v6.1/Documentation/devicetree/bindings/input/ |
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-v6.1/tools/testing/selftests/drivers/net/mlxsw/ |
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-v6.1/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: serial.yaml# 21 - arm,pl011 23 - compatible 28 - const: arm,pl011 29 - const: arm,primecell 37 pinctrl-0: true [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/input/touchscreen/ |
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 …]
|
D | ti,tsc2005.yaml | 1 # SPDX-License-Identifier: (GPL-2.0-only OR BSD-2-Clause) 3 --- 5 $schema: http://devicetree.org/meta-schemas/core.yaml# 10 - Marek Vasut <marex@denx.de> 11 - Michael Welling <mwelling@ieee.org> 19 - ti,tsc2004 20 - ti,tsc2005 31 reset-gpios: 35 spi-max-frequency: 39 ti,x-plate-ohms: [all …]
|
/Linux-v6.1/Documentation/devicetree/bindings/peci/ |
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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/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-v6.1/fs/cifs/ |
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. 60 (sizeof(struct smb2_err_rsp) - 1 + sizeof(struct smb2_symlink_err_rsp)) 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) */ 147 /* See MS-SMB2 2.2.13.2.11 */ 151 __le32 Timeout; member 163 /* See MS-SMB2 2.2.13.2.12 */ 173 /* See MS-SMB2 2.2.14.2.9 */ [all …]
|
/Linux-v6.1/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/ |
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 …]
|
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 …]
|
/Linux-v6.1/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-v6.1/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
|