/openbmc/linux/drivers/watchdog/ |
H A D | st_lpc_wdt.c | 81 static void st_wdog_load_timer(struct st_wdog *st_wdog, unsigned int timeout) in st_wdog_load_timer() argument 85 writel_relaxed(timeout * clkrate, st_wdog->base + LPC_LPA_LSB_OFF); in st_wdog_load_timer() 108 unsigned int timeout) in st_wdog_set_timeout() argument 112 wdd->timeout = timeout; in st_wdog_set_timeout() 113 st_wdog_load_timer(st_wdog, timeout); in st_wdog_set_timeout() 122 st_wdog_load_timer(st_wdog, wdd->timeout); in st_wdog_keepalive() 279 st_wdog_load_timer(st_wdog, st_wdog_dev.timeout); in st_wdog_resume()
|
H A D | max77620_wdt.c | 97 unsigned int timeout) in max77620_wdt_set_timeout() argument 104 switch (timeout) { in max77620_wdt_set_timeout() 141 wdt_dev->timeout = wdt_timeout; in max77620_wdt_set_timeout() 216 wdt_dev->timeout = 2; in max77620_wdt_probe() 219 wdt_dev->timeout = 16; in max77620_wdt_probe() 222 wdt_dev->timeout = 64; in max77620_wdt_probe() 225 wdt_dev->timeout = 128; in max77620_wdt_probe()
|
H A D | ftwdt010_wdt.c | 51 unsigned int timeout, in ftwdt010_enable() argument 56 writel(timeout * WDT_CLOCK, gwdt->base + FTWDT010_WDLOAD); in ftwdt010_enable() 71 ftwdt010_enable(gwdt, wdd->timeout, gwdt->has_irq); in ftwdt010_wdt_start() 94 unsigned int timeout) in ftwdt010_wdt_set_timeout() argument 96 wdd->timeout = timeout; in ftwdt010_wdt_set_timeout() 163 gwdt->wdd.timeout = 13U; in ftwdt010_wdt_probe()
|
H A D | sunplus_wdt.c | 35 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) { in sp_wdt_ping() 82 count = (wdev->timeout * STC_CLK) >> 4; in sp_wdt_ping() 188 priv->wdev.timeout = SP_WDT_DEFAULT_TIMEOUT; in sp_wdt_probe() 194 watchdog_init_timeout(&priv->wdev, timeout, dev); in sp_wdt_probe()
|
H A D | intel-mid_wdt.c | 55 int timeout = wd->timeout; in wdt_start() local 58 u32 timeout; in wdt_start() member 59 } ipc_wd_start = { timeout - MID_WDT_PRETIMEOUT, timeout }; in wdt_start() 151 wdt_dev->timeout = MID_WDT_DEFAULT_TIMEOUT; in mid_wdt_probe()
|
H A D | gxp-wdt.c | 42 writew(SECS_TO_WDOG_TICKS(wdd->timeout), drvdata->base + GXP_WDT_CNT_OFS); in gxp_wdt_start() 59 unsigned int timeout) in gxp_wdt_set_timeout() argument 64 wdd->timeout = timeout; in gxp_wdt_set_timeout() 65 actual = min(timeout * 100, wdd->max_hw_heartbeat_ms / 10); in gxp_wdt_set_timeout() 140 drvdata->wdd.timeout = WDT_DEFAULT_TIMEOUT; in gxp_wdt_probe()
|
/openbmc/linux/drivers/i2c/busses/ |
H A D | i2c-pca-platform.c | 79 unsigned long timeout; in i2c_pca_pf_waitforcompletion() local 85 & I2C_PCA_CON_SI, i2c->adap.timeout); in i2c_pca_pf_waitforcompletion() 88 timeout = jiffies + i2c->adap.timeout; in i2c_pca_pf_waitforcompletion() 90 ret = time_before(jiffies, timeout); in i2c_pca_pf_waitforcompletion() 171 i2c->adap.timeout = HZ; in i2c_pca_pf_probe() 178 i2c->adap.timeout = platform_data->timeout; in i2c_pca_pf_probe()
|
/openbmc/linux/drivers/rtc/ |
H A D | rtc-snvs.c | 68 unsigned int timeout = 100; in rtc_read_lp_counter() local 79 } while (((diff < 0) || (diff > MAX_RTC_READ_DIFF_CYCLES)) && --timeout); in rtc_read_lp_counter() 80 if (!timeout) in rtc_read_lp_counter() 92 unsigned int timeout = 100; in rtc_read_lp_counter_lsb() local 100 if (!timeout) { in rtc_read_lp_counter_lsb() 113 unsigned int timeout = 1000; in rtc_write_sync_lp() local 126 } while (elapsed < 3 && --timeout); in rtc_write_sync_lp() 127 if (!timeout) { in rtc_write_sync_lp() 136 int timeout = 1000; in snvs_rtc_enable() local 142 while (--timeout) { in snvs_rtc_enable() [all …]
|
/openbmc/sdbusplus/include/sdbusplus/ |
H A D | bus.hpp | 216 int wait(std::optional<SdBusDuration> timeout = std::nullopt) in wait() 218 return wait(timeout ? timeout->count() : UINT64_MAX); in wait() 351 auto call(message_t& m, std::optional<SdBusDuration> timeout = std::nullopt) in call() 353 return call(m, timeout ? timeout->count() : 0); in call() 372 std::optional<SdBusDuration> timeout = std::nullopt) in call_noreply() 374 return call_noreply(m, timeout ? timeout->count() : 0); in call_noreply() 395 message_t& m, std::optional<SdBusDuration> timeout = std::nullopt) in call_noreply_noerror() 397 return call_noreply_noerror(m, timeout ? timeout->count() : 0); in call_noreply_noerror()
|
/openbmc/linux/drivers/tty/hvc/ |
H A D | hvsi_lib.c | 260 int rc, timeout; in hvsilib_read_mctrl() local 276 for (timeout = 0; timeout < 20; timeout++) { in hvsilib_read_mctrl() 314 int timeout; in hvsilib_establish() local 321 for (timeout = 0; timeout < 20; timeout++) { in hvsilib_establish() 344 for (timeout = 0; timeout < 40; timeout++) { in hvsilib_establish()
|
/openbmc/phosphor-pid-control/test/ |
H A D | pid_fancontroller_unittest.cpp | 170 int64_t timeout = 0; in TEST() local 171 std::unique_ptr<Sensor> s1 = std::make_unique<SensorMock>("fan0", timeout); in TEST() 172 std::unique_ptr<Sensor> s2 = std::make_unique<SensorMock>("fan1", timeout); in TEST() 209 int64_t timeout = 0; in TEST() local 210 std::unique_ptr<Sensor> s1 = std::make_unique<SensorMock>("fan0", timeout); in TEST() 211 std::unique_ptr<Sensor> s2 = std::make_unique<SensorMock>("fan1", timeout); in TEST() 250 int64_t timeout = 0; in TEST() local 251 std::unique_ptr<Sensor> s1 = std::make_unique<SensorMock>("fan0", timeout); in TEST() 289 int64_t timeout = 0; in TEST() local 290 std::unique_ptr<Sensor> s1 = std::make_unique<SensorMock>("fan0", timeout); in TEST() [all …]
|
/openbmc/linux/include/linux/mlx4/ |
H A D | cmd.h | 270 u16 op, unsigned long timeout, int native); 274 u8 op_modifier, u16 op, unsigned long timeout, in mlx4_cmd() argument 278 op_modifier, op, timeout, native); in mlx4_cmd() 284 unsigned long timeout, int native) in mlx4_cmd_box() argument 287 op_modifier, op, timeout, native); in mlx4_cmd_box() 297 unsigned long timeout, int native) in mlx4_cmd_imm() argument 300 op_modifier, op, timeout, native); in mlx4_cmd_imm()
|
/openbmc/telemetry/tests/src/ |
H A D | dbus_environment.hpp | 47 Milliseconds timeout = std::chrono::seconds(10)) in waitForFutures() argument 55 while (future.valid() && elapsed < timeout) in waitForFutures() 70 if (elapsed >= timeout) in waitForFutures() 80 Milliseconds timeout = std::chrono::seconds(10)) in waitForFuture() argument 87 [](auto, const auto& value) { return value; }, timeout); in waitForFuture() 91 Milliseconds timeout = std::chrono::seconds(10)); 94 Milliseconds timeout = std::chrono::seconds(10));
|
/openbmc/openbmc-test-automation/lib/ |
H A D | tools.exp | 18 set timeout [get_stack_var timeout {} 2] 20 if { $timeout == 1 } { 27 print_error "Did not get ${description} after $timeout ${seconds}.\n" 65 proc expect_wrap {pattern_list message {timeout 15} {fail_on_timeout 1}} {
|
/openbmc/linux/drivers/cdrom/ |
H A D | gdrom.c | 137 (time_before(jiffies, timeout))) in gdrom_wait_clrbusy() 139 return time_before(jiffies, timeout + 1); in gdrom_wait_clrbusy() 144 unsigned long timeout; in gdrom_wait_busy_sleeps() local 146 timeout = jiffies + GDROM_DEFAULT_TIMEOUT; in gdrom_wait_busy_sleeps() 177 unsigned long timeout; in gdrom_spicommand() local 197 if (!time_before(jiffies, timeout + 1)) { in gdrom_spicommand() 575 unsigned long timeout; in gdrom_readdisk_dma() local 605 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() 609 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() 616 timeout = jiffies + HZ / 2; in gdrom_readdisk_dma() [all …]
|
/openbmc/linux/drivers/fsi/ |
H A D | fsi-sbefifo.c | 153 static DEVICE_ATTR_RO(timeout); 451 u32 *status, unsigned long timeout) in sbefifo_wait() argument 463 end_time = jiffies + timeout; in sbefifo_wait() 499 unsigned long timeout; in sbefifo_send_command() local 551 unsigned long timeout; in sbefifo_read_response() local 948 u32 timeout; in sbefifo_cmd_timeout() local 950 if (get_user(timeout, (__u32 __user *)argp)) in sbefifo_cmd_timeout() 953 if (timeout == 0) { in sbefifo_cmd_timeout() 967 u32 timeout; in sbefifo_read_timeout() local 969 if (get_user(timeout, (__u32 __user *)argp)) in sbefifo_read_timeout() [all …]
|
/openbmc/u-boot/drivers/watchdog/ |
H A D | orion_wdt.c | 29 u32 timeout; member 47 writel(priv->timeout, priv->reg + priv->wdt_counter_offset); in orion_wdt_reset() 52 static int orion_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in orion_wdt_start() argument 57 priv->timeout = (u32) timeout; in orion_wdt_start() 65 writel(priv->timeout, priv->reg + priv->wdt_counter_offset); in orion_wdt_start()
|
/openbmc/qemu/util/ |
H A D | async.c | 260 timeout = 10000000; in aio_compute_bh_timeout() 269 return timeout; in aio_compute_bh_timeout() 277 int timeout = -1; in aio_compute_timeout() local 279 timeout = aio_compute_bh_timeout(&ctx->bh_list, timeout); in aio_compute_timeout() 280 if (timeout == 0) { in aio_compute_timeout() 285 timeout = aio_compute_bh_timeout(&s->bh_list, timeout); in aio_compute_timeout() 286 if (timeout == 0) { in aio_compute_timeout() 295 return qemu_soonest_timeout(timeout, deadline); in aio_compute_timeout() 300 aio_ctx_prepare(GSource *source, gint *timeout) in aio_ctx_prepare() argument 317 *timeout = 0; in aio_ctx_prepare() [all …]
|
H A D | main-loop.c | 258 int timeout = 0; in glib_pollfds_fill() local 275 if (timeout < 0) { in glib_pollfds_fill() 278 timeout_ns = (int64_t)timeout * (int64_t)SCALE_MS; in glib_pollfds_fill() 296 static int os_host_main_loop_wait(int64_t timeout) in os_host_main_loop_wait() argument 303 glib_pollfds_fill(&timeout); in os_host_main_loop_wait() 462 static int os_host_main_loop_wait(int64_t timeout) 495 timeout = 0; 567 .timeout = UINT32_MAX, in main_loop_wait() 574 mlpoll.timeout = 0; in main_loop_wait() 582 if (mlpoll.timeout == UINT32_MAX) { in main_loop_wait() [all …]
|
/openbmc/linux/drivers/hwmon/ |
H A D | ftsteutates.c | 262 if (timeout > 0xFF) { in fts_wd_set_timeout() 263 timeout = DIV_ROUND_UP(timeout, 60) * 60; in fts_wd_set_timeout() 271 wdd->timeout = timeout; in fts_wd_set_timeout() 280 wdd->timeout / (u8)data->resolution); in fts_wd_start() 305 int timeout, ret; in fts_watchdog_init() local 309 timeout = fts_read_byte(data->client, FTS_WATCHDOG_TIME_PRESET); in fts_watchdog_init() 310 if (timeout < 0) in fts_watchdog_init() 311 return timeout; in fts_watchdog_init() 314 if (timeout == 0) { in fts_watchdog_init() 318 data->wdd.timeout = 60; in fts_watchdog_init() [all …]
|
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/functional/ |
H A D | utils.py | 18 timeout = 60 23 if start_time > timeout: 49 timeout = 30 54 if start_time > timeout:
|
/openbmc/openbmc/meta-ibm/recipes-phosphor/pldm/ |
H A D | pldm_%.bbappend | 8 -Dsoftoff-timeout-seconds=2700 \ 11 #5 second timeout defined inside PLDM has seen issues during reset reload 13 #PLDM timeouts of up to 20 seconds, so using timeout value of 10 seconds is safe. 15 -Ddbus-timeout-value=10 \
|
/openbmc/openbmc-test-automation/gui/gui_test/overview_menu/ |
H A D | test_overview_menu.robot | 46 Wait Until Page Contains Network information timeout=10 113 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 130 Wait Until Element Is Not Visible ${xpath_page_loading_progress_bar} timeout=30 141 Page Should Contain Element ${xpath_event_logs_view_more_button} timeout=30 143 Wait Until Page Contains Element ${xpath_event_logs_heading} timeout=30 207 Wait Until Page Contains Element ${xpath_dumps_view_more_button} timeout=30 209 Wait Until Page Contains Element ${xpath_dumps_header} timeout=30 227 Wait Until Page Contains Element ${xpath_firmware_heading} timeout=30 236 Wait Until Page Contains Element ${xpath_network_heading} timeout=30 245 Wait Until Page Contains Element ${xpath_power_heading} timeout=30 [all …]
|
/openbmc/u-boot/drivers/net/ |
H A D | lpc32xx_eth.c | 234 u32 timeout; in mii_reg_read() local 256 timeout = MII_TIMEOUT; in mii_reg_read() 260 if (--timeout == 0) in mii_reg_read() 267 if (timeout == 0) { in mii_reg_read() 293 u32 timeout; in mii_reg_write() local 319 if (--timeout == 0) in mii_reg_write() 323 if (timeout == 0) { in mii_reg_write() 364 timeout = TX_TIMEOUT; in lpc32xx_eth_send() 368 if (timeout-- == 0) in lpc32xx_eth_send() 400 timeout = RX_TIMEOUT; in lpc32xx_eth_recv() [all …]
|
/openbmc/linux/drivers/media/pci/saa7164/ |
H A D | saa7164-cmd.c | 21 dev->cmds[i].timeout = 0; in saa7164_cmd_alloc_seqno() 38 dev->cmds[seqno].timeout = 0; in saa7164_cmd_free_seqno() 48 dev->cmds[seqno].timeout = 1; in saa7164_cmd_timeout_seqno() 60 ret = dev->cmds[seqno].timeout; in saa7164_cmd_timeout_get() 72 u32 timeout; in saa7164_irq_dequeue() local 87 timeout = saa7164_cmd_timeout_get(dev, tRsp.seqno); in saa7164_irq_dequeue() 89 if (!timeout) { in saa7164_irq_dequeue() 124 u32 timeout; in saa7164_cmd_dequeue() local 140 timeout = saa7164_cmd_timeout_get(dev, tRsp.seqno); in saa7164_cmd_dequeue() 142 if (timeout) { in saa7164_cmd_dequeue() [all …]
|