Searched refs:timeout (Results 1 - 25 of 2969) sorted by relevance

1234567891011>>

/linux-master/include/linux/platform_data/
H A Di2c-pca-platform.h7 int timeout; /* timeout in jiffies */ member in struct:i2c_pca9564_pf_platform_data
H A Di2c-gpio.h13 * @timeout: clock stretching timeout in jiffies. If the slave keeps
31 int timeout; member in struct:i2c_gpio_platform_data
/linux-master/arch/um/drivers/
H A Dubd.h14 extern int ubd_read_poll(int timeout);
15 extern int ubd_write_poll(int timeout);
/linux-master/include/linux/
H A Dstmp3xxx_rtc_wdt.h11 void (*wdt_set_timeout)(struct device *dev, u32 timeout);
H A Dmv643xx_i2c.h16 u32 timeout; /* In milliseconds */ member in struct:mv64xxx_i2c_pdata
/linux-master/tools/testing/vsock/
H A Dtimeout.c24 #include "timeout.h"
26 static volatile bool timeout; variable
34 timeout = true;
37 /* Start a timeout. Call timeout_check() to verify that the timeout hasn't
38 * expired. timeout_end() must be called to stop the timeout. Timeouts cannot
46 /* Exit with an error message if the timeout has expired */
49 if (timeout) {
55 /* Stop a timeout */
59 timeout
[all...]
/linux-master/tools/testing/selftests/ftrace/test.d/ftrace/
H A Dfunc_stack_tracer.tc12 timeout=10
13 while [ $timeout -ne 0 ]; do
17 timeout=$((timeout - 1))
28 timeout=10
29 while [ $timeout -ne 0 ]; do
33 timeout=$((timeout - 1))
/linux-master/net/netfilter/
H A Dnf_conntrack_timeout.c28 static int untimeout(struct nf_conn *ct, void *timeout) argument
35 t = rcu_access_pointer(timeout_ext->timeout);
37 if (!timeout || t == timeout)
38 RCU_INIT_POINTER(timeout_ext->timeout, NULL);
45 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout) argument
49 .data = timeout,
56 static void __nf_ct_timeout_put(struct nf_ct_timeout *timeout) argument
61 h->timeout_put(timeout);
68 struct nf_ct_timeout *timeout; local
[all...]
H A Dnf_conntrack_proto_generic.c24 unsigned int *timeout = data; local
26 if (!timeout)
27 timeout = &gn->timeout;
30 *timeout =
33 /* Set default generic timeout. */
34 *timeout = gn->timeout;
43 const unsigned int *timeout = data; local
45 if (nla_put_be32(skb, CTA_TIMEOUT_GENERIC_TIMEOUT, htonl(*timeout / H
[all...]
/linux-master/arch/mips/kernel/
H A Dearly_printk_8250.c17 unsigned int timeout)
21 serial8250_tx_timeout = timeout;
36 unsigned int timeout; local
42 timeout = serial8250_tx_timeout;
48 if (--timeout == 0)
52 if (timeout)
16 setup_8250_early_printk_port(unsigned long base, unsigned int reg_shift, unsigned int timeout) argument
/linux-master/drivers/net/wireless/mediatek/mt7601u/
H A Dcore.c29 int timeout)
33 timeout /= 10;
43 } while (timeout-- > 0);
51 int timeout)
55 timeout /= 10;
65 } while (timeout-- > 0);
28 mt76_poll(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, int timeout) argument
50 mt76_poll_msec(struct mt7601u_dev *dev, u32 offset, u32 mask, u32 val, int timeout) argument
/linux-master/drivers/video/fbdev/omap2/omapfb/dss/
H A Ddispc-compat.h14 unsigned long timeout);
/linux-master/kernel/sched/
H A Dcompletion.c82 long (*action)(long), long timeout, int state)
89 timeout = -ERESTARTSYS;
95 timeout = action(timeout);
97 } while (!x->done && timeout);
100 return timeout;
104 return timeout ?: 1;
109 long (*action)(long), long timeout, int state)
116 timeout = do_wait_for_common(x, action, timeout, stat
81 do_wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) argument
108 __wait_for_common(struct completion *x, long (*action)(long), long timeout, int state) argument
125 wait_for_common(struct completion *x, long timeout, int state) argument
131 wait_for_common_io(struct completion *x, long timeout, int state) argument
165 wait_for_completion_timeout(struct completion *x, unsigned long timeout) argument
199 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) argument
236 wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout) argument
285 wait_for_completion_killable_timeout(struct completion *x, unsigned long timeout) argument
[all...]
/linux-master/include/net/netfilter/
H A Dnf_conntrack_timeout.h21 struct nf_ct_timeout __rcu *timeout; member in struct:nf_conn_timeout
28 struct nf_ct_timeout *timeout; local
30 timeout = rcu_dereference(t->timeout);
31 if (timeout == NULL)
34 return (unsigned int *)timeout->data;
52 struct nf_ct_timeout *timeout,
62 rcu_assign_pointer(timeout_ext->timeout, timeout);
84 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout);
51 nf_ct_timeout_ext_add(struct nf_conn *ct, struct nf_ct_timeout *timeout, gfp_t gfp) argument
[all...]
/linux-master/arch/mips/include/asm/octeon/
H A Dcvmx-spi.h57 int timeout);
60 int (*training_cb) (int interface, cvmx_spi_mode_t mode, int timeout);
64 int timeout);
92 * @timeout: Timeout to wait for clock synchronization in seconds
98 int timeout, int num_ports);
110 * @timeout: Timeout to wait for clock synchronization in seconds
114 int timeout);
212 * @timeout: Timeout to wait for clock synchronization in seconds
218 int timeout);
229 * @timeout
[all...]
/linux-master/drivers/clk/mxs/
H A Dclk.c16 unsigned long timeout = jiffies + msecs_to_jiffies(10); local
19 if (time_after(jiffies, timeout))
/linux-master/include/uapi/linux/netfilter/
H A Dxt_IDLETIMER.h23 __u32 timeout; member in struct:idletimer_tg_info
32 __u32 timeout; member in struct:idletimer_tg_info_v1
/linux-master/arch/mips/include/asm/mach-rc32434/
H A Ddma_v.h28 int timeout = 1; local
31 for (timeout = DMA_HALT_TIMEOUT; timeout > 0; timeout--) {
39 return timeout ? 0 : 1;
/linux-master/drivers/pmdomain/actions/
H A Dowl-sps-helper.c21 int timeout; local
35 for (timeout = 5000; timeout > 0; timeout -= 50) {
41 if (timeout <= 0)
/linux-master/drivers/watchdog/
H A Dnpcm_wdt.c74 if (wdd->timeout < 2)
76 else if (wdd->timeout < 3)
78 else if (wdd->timeout < 6)
80 else if (wdd->timeout < 11)
82 else if (wdd->timeout < 22)
84 else if (wdd->timeout < 44)
86 else if (wdd->timeout < 87)
88 else if (wdd->timeout < 173)
90 else if (wdd->timeout < 688)
115 unsigned int timeout)
114 npcm_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
[all...]
/linux-master/tools/testing/selftests/timens/
H A Dfutex.c23 struct timespec timeout, end; local
29 clock_gettime(clockid, &timeout);
30 timeout.tv_nsec += NSEC_PER_SEC / 10; // 100ms
31 if (timeout.tv_nsec > NSEC_PER_SEC) {
32 timeout.tv_sec++;
33 timeout.tv_nsec -= NSEC_PER_SEC;
37 &timeout, 0, FUTEX_BITSET_MATCH_ANY) >= 0) {
50 if (end.tv_sec < timeout.tv_sec ||
51 (end.tv_sec == timeout.tv_sec && end.tv_nsec < timeout
[all...]
/linux-master/tools/testing/selftests/firmware/
H A Dfw_fallback.sh30 local timeout=10
33 timeout=$(( $timeout - 1 ))
34 if [ "$timeout" -eq 0 ]; then
57 local timeout=10
60 timeout=$(( $timeout - 1 ))
61 if [ "$timeout" -eq 0 ]; then
86 local timeout=10
89 timeout
[all...]
/linux-master/drivers/gpu/drm/xe/
H A Dxe_wait_user_fence.c62 long timeout; local
65 * For negative timeout we want to wait "forever" by setting
67 * to args->timeout to avoid being zeroed on the signal delivery
70 if (args->timeout < 0) {
71 args->timeout = MAX_SCHEDULE_TIMEOUT;
75 if (args->timeout == 0)
79 * Save the timeout to an u64 variable because nsecs_to_jiffies
83 t = drm_timeout_abs_to_jiffies(args->timeout);
85 t = nsecs_to_jiffies(args->timeout);
91 * args->timeout shoul
111 long timeout; local
[all...]
/linux-master/drivers/vfio/platform/reset/
H A Dvfio_platform_bcmflexrm.c37 unsigned int timeout; local
43 timeout = 1000; /* timeout of 1s */
50 } while (--timeout);
51 if (!timeout)
55 timeout = 1000; /* timeout of 1s */
62 } while (--timeout);
63 if (!timeout)
/linux-master/arch/mips/loongson2ef/lemote-2f/
H A Dec_kb3310b.c53 int timeout; local
66 timeout = EC_CMD_TIMEOUT;
68 while (timeout-- && (status & (1 << 1))) {
75 if (timeout <= 0) {
76 printk(KERN_ERR "%s: deadable error : timeout...\n", __func__);
81 timeout, EC_CMD_TIMEOUT - timeout, cmd, status);
104 int timeout = 100; local
111 while (timeout-- && !(status & (1 << 0))) {
115 if (timeout <
[all...]

Completed in 485 milliseconds

1234567891011>>