Searched refs:timeout (Results 201 - 225 of 2969) sorted by relevance

1234567891011>>

/linux-master/sound/usb/
H A Dhelper.c76 int timeout; local
88 timeout = USB_CTRL_GET_TIMEOUT;
90 timeout = USB_CTRL_SET_TIMEOUT;
93 value, index, buf, size, timeout);
/linux-master/drivers/watchdog/
H A Dstmp3xxx_rtc_wdt.c32 pdata->wdt_set_timeout(dev->parent, wdd->timeout * WDOG_TICK_RATE);
47 wdd->timeout = new_timeout;
97 stmp3xxx_wdd.timeout = clamp_t(unsigned, heartbeat, 1, STMP3XXX_MAX_TIMEOUT);
108 stmp3xxx_wdd.timeout);
H A Dimx7ulp_wdt.c87 u64 timeout = (val & WDOG_CS_PRES) ? local
94 timeout))
187 unsigned int timeout)
190 u32 toval = wdt->hw->wdog_clock_rate * timeout;
203 wdog->timeout = timeout;
243 static int _imx7ulp_wdt_init(struct imx7ulp_wdt_device *wdt, unsigned int timeout, unsigned int cs) argument
265 /* set an initial timeout value in TOVAL */
266 writel(timeout, wdt->base + WDOG_TOVAL);
278 static int imx7ulp_wdt_init(struct imx7ulp_wdt_device *wdt, unsigned int timeout) argument
186 imx7ulp_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument
377 u32 timeout = imx7ulp_wdt->wdd.timeout * imx7ulp_wdt->hw->wdog_clock_rate; local
[all...]
H A Duniphier_wdt.c44 static unsigned int timeout = 0; variable
129 tmp_timeout = roundup_pow_of_two(w->timeout);
149 if (tmp_timeout == w->timeout)
158 w->timeout = tmp_timeout;
205 wdev->wdt_dev.timeout = WDT_DEFAULT_TIMEOUT;
208 watchdog_init_timeout(&wdev->wdt_dev, timeout, dev);
223 dev_info(dev, "watchdog driver (timeout=%d sec, nowayout=%d)\n",
224 wdev->wdt_dev.timeout, nowayout);
245 module_param(timeout, uint, 0000);
246 MODULE_PARM_DESC(timeout,
[all...]
H A Dsc520_wdt.c35 * - made timeout (the emulated heartbeat) a module_param
44 * because this particular WDT has a very short timeout (1.6
70 * The AMD Elan SC520 timeout value is 492us times a power of 2 (0-7)
75 * We will program the SC520 watchdog for a timeout of 2.01s.
87 #define WATCHDOG_TIMEOUT 30 /* 30 sec default timeout */
89 static int timeout = WATCHDOG_TIMEOUT; variable
90 module_param(timeout, int, 0);
91 MODULE_PARM_DESC(timeout,
92 "Watchdog timeout in seconds. (1 <= timeout <
[all...]
H A Drc32434_wdt.c52 /* Use a default timeout of 20s. This should be
57 static int timeout = WATCHDOG_TIMEOUT; variable
58 module_param(timeout, int, 0);
59 MODULE_PARM_DESC(timeout, "Watchdog timeout value, in seconds (default="
76 pr_err("timeout value must be between 0 and %d\n", max_to);
79 timeout = new_timeout;
81 writel(SEC2WTCOMP(timeout), &wdt_reg->wtcompare);
101 /* reset the ERRCS timeout bit in case it's set */
106 /* set the timeout (eithe
[all...]
H A Dadvantechwdt.c44 #define WATCHDOG_TIMEOUT 60 /* 60 sec default timeout */
54 * To enable or restart, write the timeout value in seconds (1 to 63)
70 static int timeout = WATCHDOG_TIMEOUT; /* in seconds */ variable
71 module_param(timeout, int, 0);
72 MODULE_PARM_DESC(timeout,
73 "Watchdog timeout in seconds. 1<= timeout <=63, default="
89 outb_p(timeout, wdt_start);
101 timeout = t;
182 return put_user(timeout,
[all...]
H A Dmax63xx_wdt.c47 const struct max63xx_timeout *timeout; member in struct:max63xx_wdt
59 * The timeout values used are actually the absolute minimum the chip
61 * (10s setting ends up with a 25s timeout), and can be up to 3 times
67 * I also decided to remove from the tables any timeout smaller than a
130 wdt->set(wdt, wdt->timeout->wdset);
133 if (wdt->timeout->tdelay == 0)
218 wdt->timeout = max63xx_select_timeout(table, heartbeat);
219 if (!wdt->timeout) {
233 wdt->wdd.timeout = wdt->timeout
[all...]
H A Drza_wdt.c35 /* The maximum CKS register setting value to get the longest timeout */
50 static void rza_wdt_calc_timeout(struct rza_wdt *priv, int timeout) argument
56 ticks = DIV_ROUND_UP(timeout * rate, DIVIDER_4BIT);
59 * Since max_timeout was set in probe, we know that the timeout
66 /* Start timer with longest timeout */
70 pr_debug("%s: timeout set to %u (WTCNT=%d)\n", __func__,
71 timeout, priv->count);
85 rza_wdt_calc_timeout(priv, wdev->timeout);
110 pr_debug("%s: timeout = %u\n", __func__, wdev->timeout);
115 rza_set_timeout(struct watchdog_device *wdev, unsigned int timeout) argument
[all...]
H A Dmpc8xxx_wdt.c56 static u16 timeout; variable
57 module_param(timeout, ushort, 0);
58 MODULE_PARM_DESC(timeout,
59 "Watchdog timeout in seconds. (1<timeout<65535, default="
181 ddata->wdd.timeout = WATCHDOG_TIMEOUT;
182 watchdog_init_timeout(&ddata->wdd, timeout, dev);
186 ddata->swtc = min(ddata->wdd.timeout * freq / wdt_type->prescaler,
200 if (ddata->wdd.timeout < ddata->wdd.min_timeout)
201 ddata->wdd.timeout
[all...]
H A Dsprd_wdt.c105 static int sprd_wdt_load_value(struct sprd_wdt *wdt, u32 timeout, argument
109 u32 tmr_step = timeout * SPRD_WDT_CNT_STEP;
184 ret = sprd_wdt_load_value(wdt, wdd->timeout, wdd->pretimeout);
213 u32 timeout)
217 if (timeout == wdd->timeout)
220 wdd->timeout = timeout;
222 return sprd_wdt_load_value(wdt, timeout, wdd->pretimeout);
235 return sprd_wdt_load_value(wdt, wdd->timeout, new_pretimeou
212 sprd_wdt_set_timeout(struct watchdog_device *wdd, u32 timeout) argument
[all...]
H A Dexar_wdt.c64 unsigned char timeout; member in struct:wdt_priv
69 static int timeout = WATCHDOG_TIMEOUT; variable
70 module_param(timeout, int, 0);
71 MODULE_PARM_DESC(timeout,
72 "Watchdog timeout in seconds. 1<=timeout<=15300, default="
134 /* write timeout value twice to arm watchdog */
135 outb(priv->timeout, rt_base + WDT_VAL);
136 outb(priv->timeout, rt_base + WDT_VAL);
200 * if new timeout i
[all...]
/linux-master/arch/x86/kernel/
H A Dnmi_selftest.c67 unsigned long timeout; local
81 timeout = USEC_PER_SEC;
82 while (!cpumask_empty(mask) && --timeout)
85 /* What happens if we timeout, do we still unregister?? */
88 if (!timeout)
/linux-master/include/linux/netfilter/
H A Dnf_conntrack_proto_gre.h10 unsigned int timeout; member in struct:nf_ct_gre
/linux-master/include/linux/mfd/
H A Dmax8998.h79 * @timeout: Full Timeout in hours: 5, 6, 7, and -1 for disable.
97 int timeout; member in struct:max8998_platform_data
/linux-master/tools/testing/selftests/mm/
H A Dmrelease_test.c23 int timeout = 10; /* 10sec timeout to get killed */ local
40 while (getppid() == ppid && timeout > 0) {
42 timeout--;
47 return (timeout > 0) ? KSFT_PASS : KSFT_FAIL;
/linux-master/drivers/gpu/drm/xe/
H A Dxe_hw_engine_class_sysfs.h15 bool xe_hw_engine_timeout_in_range(u64 timeout, u64 min, u64 max);
/linux-master/include/linux/
H A Dwait_bit.h13 unsigned long timeout; member in struct:wait_bit_key
31 int out_of_line_wait_on_bit_timeout(void *word, int, wait_bit_action_f *action, unsigned int mode, unsigned long timeout);
107 * wait_on_bit_timeout - wait for a bit to be cleared or a timeout elapses
111 * @timeout: timeout, in jiffies
115 * timeout parameter.
118 * @timeout elapsed, or non-zero if the @timeout elapsed or process
123 unsigned long timeout)
130 mode, timeout);
122 wait_on_bit_timeout(unsigned long *word, int bit, unsigned mode, unsigned long timeout) argument
[all...]
/linux-master/net/ipv4/
H A Dtcp_recovery.c98 u32 timeout; local
105 tcp_rack_detect_loss(sk, &timeout);
106 if (timeout) {
107 timeout = usecs_to_jiffies(timeout + TCP_TIMEOUT_MIN_US);
109 timeout, inet_csk(sk)->icsk_rto);
111 return !!timeout;
131 * the aRTT term is bounded by the fast recovery or timeout,
152 u32 timeout, prior_inflight; local
156 tcp_rack_detect_loss(sk, &timeout);
[all...]
/linux-master/tools/testing/selftests/net/mptcp/
H A Ddiag.sh99 local timeout=20
107 while [ $i -lt $timeout ]; do
116 if [ $i -ge $timeout ]; then
117 mptcp_lib_pr_fail "timeout while expecting $expected max $max last $nr"
118 mptcp_lib_result_fail "${msg} # timeout"
273 timeout ${timeout_test} \
282 timeout ${timeout_test} \
299 timeout ${timeout_test} \
305 timeout ${timeout_test} \
321 timeout
[all...]
/linux-master/net/mac80211/
H A Dagg-rx.c68 .timeout = 0,
149 unsigned long timeout; local
151 timeout = tid_rx->last_rx + TU_TO_JIFFIES(tid_rx->timeout);
152 if (time_is_after_jiffies(timeout)) {
153 mod_timer(&tid_rx->session_timer, timeout);
193 u16 buf_size, u16 timeout,
236 mgmt->u.action.u.addba_resp.timeout = cpu_to_le16(timeout);
246 u8 dialog_token, u16 timeout,
191 ieee80211_send_addba_resp(struct sta_info *sta, u8 *da, u16 tid, u8 dialog_token, u16 status, u16 policy, u16 buf_size, u16 timeout, const struct ieee80211_addba_ext_ie *addbaext) argument
245 __ieee80211_start_rx_ba_session(struct sta_info *sta, u8 dialog_token, u16 timeout, u16 start_seq_num, u16 ba_policy, u16 tid, u16 buf_size, bool tx, bool auto_seq, const struct ieee80211_addba_ext_ie *addbaext) argument
443 u16 capab, tid, timeout, ba_policy, buf_size, start_seq_num; local
[all...]
/linux-master/net/netfilter/
H A Dnf_flow_table_core.c174 s32 timeout; local
181 timeout = tn->timeouts[ct->proto.tcp.state];
182 timeout -= tn->offload_timeout;
189 timeout = tn->timeouts[state];
190 timeout -= tn->offload_timeout;
195 if (timeout < 0)
196 timeout = 0;
198 if (nf_flow_timeout_delta(READ_ONCE(ct->timeout)) > (__s32)timeout)
199 WRITE_ONCE(ct->timeout, nfct_time_stam
258 unsigned long timeout = NF_FLOW_TIMEOUT; local
311 u32 timeout; local
[all...]
/linux-master/sound/soc/amd/renoir/
H A Drn-pci-acp3x.c41 int timeout; local
52 timeout = 0;
53 while (++timeout < 500) {
65 int timeout; local
69 timeout = 0;
70 while (++timeout < 500) {
82 int timeout; local
85 timeout = 0;
86 while (++timeout < 500) {
93 timeout
[all...]
/linux-master/drivers/media/common/saa7146/
H A Dsaa7146_i2c.c180 unsigned long timeout; local
196 timeout = HZ/100 + 1; /* 10ms */
197 timeout = wait_event_interruptible_timeout(dev->i2c_wq, dev->i2c_op == 0, timeout);
198 if (timeout == -ERESTARTSYS || dev->i2c_op) {
201 if (timeout == -ERESTARTSYS)
216 timeout = jiffies + HZ/100 + 1; /* 10ms */
222 if (time_after(jiffies,timeout)) {
229 timeout = jiffies + HZ/100 + 1; /* 10ms */
236 if (time_after(jiffies,timeout)) {
[all...]
/linux-master/drivers/tty/hvc/
H A Dhvsi_lib.c262 int rc, timeout; local
278 for (timeout = 0; timeout < 20; timeout++) {
316 int timeout; local
323 for (timeout = 0; timeout < 20; timeout++) {
346 for (timeout = 0; timeout < 4
[all...]

Completed in 302 milliseconds

1234567891011>>