Home
last modified time | relevance | path

Searched refs:timeout (Results 1 – 25 of 995) sorted by relevance

12345678910>>...40

/openbmc/u-boot/drivers/misc/
H A Dfsl_sec_mon.c19 int timeout = 10; in set_sec_mon_state_non_sec() local
35 while (timeout) { in set_sec_mon_state_non_sec()
43 timeout--; in set_sec_mon_state_non_sec()
46 if (timeout == 0) { in set_sec_mon_state_non_sec()
64 while (timeout) { in set_sec_mon_state_non_sec()
72 timeout--; in set_sec_mon_state_non_sec()
75 if (timeout == 0) { in set_sec_mon_state_non_sec()
80 timeout = 10; in set_sec_mon_state_non_sec()
93 while (timeout) { in set_sec_mon_state_non_sec()
101 timeout--; in set_sec_mon_state_non_sec()
[all …]
/openbmc/u-boot/board/micronas/vct/
H A Dsmc_eeprom.c73 int timeout = req_to; in mac_busy() local
75 while (timeout--) { in mac_busy()
138 ulong timeout = 100000; in eeprom_read_location() local
150 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_read_location()
152 timeout--; in eeprom_read_location()
155 if (timeout == 0) { in eeprom_read_location()
167 ulong timeout = 100000; in eeprom_enable_erase_and_write() local
175 while ((timeout > 0) && (smc911x_reg_read(E2P_CMD) & E2P_CMD_EPC_BUSY_)) { in eeprom_enable_erase_and_write()
177 timeout--; in eeprom_enable_erase_and_write()
180 if (timeout == 0) { in eeprom_enable_erase_and_write()
[all …]
/openbmc/openbmc/meta-openembedded/meta-oe/recipes-graphics/directfb/directfb/
H A D0001-Fix-build-on-32bit-arches-with-64bit-time_t.patch56 struct timeval timeout = { 0, 125000 };
59 /* select() timeout? */
75 - timeout_passed( &state->timeout, &levt->time )) {
76 + timeout_passed( &state->timeout, &tval )) {
78 devt->timestamp = state->timeout; /* timeout of levt->time? */
84 - state->timeout = levt->time;
85 + state->timeout.tv_sec = levt->input_event_sec;
86 + state->timeout.tv_usec = levt->input_event_usec;
87 timeout_add( &state->timeout, &timeout );
94 - if (!timeout_passed( &state->timeout, &levt->time )) {
[all …]
/openbmc/sdbusplus/test/event/
H A Devent.cpp17 static constexpr auto timeout = 250ms; in TEST_F() local
20 ev.run_one(timeout); in TEST_F()
23 EXPECT_TRUE(stop - start > timeout); in TEST_F()
24 EXPECT_TRUE(stop - start < timeout * 3); in TEST_F()
29 static constexpr auto timeout = 10s; in TEST_F() local
34 ev.run_one(timeout); in TEST_F()
37 EXPECT_TRUE(stop - start < timeout); in TEST_F()
62 static constexpr auto timeout = 50ms; in TEST_F() local
75 auto c = ev.add_oneshot_timer(handler::_, &ran, timeout); in TEST_F()
80 EXPECT_TRUE(stop - start > timeout); in TEST_F()
[all …]
/openbmc/openbmc/poky/meta/recipes-core/glib-2.0/files/
H A Dskip-timeout.patch4 Subject: [PATCH] Skip /timeout/rounding test
6 This test is sensitive to load because it expects certain timeout operations
15 glib/tests/timeout.c | 1 -
18 diff --git a/glib/tests/timeout.c b/glib/tests/timeout.c
20 --- a/glib/tests/timeout.c
21 +++ b/glib/tests/timeout.c
23 g_test_add_func ("/timeout/seconds-once", test_seconds_once);
24 g_test_add_func ("/timeout/weeks-overflow", test_weeks_overflow);
25 g_test_add_func ("/timeout/far-future-ready-time", test_far_future_ready_time);
26 - g_test_add_func ("/timeout/rounding", test_rounding);
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/python3-blivet/
H A D0003-support-infinit-timeout.patch4 Subject: [PATCH 03/11] support infinit timeout
21 +# timeout = -1 means infinite timeout, always wait.
22 def timeout_command(argv, timeout, *args, **kwargs):
24 if it doesn't normally exit within timeout seconds and return None"""
25 @@ -182,7 +183,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
29 - if (now - start).seconds> timeout:
30 + if timeout != -1 and (now - start).seconds> timeout:
33 program_log.debug("%d seconds timeout" % timeout)
34 @@ -196,7 +197,7 @@ def timeout_command(argv, timeout, *args, **kwargs):
39 …gv, root='/', stdin=None, env_prune=None, stderr_to_stdout=False, binary_output=False, timeout=10):
[all …]
H A D0005-fix-incorrect-timeout-while-system-time-changed.patch4 Subject: [PATCH 05/11] fix incorrect timeout while system time changed
7 breaks with incorrect timeout.
11 |01:40:55,086 DEBUG program: 10 seconds timeout
28 @@ -176,14 +176,14 @@ def timeout_command(argv, timeout, *args, **kwargs):
30 if it doesn't normally exit within timeout seconds and return None"""
40 - if timeout != -1 and (now - start).seconds> timeout:
42 + if timeout != -1 and count > timeout*10:
45 program_log.debug("%d seconds timeout" % timeout)
/openbmc/openbmc-tools/pwmtachtool/src/
H A DEINTR_wrappers.c39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout() argument
41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
109 int sigwrap_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in sigwrap_epoll_wait() argument
113 if (timeout != -1) in sigwrap_epoll_wait()
117 Timeout.tv_sec = timeout / 1000; in sigwrap_epoll_wait()
118 Timeout.tv_nsec = (timeout % 1000) * 1000000; // Convert msec to nsec in sigwrap_epoll_wait()
125 int Result = epoll_wait(epfd, events, maxevents, timeout); in sigwrap_epoll_wait()
133 if (timeout == -1) in sigwrap_epoll_wait()
139 timeout = To.Timeout.tv_sec * 1000 + To.Timeout.tv_nsec / 1000000; in sigwrap_epoll_wait()
[all …]
/openbmc/openbmc-test-automation/lib/
H A Dredfish_request.py67 def request_login(self, headers, url, credential, timeout=10): argument
106 def request_get(self, headers, url, timeout=10, verify=False): argument
137 + str(timeout)
144 url, headers=headers, timeout=timeout, verify=verify
150 def request_patch(self, headers, url, data=None, timeout=10, verify=False): argument
186 + str(timeout)
193 url, headers=headers, data=data, timeout=timeout, verify=verify
199 def request_post(self, headers, url, data=None, timeout=10, verify=False): argument
235 + str(timeout)
245 timeout=timeout,
[all …]
H A Drest_client.robot32 [Arguments] ${uri} ${timeout}=30 ${quiet}=${QUIET} &{kwargs}
36 # timeout Timeout in seconds to establish connection with URI.
43 Initialize OpenBMC ${timeout} quiet=${quiet}
51 … ${resp}= GET On Session openbmc ${base_uri} &{kwargs} timeout=${timeout} expected_status=any
60 [Arguments] ${uri} ${timeout}=10 ${quiet}=${QUIET} &{kwargs}
64 # timeout Timeout in seconds to establish connection with URI.
71 Initialize OpenBMC ${timeout} quiet=${quiet}
79 ${ret}= POST On Session openbmc ${base_uri} &{kwargs} timeout=${timeout}
86 [Arguments] ${uri} ${timeout}=10 &{kwargs}
90 # timeout Timeout in seconds to establish connection with URI.
[all …]
/openbmc/openbmc/meta-arm/meta-arm-systemready/lib/oeqa/runtime/cases/
H A Darm_systemready_debian_unattended.py18 timeout=(20 * 60))
23 timeout=(35 * 60))
28 timeout=(35 * 60))
33 timeout=(7 * 60 * 60))
39 timeout=(15 * 60))
44 timeout=(60))
51 timeout=(2 * 60))
56 timeout=(60))
61 timeout=(2 * 60))
65 self.target.expect(self.console, r'.*login:', timeout=(40 * 60))
H A Darm_systemready_opensuse_unattended.py17 timeout=(2 * 60))
22 timeout=(40 * 60))
27 timeout=(60 * 60))
32 timeout=(40 * 60))
37 timeout=(15 * 60 * 60))
41 self.target.expect(self.console, r'.*login: ', timeout=(6 * 60 * 60))
H A Darm_systemready_fedora_unattended.py18 timeout=(2 * 60))
23 timeout=(2 * 60 * 60))
28 timeout=(30 * 60))
34 timeout=(16 * 60 * 60))
38 self.target.expect(self.console, r'.*login: ', timeout=(5 * 60 * 60))
/openbmc/openbmc-tools/adcapp/src/
H A DEINTR_wrappers.c39 static void sigwrap_InitTimeout(SIGWRAP_TIMEOUT *pDst, const struct timespec *timeout) in sigwrap_InitTimeout() argument
41 pDst->Timeout = *timeout; in sigwrap_InitTimeout()
43 …if ((timeout->tv_sec == 0) && (timeout->tv_nsec == 0)) // If both value are zero … in sigwrap_InitTimeout()
110 int sigwrap_semtimedop(int semid, struct sembuf *sops, size_t nsops, const struct timespec *timeout)
114 if (timeout == NULL)
117 sigwrap_InitTimeout(&To, timeout);
136 int sigwrap_epoll_wait(int epfd, struct epoll_event *events, int maxevents, int timeout) in sigwrap_epoll_wait() argument
140 if (timeout != -1) in sigwrap_epoll_wait()
144 Timeout.tv_sec = timeout / 1000; in sigwrap_epoll_wait()
145 Timeout.tv_nsec = (timeout % 1000) * 1000000; // Convert msec to nsec in sigwrap_epoll_wait()
[all …]
/openbmc/u-boot/drivers/mtd/nand/raw/
H A Dlpc32xx_nand_mlc.c237 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_page_hwecc() local
245 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_hwecc()
285 unsigned int i, status, timeout; in lpc32xx_read_page_raw() local
293 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_page_raw()
333 unsigned int i, status, timeout, err, max_bitflips = 0; in lpc32xx_read_oob() local
345 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_read_oob()
387 unsigned int i, status, timeout; in lpc32xx_write_page_hwecc() local
399 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc()
411 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { in lpc32xx_write_page_hwecc()
481 unsigned int i, status, timeout; in lpc32xx_write_oob() local
[all …]
/openbmc/openbmc/poky/bitbake/lib/toaster/tests/browser/
H A Dselenium_helpers_base.py96 def __init__(self, driver, timeout=_TIMEOUT, poll=_POLL_FREQUENCY): argument
97 self._TIMEOUT = timeout
214 def wait_until_present(self, selector, timeout=Wait._TIMEOUT): argument
218 element = Wait(self.driver, timeout=timeout).until(is_present, msg)
221 def wait_until_visible(self, selector, timeout=Wait._TIMEOUT): argument
225 Wait(self.driver, timeout=timeout).until(is_visible, msg)
228 def wait_until_not_visible(self, selector, timeout=Wait._TIMEOUT): argument
232 Wait(self.driver, timeout=timeout).until_not(is_visible, msg)
235 def wait_until_clickable(self, selector, timeout=Wait._TIMEOUT): argument
237 …WebDriverWait(self.driver, timeout=timeout).until(lambda driver: self.driver.execute_script("retur…
[all …]
/openbmc/u-boot/drivers/usb/host/
H A Dutmi-armada100.c22 int timeout; in utmi_phy_init() local
34 timeout = 10000; in utmi_phy_init()
35 while (--timeout && ((readl(&phy_regs->utmi_pll) & PLL_READY) == 0)) in utmi_phy_init()
37 if (!timeout) in utmi_phy_init()
50 timeout = 10000; in utmi_phy_init()
51 while (--timeout && ((readl(&phy_regs->utmi_pll) & PLL_READY) == 0)) in utmi_phy_init()
53 if (!timeout) in utmi_phy_init()
/openbmc/u-boot/drivers/pci/
H A Dpcie_aspeed.c21 u32 timeout = 0; in aspeed_pcie_set_slot_power_limit() local
57 timeout++; in aspeed_pcie_set_slot_power_limit()
58 if (timeout > 1000) in aspeed_pcie_set_slot_power_limit()
64 timeout = 0; in aspeed_pcie_set_slot_power_limit()
70 timeout++; in aspeed_pcie_set_slot_power_limit()
71 if (timeout > 10) in aspeed_pcie_set_slot_power_limit()
80 timeout++; in aspeed_pcie_set_slot_power_limit()
81 if (timeout > 10) in aspeed_pcie_set_slot_power_limit()
96 u32 timeout = 0; in aspeed_pcie_cfg_read() local
130 timeout++; in aspeed_pcie_cfg_read()
[all …]
/openbmc/ipmitool/src/plugins/usb/
H A Dusb.c176 void *sense_buf, unsigned char slen, unsigned int timeout) in sendscsicmd_SGIO() argument
196 io_hdr.timeout = timeout; in sendscsicmd_SGIO()
198 if (!timeout) { in sendscsicmd_SGIO()
199 io_hdr.timeout = 20000; in sendscsicmd_SGIO()
211 if (!timeout) { in sendscsicmd_SGIO()
315 unsigned int timeout) in AMI_SPT_CMD_SendCmd() argument
333 sensebuff, 32, timeout); in AMI_SPT_CMD_SendCmd()
390 WriteCD(int cd_desc, char CmdData, char *Buffer, unsigned int timeout, in WriteCD() argument
395 ret = AMI_SPT_CMD_SendCmd(cd_desc, Buffer, CmdData, DataLen, timeout); in WriteCD()
405 uint32_t NumBytes, uint32_t timeout) in WriteSplitData() argument
[all …]
/openbmc/u-boot/drivers/watchdog/
H A Dcdns_wdt.c26 u32 timeout; member
127 static int cdns_wdt_start(struct udevice *dev, u64 timeout, ulong flags) in cdns_wdt_start() argument
145 if ((timeout < CDNS_WDT_MIN_TIMEOUT) || in cdns_wdt_start()
146 (timeout > CDNS_WDT_MAX_TIMEOUT)) { in cdns_wdt_start()
147 timeout = priv->timeout; in cdns_wdt_start()
150 debug("%s: CLK_FREQ %ld, timeout %lld\n", __func__, clk_f, timeout); in cdns_wdt_start()
164 count = (timeout * (clk_f / prescaler)) / in cdns_wdt_start()
238 priv->timeout = dev_read_u32_default(dev, "timeout-sec", in cdns_wdt_ofdata_to_platdata()
243 debug("%s: timeout %d, reset %d\n", __func__, priv->timeout, priv->rst); in cdns_wdt_ofdata_to_platdata()
H A Dat91sam9_wdt.c41 u32 timeout; member
51 u32 timeout = WDT_SEC2TICKS(timeout_s); in at91_wdt_start() local
54 timeout = priv->timeout; in at91_wdt_start()
72 | AT91_WDT_MR_WDV(timeout); /* timer value */ in at91_wdt_start()
119 priv->timeout = dev_read_u32_default(dev, "timeout-sec", in at91_wdt_probe()
121 debug("%s: timeout %d", __func__, priv->timeout); in at91_wdt_probe()
/openbmc/openbmc/meta-openembedded/meta-python/recipes-extended/python-blivet/
H A Dpython3-blivet_3.12.1.bb9 file://0002-run_program-support-timeout.patch \
10 file://0003-support-infinit-timeout.patch \
11 file://0005-fix-incorrect-timeout-while-system-time-changed.patch \
13 file://0007-invoking-mount-with-infinite-timeout.patch \
15 file://0009-invoking-fsck-with-infinite-timeout.patch \
16 file://0010-invoking-mkfs-with-infinite-timeout.patch \
17 file://0011-invoking-dd-with-infinite-timeout.patch \
/openbmc/openpower-debug-collector/watchdog/
H A Dwatchdog_logging.cpp23 const uint32_t timeout) in event() argument
37 dumpParameters.timeout = timeout; in event()
44 void eventWatchdogTimeout(const uint32_t timeout) in eventWatchdogTimeout() argument
51 event(additionalData, timeout); in eventWatchdogTimeout()
/openbmc/openbmc/poky/bitbake/lib/bb/asyncrpc/
H A Dconnection.py41 def __init__(self, reader, writer, timeout, max_chunk=DEFAULT_MAX_CHUNK): argument
44 self.timeout = timeout
80 if self.timeout < 0:
84 line = await asyncio.wait_for(self.reader.readline(), self.timeout)
106 def __init__(self, socket, timeout): argument
108 self.timeout = timeout
133 if self.timeout < 0:
137 return await asyncio.wait_for(self.socket.recv(), self.timeout)
/openbmc/openbmc/poky/meta/lib/oeqa/utils/
H A Dsshcontrol.py47 def _run(self, command, timeout=None, logfile=None): argument
52 if timeout:
53 endtime = self.starttime + timeout
68 endtime = time.time() + timeout
80 …s killed - no output for %d seconds. Total running time: %d seconds." % (timeout, time.time() - se…
90 def run(self, command, timeout=None, logfile=None): argument
92 self._run(command, timeout, logfile)
103 def __init__(self, ip, logfile=None, timeout=300, user='root', port=None): argument
105 self.defaulttimeout = timeout
125 def _internal_run(self, command, timeout=None, ignore_status = True): argument
[all …]

12345678910>>...40