Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 1919) sorted by relevance

12345678910>>...77

/linux/Documentation/watchdog/
A Dwatchdog-parameters.rst43 timeout:
44 Watchdog timeout in seconds. 1<= timeout <=63, default=60.
52 timeout:
61 timeout:
82 timeout:
144 timeout:
159 timeout:
169 timeout:
195 timeout:
230 timeout:
[all …]
/linux/drivers/watchdog/
A Dnpcm_wdt.c69 if (wdd->timeout < 2) in npcm_wdt_start()
109 if (timeout < 2) in npcm_wdt_set_timeout()
110 wdd->timeout = 1; in npcm_wdt_set_timeout()
112 wdd->timeout = 2; in npcm_wdt_set_timeout()
114 wdd->timeout = 5; in npcm_wdt_set_timeout()
116 wdd->timeout = 10; in npcm_wdt_set_timeout()
118 wdd->timeout = 21; in npcm_wdt_set_timeout()
120 wdd->timeout = 43; in npcm_wdt_set_timeout()
122 wdd->timeout = 86; in npcm_wdt_set_timeout()
124 wdd->timeout = 172; in npcm_wdt_set_timeout()
[all …]
A Dda9063_wdt.c87 regval = da9063_wdt_timeout_to_sel(timeout); in da9063_wdt_update_timeout()
141 unsigned int timeout) in da9063_wdt_set_timeout() argument
163 wdd->timeout = wdt_timeout[da9063_wdt_timeout_to_sel(timeout)]; in da9063_wdt_set_timeout()
202 unsigned int timeout; in da9063_wdt_probe() local
226 wdd->timeout = DA9063_WDG_TIMEOUT; in da9063_wdt_probe()
229 timeout = da9063_wdt_read_timeout(da9063); in da9063_wdt_probe()
230 if (timeout) in da9063_wdt_probe()
231 wdd->timeout = timeout; in da9063_wdt_probe()
235 da9063_wdt_set_timeout(wdd, wdd->timeout); in da9063_wdt_probe()
238 if (timeout) { in da9063_wdt_probe()
[all …]
A Dnic7018_wdt.c33 static unsigned int timeout; variable
34 module_param(timeout, uint, 0);
35 MODULE_PARM_DESC(timeout,
72 if (timeout < 30 && timeout != 16) { in nic7018_get_config()
74 count = timeout / 2 + 1; in nic7018_get_config()
77 count = DIV_ROUND_UP(timeout + 16, 32); in nic7018_get_config()
87 unsigned int timeout) in nic7018_set_timeout() argument
109 nic7018_set_timeout(wdd, wdd->timeout); in nic7018_start()
200 wdd->timeout = WDT_DEFAULT_TIMEOUT; in nic7018_probe()
205 watchdog_init_timeout(wdd, timeout, dev); in nic7018_probe()
[all …]
A Dit87_wdt.c89 static unsigned int timeout = DEFAULT_TIMEOUT; variable
93 module_param(timeout, int, 0);
94 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds, default="
203 return wdt_update_timeout(wdd->timeout); in wdt_start()
228 wdd->timeout = t; in wdt_set_timeout()
319 if (timeout < 1 || timeout > max_units * 60) { in it87_wdt_init()
320 timeout = DEFAULT_TIMEOUT; in it87_wdt_init()
325 if (timeout > max_units) in it87_wdt_init()
326 timeout = wdt_round_time(timeout); in it87_wdt_init()
328 wdt_dev.timeout = timeout; in it87_wdt_init()
[all …]
A Dts4800_wdt.c50 const int timeout; member
81 unsigned int timeout) in ts4800_wdt_set_timeout() argument
87 if (ts4800_wdt_map[i].timeout >= timeout) in ts4800_wdt_set_timeout()
91 wdd->timeout = ts4800_wdt_map[i].timeout; in ts4800_wdt_set_timeout()
150 wdd->min_timeout = ts4800_wdt_map[0].timeout; in ts4800_wdt_probe()
151 wdd->max_timeout = ts4800_wdt_map[MAX_TIMEOUT_INDEX].timeout; in ts4800_wdt_probe()
163 if (!wdd->timeout) in ts4800_wdt_probe()
164 wdd->timeout = wdd->max_timeout; in ts4800_wdt_probe()
165 ts4800_wdt_set_timeout(wdd, wdd->timeout); in ts4800_wdt_probe()
180 wdd->timeout, nowayout); in ts4800_wdt_probe()
A Dvisconti_wdt.c43 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_start() local
47 writel(timeout, priv->base + WDT_MAX); in visconti_wdt_start()
76 u32 timeout = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_get_timeleft() local
79 if (timeout <= cnt) in visconti_wdt_get_timeleft()
81 timeout -= cnt; in visconti_wdt_get_timeleft()
83 return timeout / VISCONTI_WDT_FREQ; in visconti_wdt_get_timeleft()
86 static int visconti_wdt_set_timeout(struct watchdog_device *wdev, unsigned int timeout) in visconti_wdt_set_timeout() argument
91 wdev->timeout = timeout; in visconti_wdt_set_timeout()
92 val = wdev->timeout * VISCONTI_WDT_FREQ; in visconti_wdt_set_timeout()
164 wdev->timeout = min(wdev->max_timeout, WDT_DEFAULT_TIMEOUT); in visconti_wdt_probe()
A Dkempld_wdt.c87 module_param(timeout, uint, 0);
88 MODULE_PARM_DESC(timeout,
132 unsigned int timeout) in kempld_wdt_set_stage_timeout() argument
175 unsigned int timeout; in kempld_wdt_get_timeout() local
193 timeout = stage_timeout; in kempld_wdt_get_timeout()
196 return timeout; in kempld_wdt_get_timeout()
200 unsigned int timeout) in kempld_wdt_set_timeout() argument
218 timeout); in kempld_wdt_set_timeout()
222 wdd->timeout = timeout; in kempld_wdt_set_timeout()
239 if (pretimeout > wdd->timeout) in kempld_wdt_set_pretimeout()
[all …]
A Dsun4v_wdt.c27 static unsigned int timeout; variable
28 module_param(timeout, uint, 0);
29 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
53 hverr = sun4v_mach_set_watchdog(wdd->timeout * 1000, NULL); in sun4v_wdt_ping()
61 unsigned int timeout) in sun4v_wdt_set_timeout() argument
63 wdd->timeout = timeout; in sun4v_wdt_set_timeout()
89 .timeout = WDT_TIMEOUT,
153 watchdog_init_timeout(&wdd, timeout, NULL); in sun4v_wdt_init()
162 wdd.timeout, nowayout); in sun4v_wdt_init()
/linux/net/netfilter/
A Dnf_conntrack_timeout.c36 if (timeout_ext && (!timeout || timeout_ext->timeout == timeout)) in untimeout()
37 RCU_INIT_POINTER(timeout_ext->timeout, NULL); in untimeout()
55 timeout_put(timeout); in __nf_ct_timeout_put()
62 struct nf_ct_timeout *timeout; in nf_ct_set_timeout() local
75 timeout = timeout_find_get(net, timeout_name); in nf_ct_set_timeout()
76 if (!timeout) { in nf_ct_set_timeout()
83 if (timeout->l3num != l3num) { in nf_ct_set_timeout()
87 timeout_name, 3, timeout->l3num); in nf_ct_set_timeout()
93 if (timeout->l4proto->l4proto != l4num) { in nf_ct_set_timeout()
110 __nf_ct_timeout_put(timeout); in nf_ct_set_timeout()
[all …]
A Dnfnetlink_cttimeout.c115 matching = timeout; in cttimeout_new_timeout()
147 if (timeout == NULL) { in cttimeout_new_timeout()
152 ret = ctnl_timeout_parse_policy(&timeout->timeout.data, l4proto, in cttimeout_new_timeout()
158 timeout->timeout.l3num = l3num; in cttimeout_new_timeout()
159 timeout->timeout.l4proto = l4proto; in cttimeout_new_timeout()
165 kfree(timeout); in cttimeout_new_timeout()
176 const struct nf_conntrack_l4proto *l4proto = timeout->timeout.l4proto; in ctnl_timeout_fill_info()
188 htons(timeout->timeout.l3num)) || in ctnl_timeout_fill_info()
198 ret = l4proto->ctnl_timeout.obj_to_nlattr(skb, &timeout->timeout.data); in ctnl_timeout_fill_info()
309 nf_ct_untimeout(net, &timeout->timeout); in ctnl_timeout_try_del()
[all …]
A Dnf_conntrack_proto_generic.c24 unsigned int *timeout = data; in generic_timeout_nlattr_to_obj() local
26 if (!timeout) in generic_timeout_nlattr_to_obj()
27 timeout = &gn->timeout; in generic_timeout_nlattr_to_obj()
30 *timeout = in generic_timeout_nlattr_to_obj()
34 *timeout = gn->timeout; in generic_timeout_nlattr_to_obj()
43 const unsigned int *timeout = data; in generic_timeout_obj_to_nlattr() local
45 if (nla_put_be32(skb, CTA_TIMEOUT_GENERIC_TIMEOUT, htonl(*timeout / HZ))) in generic_timeout_obj_to_nlattr()
64 gn->timeout = nf_ct_generic_timeout; in nf_conntrack_generic_init_net()
/linux/kernel/sched/
A Dcompletion.c72 long (*action)(long), long timeout, int state) in do_wait_for_common() argument
79 timeout = -ERESTARTSYS; in do_wait_for_common()
85 timeout = action(timeout); in do_wait_for_common()
87 } while (!x->done && timeout); in do_wait_for_common()
90 return timeout; in do_wait_for_common()
94 return timeout ?: 1; in do_wait_for_common()
99 long (*action)(long), long timeout, int state) in __wait_for_common() argument
106 timeout = do_wait_for_common(x, action, timeout, state); in __wait_for_common()
111 return timeout; in __wait_for_common()
226 unsigned long timeout) in wait_for_completion_interruptible_timeout() argument
[all …]
/linux/include/linux/
A Dfreezer.h192 __retval = schedule_timeout(timeout); in freezable_schedule_timeout()
205 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible()
216 __retval = schedule_timeout_interruptible(timeout); in freezable_schedule_timeout_interruptible_unsafe()
226 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable()
236 __retval = schedule_timeout_killable(timeout); in freezable_schedule_timeout_killable_unsafe()
293 #define freezable_schedule_timeout(timeout) schedule_timeout(timeout) argument
296 schedule_timeout_interruptible(timeout)
299 schedule_timeout_interruptible(timeout)
301 #define freezable_schedule_timeout_killable(timeout) \ argument
302 schedule_timeout_killable(timeout)
[all …]
A Dwait.h414 long __ret = timeout; \
432 long __ret = timeout; \
532 long __ret = timeout; \
536 condition, timeout); \
726 long __ret = timeout; \
763 long __ret = timeout; \
963 long __ret = timeout; \
967 condition, timeout); \
1141 timeout) \
1143 long __ret = timeout; \
[all …]
A Dswait.h193 #define __swait_event_timeout(wq, condition, timeout) \ argument
195 TASK_UNINTERRUPTIBLE, timeout, \
200 long __ret = timeout; \
202 __ret = __swait_event_timeout(wq, condition, timeout); \
220 TASK_INTERRUPTIBLE, timeout, \
225 long __ret = timeout; \
228 condition, timeout); \
254 #define __swait_event_idle_timeout(wq, condition, timeout) \ argument
256 TASK_IDLE, timeout, \
280 long __ret = timeout; \
[all …]
/linux/tools/testing/selftests/firmware/
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=$(( $timeout - 1 ))
90 if [ "$timeout" -eq 0 ]; then
119 local timeout=10
[all …]
/linux/drivers/gpu/drm/i915/gem/
A Di915_gem_wait.c20 long timeout) in i915_gem_object_wait_fence() argument
25 return timeout; in i915_gem_object_wait_fence()
32 timeout); in i915_gem_object_wait_fence()
38 long timeout) in i915_gem_object_wait_reservation() argument
55 if (timeout < 0) in i915_gem_object_wait_reservation()
79 if (excl && timeout >= 0) in i915_gem_object_wait_reservation()
80 timeout = i915_gem_object_wait_fence(excl, flags, timeout); in i915_gem_object_wait_reservation()
91 return timeout; in i915_gem_object_wait_reservation()
192 long timeout) in i915_gem_object_wait() argument
195 GEM_BUG_ON(timeout < 0); in i915_gem_object_wait()
[all …]
/linux/include/net/netfilter/
A Dnf_conntrack_timeout.h25 struct nf_ct_timeout timeout; member
29 struct nf_ct_timeout __rcu *timeout; member
36 struct nf_ct_timeout *timeout; in nf_ct_timeout_data() local
38 timeout = rcu_dereference(t->timeout); in nf_ct_timeout_data()
39 if (timeout == NULL) in nf_ct_timeout_data()
42 return (unsigned int *)timeout->data; in nf_ct_timeout_data()
60 struct nf_ct_timeout *timeout, in nf_ct_timeout_ext_add() argument
70 rcu_assign_pointer(timeout_ext->timeout, timeout); in nf_ct_timeout_ext_add()
94 void nf_ct_untimeout(struct net *net, struct nf_ct_timeout *timeout);
124 extern void (*nf_ct_timeout_put_hook)(struct nf_ct_timeout *timeout);
/linux/drivers/tty/
A Dtty_ldsem.c198 if (!timeout) in down_read_failed()
200 timeout = schedule_timeout(timeout); in down_read_failed()
205 if (!timeout) { in down_read_failed()
259 if (!timeout) in down_write_failed()
262 timeout = schedule_timeout(timeout); in down_write_failed()
296 int subclass, long timeout) in __ldsem_down_read_nested() argument
305 if (!down_read_failed(sem, count, timeout)) { in __ldsem_down_read_nested()
315 int subclass, long timeout) in __ldsem_down_write_nested() argument
324 if (!down_write_failed(sem, count, timeout)) { in __ldsem_down_write_nested()
340 return __ldsem_down_read_nested(sem, 0, timeout); in ldsem_down_read()
[all …]
/linux/block/
A Dblk-timeout.c109 unsigned long blk_rq_timeout(unsigned long timeout) in blk_rq_timeout() argument
114 if (time_after(timeout, maxt)) in blk_rq_timeout()
115 timeout = maxt; in blk_rq_timeout()
117 return timeout; in blk_rq_timeout()
137 if (!req->timeout) in blk_add_timer()
138 req->timeout = q->rq_timeout; in blk_add_timer()
142 expiry = jiffies + req->timeout; in blk_add_timer()
152 if (!timer_pending(&q->timeout) || in blk_add_timer()
153 time_before(expiry, q->timeout.expires)) { in blk_add_timer()
154 unsigned long diff = q->timeout.expires - expiry; in blk_add_timer()
[all …]
/linux/drivers/input/serio/
A Dlibps2.c26 unsigned int timeout, unsigned int max_attempts) in ps2_do_sendbyte() argument
47 msecs_to_jiffies(timeout)); in ps2_do_sendbyte()
138 msecs_to_jiffies(timeout)); in ps2_drain()
182 if (timeout > msecs_to_jiffies(100)) in ps2_adjust_timeout()
183 timeout = msecs_to_jiffies(100); in ps2_adjust_timeout()
197 timeout = 0; in ps2_adjust_timeout()
208 timeout = 0; in ps2_adjust_timeout()
216 return timeout; in ps2_adjust_timeout()
228 unsigned int timeout; in __ps2_command() local
285 timeout = wait_event_timeout(ps2dev->wait, in __ps2_command()
[all …]
/linux/tools/testing/selftests/timens/
A Dfutex.c23 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()
/linux/tools/testing/selftests/ftrace/test.d/ftrace/
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/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
A Dcommon_baco.c30 u32 timeout = 5000, data; in baco_wait_register() local
35 timeout--; in baco_wait_register()
36 } while (value != (data & mask) && (timeout != 0)); in baco_wait_register()
38 if (timeout == 0) in baco_wait_register()
45 u32 shift, u32 value, u32 timeout) in baco_cmd_handler() argument
64 if (timeout) in baco_cmd_handler()
66 msleep(timeout); in baco_cmd_handler()
69 if (timeout) in baco_cmd_handler()
71 udelay(timeout); in baco_cmd_handler()
94 entry[i].shift, entry[i].val, entry[i].timeout)) in baco_program_registers()
[all …]

Completed in 46 milliseconds

12345678910>>...77