Searched refs:timeout (Results 176 - 200 of 2959) sorted by relevance

1234567891011>>

/linux-master/drivers/watchdog/
H A Dbooke_wdt.c22 * Also, the wdt_period sets the watchdog timer period timeout.
24 * trigger a watchdog timeout. This watchdog timeout will occur 3 times, the
58 * at least 1. This will still result in a very long timeout.
75 * This procedure will find the highest period which will give a timeout
114 val |= WDTP(sec_to_period(wdog->timeout));
145 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout)));
174 pr_debug("watchdog enabled (timeout = %u sec)\n", wdog->timeout);
188 unsigned int timeout)
187 booke_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument
[all...]
H A Dmoxart_wdt.c58 writel(moxart_wdt->clock_frequency * wdt_dev->timeout,
67 unsigned int timeout)
69 wdt_dev->timeout = timeout;
123 moxart_wdt->dev.timeout = max_timeout;
140 moxart_wdt->dev.timeout, nowayout);
66 moxart_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument
H A Dts72xx_wdt.c21 static int timeout; variable
22 module_param(timeout, int, 0);
23 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds.");
95 wdd->timeout = to;
149 wdd->timeout = TS72XX_WDT_DEFAULT_TIMEOUT;
150 watchdog_init_timeout(wdd, timeout, dev);
H A Dintel-mid_wdt.c60 int timeout = wd->timeout; local
63 u32 timeout; member in struct:ipc_wd_start
64 } ipc_wd_start = { timeout - MID_WDT_PRETIMEOUT, timeout };
156 wdt_dev->timeout = MID_WDT_DEFAULT_TIMEOUT;
H A Dmlx_wdt.c107 unsigned int timeout)
120 hw_timeout = order_base_2(timeout * MLXREG_WDT_CLOCK_SCALE);
127 set_time = timeout;
128 rc = regmap_write(wdt->regmap, reg_data->reg, timeout);
132 set_time = timeout;
134 regval = timeout & 0xff;
137 regval = (timeout & 0xff00) >> 8;
142 rc = regmap_write(wdt->regmap, reg_data->reg, timeout);
149 wdd->timeout = set_time;
152 * Restart watchdog with new timeout perio
106 mlxreg_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
272 u32 timeout; local
[all...]
H A Dhpwdt.c72 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000));
74 dev_dbg(wdd->parent, "start watchdog 0x%08x:0x%08x:0x%02x\n", wdd->timeout, reload, control);
107 int reload = SECS_TO_TICKS(min(wdd->timeout, wdd->max_hw_heartbeat_ms/1000));
109 dev_dbg(wdd->parent, "ping watchdog 0x%08x:0x%08x\n", wdd->timeout, reload);
124 wdd->timeout = val;
126 dev_dbg(wdd->parent, "pretimeout < timeout. Setting to zero\n");
145 if (val >= wdd->timeout)
188 unsigned int val = max((unsigned int)kdumptimeout, hpwdt_dev.timeout);
228 .timeout = DEFAULT_MARGIN,
342 if (pretimeout && hpwdt_dev.timeout <
[all...]
H A Dqcom-wdt.c77 unsigned int bark = wdd->timeout - wdd->pretimeout;
82 writel(wdd->timeout * wdt->rate, wdt_addr(wdt, WDT_BITE_TIME));
104 unsigned int timeout)
106 wdd->timeout = timeout;
111 unsigned int timeout)
113 wdd->pretimeout = timeout;
121 u32 timeout; local
127 timeout = 128 * wdt->rate / 1000;
131 writel(timeout, wdt_add
103 qcom_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
110 qcom_wdt_set_pretimeout(struct watchdog_device *wdd, unsigned int timeout) argument
[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...]
/linux-master/tools/testing/selftests/net/
H A Dunicast_extensions.sh72 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1
73 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1
108 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1
109 ip netns exec $foo_ns timeout 2 ping -c 1 $4 || return 1
110 ip netns exec $bar_ns timeout 2 ping -c 1 $3 || return 1
111 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Damdgpu_hmm.c175 unsigned long timeout; local
206 timeout = max((hmm_range->end - hmm_range->start) >> 26, 1UL);
207 timeout *= HMM_RANGE_DEFAULT_TIMEOUT;
208 timeout = jiffies + msecs_to_jiffies(timeout);
216 * FIXME: This timeout should encompass the retry from
219 if (r == -EBUSY && !time_after(jiffies, timeout))
/linux-master/drivers/w1/masters/
H A Dmxc_w1.c43 ktime_t timeout; local
48 timeout = ktime_add_us(ktime_get(), 1500);
58 } while (ktime_before(ktime_get(), timeout));
71 ktime_t timeout; local
76 timeout = ktime_add_us(ktime_get(), 200);
86 } while (ktime_before(ktime_get(), timeout));
/linux-master/drivers/net/wireless/rsi/
H A Drsi_common.h34 static inline int rsi_wait_event(struct rsi_event *event, u32 timeout) argument
38 if (!timeout)
44 timeout);
/linux-master/tools/testing/selftests/timens/
H A Dgettime_perf.c51 const int timeout = 3; local
55 for (tp = start; start.tv_sec + timeout > tp.tv_sec ||
56 (start.tv_sec + timeout == tp.tv_sec &&
/linux-master/drivers/scsi/smartpqi/
H A Dsmartpqi_sis.c94 unsigned long timeout; local
97 timeout = (timeout_secs * HZ) + jiffies;
112 if (time_after(jiffies, timeout)) {
177 unsigned long timeout; local
215 timeout = (SIS_CMD_COMPLETE_TIMEOUT_SECS * HZ) + jiffies;
221 if (time_after(jiffies, timeout))
359 unsigned long timeout; local
361 timeout = (SIS_DOORBELL_BIT_CLEAR_TIMEOUT_SECS * HZ) + jiffies;
373 if (time_after(jiffies, timeout)) {
458 unsigned long timeout; local
[all...]
/linux-master/sound/soc/tegra/
H A Dtegra20_ac97.c39 unsigned long timeout; local
52 timeout = jiffies + msecs_to_jiffies(100);
59 } while (!time_after(jiffies, timeout));
65 unsigned long timeout; local
77 timeout = jiffies + msecs_to_jiffies(100);
84 } while (!time_after(jiffies, timeout));
91 unsigned long timeout; local
98 timeout = jiffies + msecs_to_jiffies(100);
105 } while (!time_after(jiffies, timeout));
115 unsigned long timeout; local
[all...]
/linux-master/include/linux/
H A Dled-class-flash.h44 /* set flash timeout */
45 int (*timeout_set)(struct led_classdev_flash *fled_cdev, u32 timeout);
75 /* flash timeout value in microseconds along with its constraints */
76 struct led_flash_setting timeout; member in struct:led_classdev_flash
191 * led_set_flash_timeout - set flash LED timeout
193 * @timeout: the flash timeout to set it to
199 int led_set_flash_timeout(struct led_classdev_flash *fled_cdev, u32 timeout);
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/drivers/bus/
H A Dbt1-apb.c72 u64 timeout = (u64)n * USEC_PER_SEC; local
74 do_div(timeout, apb->rate);
76 return timeout;
81 unsigned long timeout)
83 u64 n = (u64)timeout * apb->rate;
99 "APB-bus fault %d: Slave access timeout at 0x%08x\n",
275 unsigned long timeout; local
283 timeout = bt1_apb_n_to_timeout_us(apb, n);
285 return scnprintf(buf, PAGE_SIZE, "%lu\n", timeout);
293 unsigned long timeout; local
80 bt1_apb_timeout_to_n_us(struct bt1_apb *apb, unsigned long timeout) argument
[all...]
/linux-master/init/
H A Ddo_mounts.c263 unsigned int timeout; local
274 timeout = NFSROOT_TIMEOUT_MIN;
282 ssleep(timeout);
283 timeout <<= 1;
284 if (timeout > NFSROOT_TIMEOUT_MAX)
285 timeout = NFSROOT_TIMEOUT_MAX;
305 unsigned int timeout; local
311 timeout = CIFSROOT_TIMEOUT_MIN;
319 ssleep(timeout);
320 timeout <<
[all...]
/linux-master/include/uapi/linux/netfilter/
H A Dxt_CT.h36 char timeout[32]; member in struct:xt_ct_target_info_v1
/linux-master/drivers/media/common/siano/
H A Dsmsir.h29 u32 timeout; member in struct:ir_t
/linux-master/drivers/pci/controller/
H A Dpcie-rcar.c36 unsigned int timeout = 10; local
38 while (timeout--) {
50 unsigned int timeout = 10000; local
52 while (timeout--) {
/linux-master/drivers/gpu/drm/i915/gt/
H A Dintel_gt_requests.h15 long intel_gt_retire_requests_timeout(struct intel_gt *gt, long timeout,
/linux-master/tools/testing/selftests/arm64/signal/testcases/
H A Dfake_sigreturn_bad_magic.c50 .timeout = 3,

Completed in 240 milliseconds

1234567891011>>