Searched refs:timeout (Results 51 - 75 of 2959) sorted by relevance

1234567891011>>

/linux-master/arch/mips/jazz/
H A Dreset.c41 unsigned long timeout = start + HZ/2; local
46 } while (time_before_eq(jiffies, timeout));
/linux-master/drivers/watchdog/
H A Debc-c384_wdt.c21 * The timeout value in minutes must fit in a single byte when sent to the
22 * watchdog timer; the maximum timeout possible is 15300 (255 * 60) seconds.
35 static unsigned timeout; variable
36 module_param(timeout, uint, 0);
37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
42 unsigned t = wdev->timeout;
65 wdev->timeout = roundup(t, 60);
70 wdev->timeout = t;
106 wdd->timeout
[all...]
H A Darm_smc_wdt.c32 static unsigned int timeout; variable
69 static int smcwd_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
73 res = smcwd_call(wdd, SMCWD_SET_TIMEOUT, timeout, NULL);
75 wdd->timeout = timeout;
138 wdd->timeout = res.a2;
146 watchdog_init_timeout(wdd, timeout, &pdev->dev);
147 err = smcwd_set_timeout(wdd, wdd->timeout);
156 "Watchdog registered (timeout=%d sec, nowayout=%d)\n",
157 wdd->timeout, nowayou
[all...]
H A Dwafer5823wdt.c42 #define WD_TIMO 60 /* 60 sec default timeout */
51 * To enable, write the timeout value in seconds (1 to 255) to I/O
60 static int timeout = WD_TIMO; /* in seconds */ variable
61 module_param(timeout, int, 0);
62 MODULE_PARM_DESC(timeout,
63 "Watchdog timeout in seconds. 1 <= timeout <= 255, default="
84 outb_p(timeout, wdt_start);
174 timeout = new_timeout;
179 return put_user(timeout,
[all...]
H A Dmsc313e_wdt.c24 static unsigned int timeout; variable
26 module_param(timeout, int, 0);
27 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds");
38 u32 timeout; local
45 timeout = wdev->timeout * clk_get_rate(priv->clk);
46 writew(timeout & 0xffff, priv->base + REG_WDT_MAX_PRD_L);
47 writew((timeout >> 16) & 0xffff, priv->base + REG_WDT_MAX_PRD_H);
73 wdev->timeout
[all...]
H A Dtxx9wdt.c26 static unsigned int timeout = TIMER_MARGIN; /* in seconds */ variable
27 module_param(timeout, uint, 0);
28 MODULE_PARM_DESC(timeout,
29 "Watchdog timeout in seconds. "
30 "(0<timeout<((2^" __MODULE_STRING(TXX9_TIMER_BITS) ")/(IMCLK/256)), "
54 __raw_writel(WD_TIMER_CLK * wdt_dev->timeout, &txx9wdt_reg->cpra);
77 wdt_dev->timeout = new_timeout;
124 if (timeout < 1 || timeout > WD_MAX_TIMEOUT)
125 timeout
[all...]
H A Dda9063_wdt.c25 * Watchdog selector to timeout in seconds.
27 * others: timeout = 2048 ms * 2^(TWDSCALE-1).
53 * Read the currently active timeout.
73 da9063_wdt_update_timeout(struct da9063 *da9063, unsigned int timeout) argument
79 * The watchdog triggers a reboot if a timeout value is already
80 * programmed because the timeout value combines two functions
82 * The watchdog must be disabled to be able to change the timeout
84 * new timeout value which enables the watchdog again.
91 regval = da9063_wdt_timeout_to_sel(timeout);
102 ret = da9063_wdt_update_timeout(da9063, wdd->timeout);
144 da9063_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
220 unsigned int timeout; local
[all...]
/linux-master/arch/powerpc/include/asm/
H A Ddelay.h34 * spin_event_timeout - spin until a condition gets true or a timeout elapses
36 * @timeout: timeout, in microseconds
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
53 #define spin_event_timeout(condition, timeout, delay) \
56 unsigned long __loops = tb_ticks_per_usec * timeout; \
/linux-master/drivers/gpu/drm/amd/pm/powerplay/hwmgr/
H A Dcommon_baco.h41 uint32_t timeout; member in struct:baco_cmd_entry
53 uint32_t timeout; member in struct:soc15_baco_cmd_entry
/linux-master/include/xen/interface/
H A Dsched.h74 * optional timeout may be specified.
98 * after timeout, returns watchdog id.
99 * With id != 0 and timeout == 0, destroy domain watchdog timer.
100 * With id != 0 and timeout != 0, poke watchdog timer and set new timeout.
124 uint64_t timeout; member in struct:sched_poll
136 uint32_t timeout; /* timeout */ member in struct:sched_watchdog
/linux-master/include/linux/
H A Dtty_ldisc.h39 int ldsem_down_read(struct ld_semaphore *sem, long timeout);
41 int ldsem_down_write(struct ld_semaphore *sem, long timeout);
48 long timeout);
50 long timeout);
52 # define ldsem_down_read_nested(sem, subclass, timeout) \
53 ldsem_down_read(sem, timeout)
54 # define ldsem_down_write_nested(sem, subclass, timeout) \
55 ldsem_down_write(sem, timeout)
H A Dwait.h295 * on purpose; we use long where we can return timeout values and int
387 #define __wait_event_timeout(wq_head, condition, timeout) \
389 TASK_UNINTERRUPTIBLE, 0, timeout, \
393 * wait_event_timeout - sleep until a condition gets true or a timeout elapses
396 * @timeout: timeout, in jiffies
406 * 0 if the @condition evaluated to %false after the @timeout elapsed,
407 * 1 if the @condition evaluated to %true after the @timeout elapsed,
409 * to %true before the @timeout elapsed.
411 #define wait_event_timeout(wq_head, condition, timeout) \
[all...]
H A Di2c-algo-bit.h35 int timeout; /* in jiffies */ member in struct:i2c_algo_bit_data
H A Dbsg.h12 bool open_for_write, unsigned int timeout);
H A Dcompletion.h108 unsigned long timeout);
110 unsigned long timeout);
112 struct completion *x, unsigned long timeout);
114 struct completion *x, unsigned long timeout);
/linux-master/arch/mips/include/asm/
H A Dsetup.h14 unsigned int reg_shift, unsigned int timeout);
17 unsigned int reg_shift, unsigned int timeout) {}
16 setup_8250_early_printk_port(unsigned long base, unsigned int reg_shift, unsigned int timeout) argument
/linux-master/drivers/base/firmware_loader/
H A Dfallback.c19 * use small loading timeout for caching devices' firmware because all these
30 /* Restores the timeout to the value last configured during normal operation */
42 static inline int fw_sysfs_wait_timeout(struct fw_priv *fw_priv, long timeout) argument
44 return __fw_state_wait_common(fw_priv, timeout);
70 * @timeout: timeout to wait for the load
74 static int fw_load_sysfs_fallback(struct fw_sysfs *fw_sysfs, long timeout) argument
107 timeout = MAX_JIFFY_OFFSET;
110 retval = fw_sysfs_wait_timeout(fw_priv, timeout);
135 long timeout; local
[all...]
/linux-master/drivers/tty/
H A Dtty_ldsem.c156 down_read_failed(struct ld_semaphore *sem, long count, long timeout) argument
198 if (!timeout)
200 timeout = schedule_timeout(timeout);
205 if (!timeout) {
209 * was no timeout; otherwise, cleanup lock wait.
230 down_write_failed(struct ld_semaphore *sem, long count, long timeout) argument
259 if (!timeout)
262 timeout = schedule_timeout(timeout);
295 __ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
314 __ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
337 ldsem_down_read(struct ld_semaphore *sem, long timeout) argument
363 ldsem_down_write(struct ld_semaphore *sem, long timeout) argument
417 ldsem_down_read_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
423 ldsem_down_write_nested(struct ld_semaphore *sem, int subclass, long timeout) argument
[all...]
/linux-master/arch/um/drivers/
H A Dubd_user.c68 int ubd_read_poll(int timeout) argument
71 return poll(&kernel_pollfd, 1, timeout);
73 int ubd_write_poll(int timeout) argument
76 return poll(&kernel_pollfd, 1, timeout);
/linux-master/tools/testing/selftests/powerpc/nx-gzip/include/
H A Dnx.h22 int timeout; /* seconds */ member in struct:nx842_func_args
/linux-master/drivers/staging/media/atomisp/pci/
H A Dia_css_input_port.h56 unsigned int timeout; /** Timeout value */ member in struct:ia_css_input_port
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dsme_trap_no_sm.c32 .timeout = 3,
H A Dsme_trap_za.c31 .timeout = 3,
H A Dfake_sigreturn_misaligned_sp.c35 .timeout = 3,
/linux-master/drivers/gpu/host1x/
H A Dfence.h16 bool timeout; member in struct:host1x_syncpt_fence

Completed in 393 milliseconds

1234567891011>>