/openbmc/linux/drivers/watchdog/ |
H A D | imx_sc_wdt.c | 84 unsigned int timeout) in imx_sc_wdt_set_timeout() argument 88 wdog->timeout = timeout; in imx_sc_wdt_set_timeout() 90 timeout * 1000, 0, 0, 0, 0, 0, &res); in imx_sc_wdt_set_timeout() 106 (wdog->timeout - pretimeout) * 1000, 0, 0, 0, in imx_sc_wdt_set_pretimeout() 175 wdog->timeout = DEFAULT_TIMEOUT; in imx_sc_wdt_probe() 179 ret = imx_sc_wdt_set_timeout(wdog, wdog->timeout); in imx_sc_wdt_probe()
|
H A D | rn5t618_wdt.c | 17 static unsigned int timeout; variable 19 module_param(timeout, uint, 0); 20 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds"); 65 wdt_dev->timeout = rn5t618_wdt_map[i].time; in rn5t618_wdt_set_timeout() 75 ret = rn5t618_wdt_set_timeout(wdt_dev, wdt_dev->timeout); in rn5t618_wdt_start() 162 wdt->wdt_dev.timeout = max_timeout; in rn5t618_wdt_probe() 176 watchdog_init_timeout(&wdt->wdt_dev, timeout, dev); in rn5t618_wdt_probe()
|
H A D | moxart_wdt.c | 58 writel(moxart_wdt->clock_frequency * wdt_dev->timeout, in moxart_wdt_start() 67 unsigned int timeout) in moxart_wdt_set_timeout() argument 69 wdt_dev->timeout = timeout; in moxart_wdt_set_timeout() 123 moxart_wdt->dev.timeout = max_timeout; in moxart_wdt_probe() 140 moxart_wdt->dev.timeout, nowayout); in moxart_wdt_probe()
|
H A D | booke_wdt.c | 114 val |= WDTP(sec_to_period(wdog->timeout)); in __booke_wdt_set() 145 val |= (TCR_WIE|TCR_WRC(WRC_CHIP)|WDTP(sec_to_period(wdog->timeout))); in __booke_wdt_enable() 174 pr_debug("watchdog enabled (timeout = %u sec)\n", wdog->timeout); in booke_wdt_start() 188 unsigned int timeout) in booke_wdt_set_timeout() argument 190 wdt_dev->timeout = timeout; in booke_wdt_set_timeout()
|
H A D | ep93xx_wdt.c | 33 static unsigned int timeout; variable 34 module_param(timeout, uint, 0); 35 MODULE_PARM_DESC(timeout, "Watchdog timeout in seconds."); 115 wdd->timeout = WDT_TIMEOUT; in ep93xx_wdt_probe() 116 watchdog_init_timeout(wdd, timeout, dev); in ep93xx_wdt_probe()
|
H A D | sch311x_wdt.c | 67 static int timeout = WATCHDOG_TIMEOUT; /* in seconds */ variable 68 module_param(timeout, int, 0); 69 MODULE_PARM_DESC(timeout, 139 sch311x_wdt_set_timeout(timeout); in sch311x_wdt_start() 174 sch311x_wdt_set_timeout(timeout); in sch311x_wdt_keepalive() 188 timeout = t; in sch311x_wdt_set_heartbeat() 300 return put_user(timeout, p); in sch311x_wdt_ioctl() 395 if (sch311x_wdt_set_heartbeat(timeout)) { in sch311x_wdt_probe() 398 timeout); in sch311x_wdt_probe() 415 timeout, nowayout); in sch311x_wdt_probe()
|
H A D | pc87413_wdt.c | 57 static int timeout = DEFAULT_TIMEOUT; /* timeout value */ variable 222 pc87413_programm_wdto(timeout); in pc87413_enable() 253 pc87413_programm_wdto(timeout); in pc87413_refresh() 283 pr_info("Watchdog enabled. Timeout set to %d minute(s).\n", timeout); in pc87413_open() 434 timeout = new_timeout; in pc87413_ioctl() 438 new_timeout = timeout * 60; in pc87413_ioctl() 521 pr_info("initialized. timeout=%d min\n", timeout); in pc87413_init() 583 module_param(timeout, int, 0); 584 MODULE_PARM_DESC(timeout,
|
H A D | mei_wdt.c | 101 u16 timeout; member 132 u16 timeout; member 177 req.timeout = wdt->timeout; in mei_wdt_ping() 225 wdd->timeout = wdt->timeout; in mei_wdt_ops_start() 293 unsigned int timeout) in mei_wdt_ops_set_timeout() argument 299 wdt->timeout = timeout; in mei_wdt_ops_set_timeout() 300 wdd->timeout = timeout; in mei_wdt_ops_set_timeout() 379 wdt->wdd.timeout = MEI_WDT_DEFAULT_TIMEOUT; in mei_wdt_register() 570 wdt->timeout = MEI_WDT_DEFAULT_TIMEOUT; in mei_wdt_probe()
|
/openbmc/linux/net/nfc/ |
H A D | digital.h | 50 u16 timeout, nfc_digital_cmd_complete_t cmd_cb, 55 struct sk_buff *skb, u16 timeout, in digital_in_send_cmd() argument 59 return digital_send_cmd(ddev, DIGITAL_CMD_IN_SEND, skb, NULL, timeout, in digital_in_send_cmd() 89 struct sk_buff *skb, u16 timeout, in digital_tg_send_cmd() argument 92 return digital_send_cmd(ddev, DIGITAL_CMD_TG_SEND, skb, NULL, timeout, in digital_tg_send_cmd() 102 static inline int digital_tg_listen(struct nfc_digital_dev *ddev, u16 timeout, in digital_tg_listen() argument 106 timeout, cb, arg); in digital_tg_listen()
|
/openbmc/linux/sound/pci/asihpi/ |
H A D | hpi6000.c | 631 u32 timeout; in hpi6000_adapter_boot_load_dsp() local 1139 && --timeout); in hpi_set_address() 1141 if (timeout) in hpi_set_address() 1288 u32 timeout; in hpi6000_message_response_sequence() local 1312 if (!timeout) in hpi6000_message_response_sequence() 1344 if (!timeout) in hpi6000_message_response_sequence() 1354 if (!timeout) in hpi6000_message_response_sequence() 1556 if (timeout) in hpi6000_send_host_command() 1591 u32 timeout; in hpi6000_wait_dsp_ack() local 1633 u32 timeout; in hpi6000_update_control_cache() local [all …]
|
/openbmc/linux/drivers/w1/masters/ |
H A D | mxc_w1.c | 43 ktime_t timeout; in mxc_w1_ds2_reset_bus() local 48 timeout = ktime_add_us(ktime_get(), 1500); in mxc_w1_ds2_reset_bus() 58 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_reset_bus() 71 ktime_t timeout; in mxc_w1_ds2_touch_bit() local 76 timeout = ktime_add_us(ktime_get(), 200); in mxc_w1_ds2_touch_bit() 86 } while (ktime_before(ktime_get(), timeout)); in mxc_w1_ds2_touch_bit()
|
/openbmc/telemetry/tests/src/ |
H A D | dbus_environment.cpp | 71 bool DbusEnvironment::waitForFuture(std::string_view name, Milliseconds timeout) in waitForFuture() argument 73 return waitForFuture(getFuture(name), timeout); in waitForFuture() 77 Milliseconds timeout) in waitForFutures() argument 82 timeout); in waitForFutures() 102 void DbusEnvironment::sleepFor(Milliseconds timeout) in sleepFor() argument 104 auto end = std::chrono::high_resolution_clock::now() + timeout; in sleepFor()
|
/openbmc/u-boot/arch/arm/mach-bcm283x/ |
H A D | reset.c | 37 uint32_t rstc, timeout; in reset_cpu() local 41 timeout = RESET_TIMEOUT; in reset_cpu() 43 timeout = ticks & BCM2835_WDOG_MAX_TIMEOUT; in reset_cpu() 49 writel(BCM2835_WDOG_PASSWORD | timeout, &wdog_regs->wdog); in reset_cpu()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pnx.c | 46 u32 timeout; member 98 long timeout = data->timeout; in wait_timeout() local 99 while (timeout > 0 && in wait_timeout() 102 timeout--; in wait_timeout() 104 return (timeout <= 0); in wait_timeout() 109 long timeout = data->timeout; in wait_reset() local 110 while (timeout > 0 && in wait_reset() 113 timeout--; in wait_reset() 115 return (timeout <= 0); in wait_reset() 184 long timeout = 1000; in i2c_pnx_stop() local [all …]
|
/openbmc/linux/drivers/staging/sm750fb/ |
H A D | ddk750_hwi2c.c | 58 unsigned int timeout; in hw_i2c_wait_tx_done() local 61 timeout = HWI2C_WAIT_TIMEOUT; in hw_i2c_wait_tx_done() 62 while (!(peek32(I2C_STATUS) & I2C_STATUS_TX) && (timeout != 0)) in hw_i2c_wait_tx_done() 63 timeout--; in hw_i2c_wait_tx_done() 65 if (timeout == 0) in hw_i2c_wait_tx_done()
|
/openbmc/linux/drivers/mmc/host/ |
H A D | jz4740_mmc.c | 479 if (timeout == 0) { in jz4740_mmc_poll_irq() 521 bool timeout; in jz4740_mmc_write_data() local 531 if (unlikely(timeout)) in jz4740_mmc_write_data() 547 if (unlikely(timeout)) in jz4740_mmc_write_data() 579 unsigned int timeout; in jz4740_mmc_read_data() local 588 if (unlikely(timeout)) in jz4740_mmc_read_data() 606 if (unlikely(timeout)) in jz4740_mmc_read_data() 624 timeout = 1000; in jz4740_mmc_read_data() 761 bool timeout = false; in jz_mmc_irq_worker() local 821 if (timeout) { in jz_mmc_irq_worker() [all …]
|
/openbmc/linux/drivers/gpu/drm/i915/selftests/ |
H A D | scatterlist.c | 45 unsigned long timeout) in expect_pfn_sg() argument 67 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg() 83 unsigned long timeout) in expect_pfn_sg_page_iter() argument 98 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sg_page_iter() 114 unsigned long timeout) in expect_pfn_sgtiter() argument 128 if (igt_timeout(timeout, "%s timed out\n", who)) in expect_pfn_sgtiter() 146 unsigned long timeout) in expect_pfn_sgtable() argument 150 err = expect_pfn_sg(pt, npages_fn, rnd, who, timeout); in expect_pfn_sgtable() 154 err = expect_pfn_sg_page_iter(pt, who, timeout); in expect_pfn_sgtable() 158 err = expect_pfn_sgtiter(pt, who, timeout); in expect_pfn_sgtable()
|
/openbmc/linux/arch/mips/cavium-octeon/executive/ |
H A D | cvmx-spi.c | 121 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); in cvmx_spi_start_interface() 124 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); in cvmx_spi_start_interface() 128 timeout); in cvmx_spi_start_interface() 166 INVOKE_CB(cvmx_spi_callbacks.clock_detect_cb, interface, mode, timeout); in cvmx_spi_restart_interface() 169 INVOKE_CB(cvmx_spi_callbacks.training_cb, interface, mode, timeout); in cvmx_spi_restart_interface() 173 timeout); in cvmx_spi_restart_interface() 442 timeout_time = cvmx_get_cycle() + 1000ull * MS * timeout; in cvmx_spi_clock_detect_cb() 467 timeout_time = cvmx_get_cycle() + 1000ull * MS * timeout; in cvmx_spi_clock_detect_cb() 508 int cvmx_spi_training_cb(int interface, cvmx_spi_mode_t mode, int timeout) in cvmx_spi_training_cb() argument 513 uint64_t timeout_time = cvmx_get_cycle() + 1000ull * MS * timeout; in cvmx_spi_training_cb() [all …]
|
/openbmc/openbmc/poky/meta/lib/oeqa/utils/ |
H A D | commands.py | 29 def __init__(self, command, bg=False, timeout=None, data=None, output_log=None, **options): argument 41 self.timeout = timeout 112 if self.timeout is None: 116 deadline = time.time() + self.timeout 118 timeout = deadline - time.time() 119 if timeout < 0: 120 timeout = 0 121 thread.join(timeout) 168 def runCmd(command, ignore_status=False, timeout=None, assert_error=True, sync=True, argument 186 cmd = Command(command, timeout=timeout, output_log=output_log, **options) [all …]
|
/openbmc/openbmc/meta-google/recipes-google/networking/gbmc-bridge/ |
H A D | gbmc-br-ensure-ra.sh | 25 (( timeout = start + w - SECONDS )) 26 sleep $(( timeout < 0 ? 0 : timeout ))
|
/openbmc/u-boot/board/keymile/kmp204x/ |
H A D | pci.c | 36 u32 timeout = 10000; in trigger_fpga_config() local 53 if (timeout-- == 0) { in trigger_fpga_config() 72 u32 timeout = 500000; in wait_for_fpga_config() local 77 if (timeout-- == 0) { in wait_for_fpga_config()
|
/openbmc/openbmc/poky/meta/recipes-core/busybox/files/ |
H A D | syslog | 63 timeout=5; 64 while [ $timeout -gt 0 ] 66 timeout=$(( $timeout-1 ))
|
/openbmc/openpower-debug-collector/ |
H A D | watchdog_timeout.cpp | 31 uint32_t timeout = dumpTimeout; in main() local 32 app.add_option("-t,--timeout", timeout, in main() 67 triggerHostbootDump(timeout); in main() 73 handleSbeBootError(procTarget, timeout); in main()
|
/openbmc/linux/drivers/comedi/drivers/ |
H A D | dt2801.c | 230 int timeout = DT2801_TIMEOUT; in dt2801_readdata() local 240 } while (--timeout > 0); in dt2801_readdata() 276 } while (--timeout > 0); in dt2801_writedata() 310 } while (--timeout > 0); in dt2801_wait_for_ready() 335 int timeout; in dt2801_reset() local 348 timeout = 10000; in dt2801_reset() 353 } while (timeout--); in dt2801_reset() 354 if (!timeout) in dt2801_reset() 363 timeout = 10000; in dt2801_reset() 368 } while (timeout--); in dt2801_reset() [all …]
|
/openbmc/qemu/util/ |
H A D | fdmon-epoll.c | 57 int64_t timeout) in fdmon_epoll_wait() argument 67 if (timeout > 0) { in fdmon_epoll_wait() 68 ret = qemu_poll_ns(&pfd, 1, timeout); in fdmon_epoll_wait() 70 timeout = 0; in fdmon_epoll_wait() 73 if (timeout <= 0 || ret > 0) { in fdmon_epoll_wait() 76 timeout); in fdmon_epoll_wait()
|