Home
last modified time | relevance | path

Searched +full:timeout +full:- +full:ms (Results 1 – 25 of 1001) sorted by relevance

12345678910>>...41

/linux/drivers/usb/typec/
H A Dmode_selection.c1 // SPDX-License-Identifier: GPL-2.0-only
16 * struct mode_state - State tracking for a specific Type-C alternate mode
30 * struct mode_selection - Manages the selection and state of Alternate Modes
34 * @partner: Handle to the Type-C partner device
36 * @timeout: Timeout for a mode entry attempt, ms
37 * @delay: Delay between mode entry/exit attempts, ms
46 unsigned int timeout; member
51 * struct mode_order - Mode activation tracking
69 if (order->svid == alt->svid) { in activate_altmode()
70 if (alt->ops && alt->ops->activate) in activate_altmode()
[all …]
/linux/drivers/gpu/drm/i915/
H A DKconfig.profile2 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 …]
H A Di915_wait_util.h1 /* SPDX-License-Identifier: MIT */
14 * __wait_for - magic wait macro
16 * Macro to help avoid open coding check/wait/timeout patterns. Note that it's
18 * timeout could be due to preemption or similar and we've never had a chance to
19 * check the condition before the timeout.
28 /* Guarantee COND check prior to timeout */ \
36 ret__ = -ETIMEDOUT; \
48 #define wait_for(COND, MS) _wait_for((COND), (MS) * 1000, 10, 1000) argument
64 int cpu, ret, timeout = (US) * 1000; \
76 /* Guarantee COND check prior to timeout */ \
[all …]
/linux/Documentation/devicetree/bindings/input/
H A Diqs269a.yaml1 # 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 Diqs626a.yaml1 # 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 Dcvmx-spi.c7 * 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 Dgpio-poweroff.yaml1 # 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 Ddevlink_linecard.sh2 # 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 Dazoteq,iqs7211.yaml1 # 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 Dcypress,cy8ctma340.yaml1 # 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 <linusw@kernel.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 Dip_vs_sync.c1 // 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.
60 #define IP_VS_SYNC_GROUP 0xe0000051 /* multicast addr - 224.0.0.81 */
99 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
101 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
103 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
105 +-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+-+
[all …]
/linux/Documentation/devicetree/bindings/peci/
H A Dpeci-controller.yaml1 # 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 Drtc-mc146818-lib.c1 // 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/kernel/time/
H A Dsleep_timeout.c1 // SPDX-License-Identifier: GPL-2.0
3 * Kernel internal schedule timeout and sleeping functions
12 #include "tick-internal.h"
25 struct process_timer *timeout = timer_container_of(timeout, t, timer); in process_timeout() local
27 wake_up_process(timeout->task); in process_timeout()
31 * schedule_timeout - sleep until timeout
32 * @timeout: timeout value in jiffies
34 * Make the current task sleep until @timeout jiffies have elapsed.
38 * %TASK_RUNNING - the scheduler is called, but the task does not sleep
42 * %TASK_UNINTERRUPTIBLE - at least @timeout jiffies are guaranteed to
[all …]
/linux/drivers/parport/
H A Dieee1284.c2 * 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 Dhvsi_lib.c1 // 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 Dfutex.c1 // 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 in run_test()
[all...]
/linux/arch/powerpc/include/asm/
H A Ddelay.h1 /* 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 Dtrf7970a.c1 // 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/xe/
H A Dxe_hw_engine_types.h1 /* SPDX-License-Identifier: MIT */
69 * struct xe_hw_engine_class_intf - per hw engine class struct interface
82 /** @sched_props.set_job_timeout: Set job timeout in ms for engine */
84 /** @sched_props.job_timeout_min: Min job timeout in ms for engine */
86 /** @sched_props.job_timeout_max: Max job timeout in ms for engine */
88 /** @sched_props.timeslice_us: timeslice period in micro-seconds */
90 /** @sched_props.timeslice_min: min timeslice period in micro-seconds */
92 /** @sched_props.timeslice_max: max timeslice period in micro-seconds */
94 /** @sched_props.preempt_timeout_us: preemption timeout in micro-seconds */
96 /** @sched_props.preempt_timeout_min: min preemption timeout in micro-seconds */
[all …]
/linux/drivers/gpu/drm/nouveau/nvkm/subdev/i2c/
H A Dauxgm200.c35 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 Dauxg94.c35 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/drivers/media/tuners/
H A Dit913x.c1 // 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/tools/testing/selftests/net/netfilter/
H A Dnft_zones_many.sh19 checktool "nft --version" "run test without nft tool"
20 checktool "socat -V" "run test without socat tool"
26 if conntrack -V > /dev/null 2>&1; then
33 ip netns exec "$ns1" nft -f /dev/stdin<<EOF
41 type filter hook output priority -64000; policy accept;
46 if [ "$?" -ne 0 ];then
51 ip netns exec "$ns1" sysctl -q net.netfilter.nf_conntrack_udp_timeout=3600
56 echo -n "$i : $i"
57 if [ "$i" -lt "$max_zones" ]; then
63 ) | ip netns exec "$ns1" nft -f /dev/stdin
[all …]
/linux/arch/x86/platform/olpc/
H A Dolpc.c1 // 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 …]

12345678910>>...41