/openbmc/linux/Documentation/watchdog/ |
H A D | mlx-wdt.rst | 16 Actual HW timeout can be defined as a power of 2 msec. 17 e.g. timeout 20 sec will be rounded up to 32768 msec. 18 The maximum timeout period is 32 sec (32768 msec.), 22 Actual HW timeout is defined in sec. and it's the same as 23 a user-defined timeout. 24 Maximum timeout is 255 sec. 28 Same as Type 2 with extended maximum timeout period. 29 Maximum timeout is 65535 sec. 59 initial timeout, performed action in expiration and configuration flags.
|
/openbmc/linux/drivers/watchdog/ |
H A D | marvell_gti_wdt.c | 152 unsigned int timeout) in gti_wdt_settimeout() argument 158 wdev->timeout = timeout; in gti_wdt_settimeout() 161 wdev->pretimeout = timeout / 3; in gti_wdt_settimeout() 188 unsigned int timeout) in gti_wdt_set_pretimeout() argument 194 if (timeout * 3 <= wdog_dev->max_timeout) in gti_wdt_set_pretimeout() 195 return gti_wdt_settimeout(wdev, timeout * 3); in gti_wdt_set_pretimeout() 297 wdog_dev->timeout = wdog_dev->pretimeout; in gti_wdt_probe() 301 gti_wdt_settimeout(wdog_dev, wdog_dev->timeout); in gti_wdt_probe() 318 dev_info(dev, "Watchdog enabled (timeout=%d sec)\n", wdog_dev->timeout); in gti_wdt_probe()
|
H A D | ts72xx_wdt.c | 21 static int timeout; variable 22 module_param(timeout, int, 0); 23 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds."); 95 wdd->timeout = to; in ts72xx_wdt_settimeout() 149 wdd->timeout = TS72XX_WDT_DEFAULT_TIMEOUT; in ts72xx_wdt_probe() 150 watchdog_init_timeout(wdd, timeout, dev); in ts72xx_wdt_probe()
|
H A D | twl4030_wdt.c | 32 return twl4030_wdt_write(wdt->timeout + 1); in twl4030_wdt_start() 41 unsigned int timeout) in twl4030_wdt_set_timeout() argument 43 wdt->timeout = timeout; in twl4030_wdt_set_timeout() 71 wdt->timeout = 30; in twl4030_wdt_probe()
|
H A D | sprd_wdt.c | 105 static int sprd_wdt_load_value(struct sprd_wdt *wdt, u32 timeout, in sprd_wdt_load_value() argument 109 u32 tmr_step = timeout * SPRD_WDT_CNT_STEP; in sprd_wdt_load_value() 184 ret = sprd_wdt_load_value(wdt, wdd->timeout, wdd->pretimeout); in sprd_wdt_start() 213 u32 timeout) in sprd_wdt_set_timeout() argument 217 if (timeout == wdd->timeout) in sprd_wdt_set_timeout() 220 wdd->timeout = timeout; in sprd_wdt_set_timeout() 222 return sprd_wdt_load_value(wdt, timeout, wdd->pretimeout); in sprd_wdt_set_timeout() 235 return sprd_wdt_load_value(wdt, wdd->timeout, new_pretimeout); in sprd_wdt_set_pretimeout() 306 wdt->wdd.timeout = SPRD_WDT_MAX_TIMEOUT; in sprd_wdt_probe()
|
H A D | exar_wdt.c | 64 unsigned char timeout; member 69 static int timeout = WATCHDOG_TIMEOUT; variable 70 module_param(timeout, int, 0); 71 MODULE_PARM_DESC(timeout, 135 outb(priv->timeout, rt_base + WDT_VAL); in exar_wdt_arm() 136 outb(priv->timeout, rt_base + WDT_VAL); in exar_wdt_arm() 210 priv->timeout = t; in exar_wdt_set_timeout() 212 wdog->timeout = unit_min ? t * 60 : t; in exar_wdt_set_timeout() 272 watchdog_init_timeout(wdt_dev, timeout, NULL); in exar_wdt_probe() 282 exar_wdt_set_timeout(wdt_dev, timeout); in exar_wdt_probe() [all …]
|
/openbmc/u-boot/test/py/ |
H A D | u_boot_console_base.py | 63 def __init__(self, console, timeout): argument 65 self.orig_timeout = self.p.timeout 66 self.p.timeout = timeout 72 self.p.timeout = self.orig_timeout 300 orig_timeout = self.p.timeout 303 self.p.timeout = 1000 320 self.p.timeout = orig_timeout 348 self.p.timeout = 30000 455 def temporary_timeout(self, timeout): argument 468 return ConsoleSetupTimeout(self, timeout)
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | tangier_wdt.c | 55 u32 timeout = WATCHDOG_HEARTBEAT / 1000; in hw_watchdog_init() local 59 u32 timeout; in hw_watchdog_init() member 60 } ipc_wd_start = { timeout - WDT_PRETIMEOUT, timeout }; in hw_watchdog_init()
|
H A D | imx_watchdog.c | 30 u16 timeout; in hw_watchdog_init() local 40 timeout = (CONFIG_WATCHDOG_TIMEOUT_MSECS / 500) - 1; in hw_watchdog_init() 42 writew((WCR_WDA | WCR_SRS | WCR_WDE) << 8 | timeout, &wdog->wcr); in hw_watchdog_init() 45 WCR_WDA | SET_WCR_WT(timeout), &wdog->wcr); in hw_watchdog_init()
|
/openbmc/u-boot/drivers/usb/musb/ |
H A D | am35x.c | 19 .timeout = AM35X_USB_OTG_TIMEOUT, 29 u32 timeout; in phy_on() local 42 timeout = musb_cfg.timeout; in phy_on() 43 while (timeout--) in phy_on()
|
/openbmc/linux/drivers/gpu/drm/i915/ |
H A D | i915_utils.c | 99 void set_timer_ms(struct timer_list *t, unsigned long timeout) in set_timer_ms() argument 101 if (!timeout) { in set_timer_ms() 106 timeout = msecs_to_jiffies(timeout); in set_timer_ms() 117 mod_timer(t, jiffies + timeout ?: 1); in set_timer_ms()
|
/openbmc/linux/net/netfilter/ |
H A D | nft_ct.c | 917 if (!timeout) { in nft_ct_timeout_obj_eval() 918 timeout = nf_ct_timeout_ext_add(ct, priv->timeout, GFP_ATOMIC); in nft_ct_timeout_obj_eval() 919 if (!timeout) { in nft_ct_timeout_obj_eval() 925 rcu_assign_pointer(timeout->timeout, priv->timeout); in nft_ct_timeout_obj_eval() 982 priv->timeout = timeout; in nft_ct_timeout_obj_init() 986 kfree(timeout); in nft_ct_timeout_obj_init() 995 struct nf_ct_timeout *timeout = priv->timeout; in nft_ct_timeout_obj_destroy() local 1006 const struct nf_ct_timeout *timeout = priv->timeout; in nft_ct_timeout_obj_dump() local 1018 ret = timeout->l4proto->ctnl_timeout.obj_to_nlattr(skb, &timeout->data); in nft_ct_timeout_obj_dump() 1237 u32 timeout; member [all …]
|
/openbmc/linux/drivers/gpu/host1x/ |
H A D | cdma.c | 276 if (cdma->timeout.client) { in cdma_start_timer_locked() 281 cdma->timeout.client = job->client; in cdma_start_timer_locked() 282 cdma->timeout.syncpt = job->syncpt; in cdma_start_timer_locked() 296 cancel_delayed_work(&cdma->timeout.wq); in stop_cdma_timer_locked() 297 cdma->timeout.client = NULL; in stop_cdma_timer_locked() 326 if (job->timeout) in update_cdma_locked() 333 if (cdma->timeout.client) in update_cdma_locked() 422 job->timeout = 0; in host1x_cdma_update_sync_queue() 564 if (job->timeout) { in host1x_cdma_begin() 566 if (!cdma->timeout.initialized) { in host1x_cdma_begin() [all …]
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pca-isa.c | 61 unsigned long timeout; in pca_isa_waitforcompletion() local 67 & I2C_PCA_CON_SI, pca_isa_ops.timeout); in pca_isa_waitforcompletion() 70 timeout = jiffies + pca_isa_ops.timeout; in pca_isa_waitforcompletion() 72 ret = time_before(jiffies, timeout); in pca_isa_waitforcompletion() 106 .timeout = HZ,
|
/openbmc/linux/drivers/accessibility/speakup/ |
H A D | speakup_decpc.c | 264 int timeout = 100; in dt_waitbit() local 266 while (--timeout > 0) { in dt_waitbit() 276 int timeout = 100, state = dma_state; in dt_wait_dma() local 280 while (--timeout > 0) { in dt_wait_dma() 291 int timeout = 10; in dt_ctrl() local 302 if (--timeout == 0) in dt_ctrl() 311 int timeout = 10; in synth_flush() local 318 if (--timeout == 0) in synth_flush() 322 for (timeout = 0; timeout < 10; timeout++) { in synth_flush() 330 for (timeout = 0; timeout < 10; timeout++) { in synth_flush()
|
/openbmc/u-boot/board/sunxi/ |
H A D | ahci.c | 20 int timeout; in sunxi_ahci_phy_init() local 40 timeout = 250; /* Power up takes approx 50 us */ in sunxi_ahci_phy_init() 45 if (--timeout == 0) { in sunxi_ahci_phy_init() 54 timeout = 100; /* Calibration takes approx 10 us */ in sunxi_ahci_phy_init() 59 if (--timeout == 0) { in sunxi_ahci_phy_init()
|
/openbmc/linux/drivers/scsi/smartpqi/ |
H A D | smartpqi_sis.c | 94 unsigned long timeout; in sis_wait_for_ctrl_ready_with_timeout() local 97 timeout = (timeout_secs * HZ) + jiffies; in sis_wait_for_ctrl_ready_with_timeout() 112 if (time_after(jiffies, timeout)) { in sis_wait_for_ctrl_ready_with_timeout() 177 unsigned long timeout; in sis_send_sync_cmd() local 215 timeout = (SIS_CMD_COMPLETE_TIMEOUT_SECS * HZ) + jiffies; in sis_send_sync_cmd() 221 if (time_after(jiffies, timeout)) in sis_send_sync_cmd() 359 unsigned long timeout; in sis_wait_for_doorbell_bit_to_clear() local 373 if (time_after(jiffies, timeout)) { in sis_wait_for_doorbell_bit_to_clear() 458 unsigned long timeout; in sis_wait_for_fw_triage_completion() local 460 timeout = (SIS_FW_TRIAGE_STATUS_TIMEOUT_SECS * HZ) + jiffies; in sis_wait_for_fw_triage_completion() [all …]
|
/openbmc/linux/drivers/media/common/saa7146/ |
H A D | saa7146_i2c.c | 180 unsigned long timeout; in saa7146_i2c_writeout() local 196 timeout = HZ/100 + 1; /* 10ms */ in saa7146_i2c_writeout() 197 timeout = wait_event_interruptible_timeout(dev->i2c_wq, dev->i2c_op == 0, timeout); in saa7146_i2c_writeout() 198 if (timeout == -ERESTARTSYS || dev->i2c_op) { in saa7146_i2c_writeout() 201 if (timeout == -ERESTARTSYS) in saa7146_i2c_writeout() 216 timeout = jiffies + HZ/100 + 1; /* 10ms */ in saa7146_i2c_writeout() 222 if (time_after(jiffies,timeout)) { in saa7146_i2c_writeout() 229 timeout = jiffies + HZ/100 + 1; /* 10ms */ in saa7146_i2c_writeout() 236 if (time_after(jiffies,timeout)) { in saa7146_i2c_writeout() 416 i2c_adapter->timeout = SAA7146_I2C_TIMEOUT; in saa7146_i2c_adapter_prepare()
|
/openbmc/linux/sound/soc/amd/renoir/ |
H A D | rn-pci-acp3x.c | 41 int timeout; in rn_acp_power_on() local 52 timeout = 0; in rn_acp_power_on() 53 while (++timeout < 500) { in rn_acp_power_on() 65 int timeout; in rn_acp_power_off() local 69 timeout = 0; in rn_acp_power_off() 70 while (++timeout < 500) { in rn_acp_power_off() 82 int timeout; in rn_acp_reset() local 85 timeout = 0; in rn_acp_reset() 86 while (++timeout < 500) { in rn_acp_reset() 93 timeout = 0; in rn_acp_reset() [all …]
|
/openbmc/linux/arch/um/drivers/ |
H A D | ubd_user.c | 68 int ubd_read_poll(int timeout) in ubd_read_poll() argument 71 return poll(&kernel_pollfd, 1, timeout); in ubd_read_poll() 73 int ubd_write_poll(int timeout) in ubd_write_poll() argument 76 return poll(&kernel_pollfd, 1, timeout); in ubd_write_poll()
|
/openbmc/linux/sound/pcmcia/pdaudiocf/ |
H A D | pdaudiocf_core.c | 21 unsigned long timeout; in pdacf_ak4117_read() local 26 timeout = 1000; in pdacf_ak4117_read() 29 if (--timeout == 0) { in pdacf_ak4117_read() 36 timeout = 1000; in pdacf_ak4117_read() 39 if (--timeout == 0) { in pdacf_ak4117_read() 53 unsigned long timeout; in pdacf_ak4117_write() local 57 timeout = 1000; in pdacf_ak4117_write() 60 if (--timeout == 0) { in pdacf_ak4117_write() 268 int timeout = 40; in snd_pdacf_resume() local 272 while (timeout-- > 0 && in snd_pdacf_resume()
|
/openbmc/linux/drivers/platform/x86/intel/ifs/ |
H A D | runtest.c | 172 unsigned long timeout; in ifs_test_core() local 195 timeout = jiffies + HZ / 2; in ifs_test_core() 199 if (time_after(jiffies, timeout)) { in ifs_test_core() 253 static void wait_for_sibling_cpu(atomic_t *t, long long timeout) in wait_for_sibling_cpu() argument 261 if (timeout < SPINUNIT) in wait_for_sibling_cpu() 264 timeout -= SPINUNIT; in wait_for_sibling_cpu() 297 unsigned long timeout; in ifs_array_test_core() local 302 timeout = jiffies + HZ / 2; in ifs_array_test_core() 305 if (time_after(jiffies, timeout)) { in ifs_array_test_core()
|
/openbmc/u-boot/arch/arm/mach-keystone/ |
H A D | psc.c | 251 int timeout = 100000; in psc_module_keep_in_reset_enabled() local 277 while (timeout) { in psc_module_keep_in_reset_enabled() 284 timeout--; in psc_module_keep_in_reset_enabled() 287 if (!timeout) { in psc_module_keep_in_reset_enabled() 308 int timeout = 100000; in psc_module_release_from_reset() local 321 while (timeout) { in psc_module_release_from_reset() 328 timeout--; in psc_module_release_from_reset() 331 if (!timeout) { in psc_module_release_from_reset()
|
/openbmc/openbmc-test-automation/bin/ |
H A D | ssh_pw | 20 set timeout 30 55 timeout { 66 set timeout 3 75 set timeout -1
|
/openbmc/linux/arch/x86/kernel/ |
H A D | smp.c | 152 unsigned long flags, timeout; in native_stop_other_cpus() local 200 timeout = USEC_PER_SEC; in native_stop_other_cpus() 201 while (!cpumask_empty(&cpus_stop_mask) && timeout--) in native_stop_other_cpus() 223 timeout = USEC_PER_MSEC * 10; in native_stop_other_cpus() 224 while (!cpumask_empty(&cpus_stop_mask) && (wait || timeout--)) in native_stop_other_cpus()
|