Searched refs:timeout (Results 276 - 300 of 2959) sorted by relevance

<<11121314151617181920>>

/linux-master/drivers/watchdog/
H A Dwdat_wdt.c59 static int timeout = WDAT_DEFAULT_TIMEOUT; variable
60 module_param(timeout, int, 0);
61 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds (default="
272 return wdat_wdt_run_action(to_wdat_wdt(wdd), ACPI_WDAT_RESET, wdd->timeout, NULL);
276 unsigned int timeout)
282 periods = timeout * 1000 / wdat->period;
285 wdd->timeout = timeout;
451 * Set initial timeout s
275 wdat_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
[all...]
H A Ddw_wdt.c7 * in the many subsystems. The watchdog has 16 different timeout periods
51 /* There are sixteen TOPs (timeout periods) that can be set in the watchdog. */
93 u32 timeout; member in struct:dw_wdt
123 unsigned int timeout, u32 *top_val)
128 * Find a TOP with timeout greater or equal to the requested number.
129 * Note we'll select a TOP with maximum timeout if the requested
130 * timeout couldn't be reached.
133 if (dw_wdt->timeouts[idx].sec >= timeout)
150 * We'll find a timeout greater or equal to one second anyway because
163 struct dw_wdt_timeout *timeout local
122 dw_wdt_find_best_top(struct dw_wdt *dw_wdt, unsigned int timeout, u32 *top_val) argument
201 unsigned int timeout; local
[all...]
H A Dmax77620_wdt.c97 unsigned int timeout)
104 switch (timeout) {
141 wdt_dev->timeout = wdt_timeout;
216 wdt_dev->timeout = 2;
219 wdt_dev->timeout = 16;
222 wdt_dev->timeout = 64;
225 wdt_dev->timeout = 128;
96 max77620_wdt_set_timeout(struct watchdog_device *wdt_dev, unsigned int timeout) argument
H A Dftwdt010_wdt.c51 unsigned int timeout,
56 writel(timeout * WDT_CLOCK, gwdt->base + FTWDT010_WDLOAD);
71 ftwdt010_enable(gwdt, wdd->timeout, gwdt->has_irq);
94 unsigned int timeout)
96 wdd->timeout = timeout;
160 * If 'timeout-sec' unspecified in devicetree, assume a 13 second
163 gwdt->wdd.timeout = 13U;
50 ftwdt010_enable(struct ftwdt010_wdt *gwdt, unsigned int timeout, bool need_irq) argument
93 ftwdt010_wdt_set_timeout(struct watchdog_device *wdd, unsigned int timeout) argument
H A Dimx_sc_wdt.c87 unsigned int timeout)
91 wdog->timeout = timeout;
93 timeout * 1000, 0, 0, 0, 0, 0, &res);
105 * stamp instead of watchdog timeout stamp, need to convert
106 * the pretimeout to SCU firmware's timeout value.
109 (wdog->timeout - pretimeout) * 1000, 0, 0, 0,
178 wdog->timeout = DEFAULT_TIMEOUT;
182 ret = imx_sc_wdt_set_timeout(wdog, wdog->timeout);
86 imx_sc_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument
H A Dsunplus_wdt.c35 static unsigned int timeout; variable
36 module_param(timeout, int, 0);
37 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds");
72 if (wdev->timeout > SP_WDT_MAX_TIMEOUT) {
82 count = (wdev->timeout * STC_CLK) >> 4;
175 priv->wdev.timeout = SP_WDT_DEFAULT_TIMEOUT;
181 watchdog_init_timeout(&priv->wdev, timeout, dev);
H A Dpc87413_wdt.c49 #define WDTO 0x11 /* Watchdog timeout register */
57 static int timeout = DEFAULT_TIMEOUT; /* timeout value */ variable
148 /* Set watchdog timeout to x minutes */
222 pc87413_programm_wdto(timeout);
253 pc87413_programm_wdto(timeout);
283 pr_info("Watchdog enabled. Timeout set to %d minute(s).\n", timeout);
319 * return, if the watchdog is enabled (timeout is set...)
434 timeout = new_timeout;
436 fallthrough; /* and return the new timeout */
[all...]
H A Domap_wdt.c53 MODULE_PARM_DESC(timer_margin, "initial watchdog timeout (in seconds)");
117 unsigned int timeout)
119 u32 pre_margin = GET_WLDR_VAL(timeout);
157 omap_wdt_set_timer(wdev, wdog->timeout);
158 omap_wdt_reload(wdev); /* trigger loading of new timeout value */
190 unsigned int timeout)
196 omap_wdt_set_timer(wdev, timeout);
199 wdog->timeout = timeout;
253 wdev->wdog.timeout
116 omap_wdt_set_timer(struct omap_wdt_dev *wdev, unsigned int timeout) argument
189 omap_wdt_set_timeout(struct watchdog_device *wdog, unsigned int timeout) argument
[all...]
/linux-master/drivers/mmc/host/
H A Djz4740_mmc.c436 unsigned int timeout = 1000; local
441 } while (status & JZ_MMC_STATUS_CLK_EN && --timeout);
447 unsigned int timeout = 1000; local
453 } while (status & JZ_MMC_STATUS_IS_RESETTING && --timeout);
473 unsigned int timeout = 0x800; local
478 } while (!(status & irq) && --timeout);
480 if (timeout == 0) {
522 bool timeout; local
531 timeout = jz4740_mmc_poll_irq(host, JZ_MMC_IRQ_TXFIFO_WR_REQ);
532 if (unlikely(timeout))
580 unsigned int timeout; local
762 bool timeout = false; local
[all...]
/linux-master/sound/pci/asihpi/
H A Dhpi6000.c631 u32 timeout; local
1040 timeout = 2000000;
1041 while (timeout) {
1045 } while (--timeout
1060 if (timeout == 0)
1133 u32 timeout = PCI_TIMEOUT; local
1139 && --timeout);
1141 if (timeout)
1288 u32 timeout; local
1304 timeout
1544 u32 timeout = TIMEOUT; local
1591 u32 timeout; local
1633 u32 timeout; local
[all...]
/linux-master/include/linux/mlx4/
H A Dcmd.h270 u16 op, unsigned long timeout, int native);
274 u8 op_modifier, u16 op, unsigned long timeout,
278 op_modifier, op, timeout, native);
284 unsigned long timeout, int native)
287 op_modifier, op, timeout, native);
297 unsigned long timeout, int native)
300 op_modifier, op, timeout, native);
273 mlx4_cmd(struct mlx4_dev *dev, u64 in_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
282 mlx4_cmd_box(struct mlx4_dev *dev, u64 in_param, u64 out_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
295 mlx4_cmd_imm(struct mlx4_dev *dev, u64 in_param, u64 *out_param, u32 in_modifier, u8 op_modifier, u16 op, unsigned long timeout, int native) argument
/linux-master/kernel/sched/
H A Dwait_bit.c70 unsigned mode, unsigned long timeout)
75 wq_entry.key.timeout = jiffies + timeout;
221 if (time_after_eq(now, word->timeout))
223 schedule_timeout(word->timeout - now);
235 if (time_after_eq(now, word->timeout))
237 io_schedule_timeout(word->timeout - now);
68 out_of_line_wait_on_bit_timeout( void *word, int bit, wait_bit_action_f *action, unsigned mode, unsigned long timeout) argument
/linux-master/drivers/leds/flash/
H A Dleds-sgm3140.c27 /* current timeout in us */
28 u32 timeout; member in struct:sgm3140
29 /* maximum timeout in us */
56 jiffies + usecs_to_jiffies(priv->timeout));
84 u32 timeout)
88 priv->timeout = timeout;
152 /* Init flash timeout setting */
153 s = &fled_cdev->timeout;
225 ret = fwnode_property_read_u32(child_node, "flash-max-timeout
83 sgm3140_timeout_set(struct led_classdev_flash *fled_cdev, u32 timeout) argument
[all...]
/linux-master/sound/soc/intel/catpt/
H A Dipc.c67 static int catpt_wait_msg_completion(struct catpt_dev *cdev, int timeout) argument
73 msecs_to_jiffies(timeout));
81 msecs_to_jiffies(timeout));
87 struct catpt_ipc_msg *reply, int timeout)
104 ret = catpt_wait_msg_completion(cdev, timeout);
126 struct catpt_ipc_msg *reply, int timeout)
132 ret = catpt_dsp_do_send_msg(cdev, request, reply, timeout);
85 catpt_dsp_do_send_msg(struct catpt_dev *cdev, struct catpt_ipc_msg request, struct catpt_ipc_msg *reply, int timeout) argument
124 catpt_dsp_send_msg_timeout(struct catpt_dev *cdev, struct catpt_ipc_msg request, struct catpt_ipc_msg *reply, int timeout) argument
/linux-master/drivers/accessibility/speakup/
H A Dspeakup_acntpc.c154 int timeout = SPK_XMITR_TIMEOUT; local
161 if (!--timeout)
176 int timeout; local
214 timeout = SPK_XMITR_TIMEOUT;
216 if (!--timeout)
227 timeout = SPK_XMITR_TIMEOUT;
229 if (!--timeout)
242 timeout = SPK_XMITR_TIMEOUT;
244 if (!--timeout)
/linux-master/drivers/gpu/drm/amd/amdgpu/
H A Dmxgpu_ai.c84 int timeout = AI_MAILBOX_POLL_ACK_TIMEDOUT; local
93 timeout -= 5;
94 } while (timeout > 1);
103 int r, timeout = AI_MAILBOX_POLL_MSG_TIMEDOUT; local
111 timeout -= 10;
112 } while (timeout > 1);
256 int timeout = AI_MAILBOX_POLL_FLR_TIMEDOUT; local
276 timeout -= 10;
277 } while (timeout > 1);
279 dev_warn(adev->dev, "waiting IDH_FLR_NOTIFICATION_CMPL timeout\
[all...]
H A Dmxgpu_nv.c82 int timeout = NV_MAILBOX_POLL_ACK_TIMEDOUT; local
91 timeout -= 5;
92 } while (timeout > 1);
102 uint64_t timeout, now; local
105 timeout = now + NV_MAILBOX_POLL_MSG_TIMEDOUT;
114 } while (timeout > now);
289 int timeout = NV_MAILBOX_POLL_FLR_TIMEDOUT; local
309 timeout -= 10;
310 } while (timeout > 1);
312 dev_warn(adev->dev, "waiting IDH_FLR_NOTIFICATION_CMPL timeout\
[all...]
/linux-master/drivers/platform/x86/intel/ifs/
H A Druntest.c90 dev_info(dev, "CPU(s) %*pbl: software timeout during scan\n",
153 static void wait_for_sibling_cpu(atomic_t *t, long long timeout) argument
161 if (timeout < SPINUNIT)
164 timeout -= SPINUNIT;
226 unsigned long timeout; local
251 timeout = jiffies + HZ / 2;
255 if (time_after(jiffies, timeout)) {
329 unsigned long timeout; local
334 timeout = jiffies + HZ / 2;
337 if (time_after(jiffies, timeout)) {
[all...]
/linux-master/drivers/i2c/busses/
H A Di2c-ali1535.c216 int timeout = 0; local
280 timeout = 0;
285 && (timeout++ < MAX_TIMEOUT));
288 if (timeout > MAX_TIMEOUT)
328 /* issue "timeout" to reset all devices on bus */
343 int timeout; local
348 for (timeout = 0;
349 (timeout < MAX_TIMEOUT) && !(temp & ALI1535_STS_IDLE);
350 timeout++) {
354 if (timeout >
[all...]
H A Di2c-ali15x3.c224 int timeout = 0; local
289 timeout = 0;
294 && (timeout++ < MAX_TIMEOUT));
297 if (timeout > MAX_TIMEOUT)
337 int timeout; local
343 for (timeout = 0;
344 (timeout < MAX_TIMEOUT) && !(temp & ALI15X3_STS_IDLE);
345 timeout++) {
349 if (timeout >= MAX_TIMEOUT) {
/linux-master/drivers/video/fbdev/
H A Dn411.c80 int timeout; local
83 timeout = 500;
91 } while (timeout--);
/linux-master/drivers/net/wireless/ti/wl1251/
H A Dps.c54 unsigned long timeout, start; local
65 timeout = jiffies + msecs_to_jiffies(WL1251_WAKEUP_TIMEOUT);
76 if (time_after(jiffies, timeout)) {
77 wl1251_error("elp wakeup timeout");
/linux-master/drivers/power/supply/
H A Dbq27xxx_battery_hdq.c44 unsigned int timeout = 3; local
64 } while (temp != upper && --timeout);
66 if (timeout == 0)
/linux-master/drivers/thunderbolt/
H A Dnhi_ops.c87 static int icl_nhi_lc_mailbox_cmd_complete(struct tb_nhi *nhi, int timeout) argument
92 if (!timeout)
95 end = jiffies + msecs_to_jiffies(timeout);
/linux-master/drivers/platform/x86/intel/atomisp2/
H A Dpm.c38 unsigned long timeout; local
51 timeout = jiffies + msecs_to_jiffies(50);
62 } while (time_before(jiffies, timeout));
64 dev_err(&dev->dev, "IUNIT power-%s timeout.\n", enable ? "on" : "off");

Completed in 262 milliseconds

<<11121314151617181920>>