/openbmc/qemu/tests/avocado/ |
H A D | migration.py | 29 timeout = 10 variable in MigrationTest 37 timeout=self.timeout, 41 timeout=self.timeout,
|
/openbmc/linux/tools/testing/selftests/net/ |
H A D | unicast_extensions.sh | 72 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1 73 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1 108 ip netns exec $foo_ns timeout 2 ping -c 1 $2 || return 1 109 ip netns exec $foo_ns timeout 2 ping -c 1 $4 || return 1 110 ip netns exec $bar_ns timeout 2 ping -c 1 $3 || return 1 111 ip netns exec $bar_ns timeout 2 ping -c 1 $1 || return 1
|
/openbmc/linux/drivers/gpu/drm/amd/amdgpu/ |
H A D | amdgpu_hmm.c | 175 unsigned long timeout; in amdgpu_hmm_range_get_pages() local 206 timeout = max((hmm_range->end - hmm_range->start) >> 27, 1UL); in amdgpu_hmm_range_get_pages() 207 timeout *= HMM_RANGE_DEFAULT_TIMEOUT; in amdgpu_hmm_range_get_pages() 208 timeout = jiffies + msecs_to_jiffies(timeout); in amdgpu_hmm_range_get_pages() 218 if (r == -EBUSY && !time_after(jiffies, timeout)) in amdgpu_hmm_range_get_pages()
|
H A D | mxgpu_ai.c | 84 int timeout = AI_MAILBOX_POLL_ACK_TIMEDOUT; in xgpu_ai_poll_ack() local 93 timeout -= 5; in xgpu_ai_poll_ack() 94 } while (timeout > 1); in xgpu_ai_poll_ack() 103 int r, timeout = AI_MAILBOX_POLL_MSG_TIMEDOUT; in xgpu_ai_poll_msg() local 111 timeout -= 10; in xgpu_ai_poll_msg() 112 } while (timeout > 1); in xgpu_ai_poll_msg() 256 int timeout = AI_MAILBOX_POLL_FLR_TIMEDOUT; in xgpu_ai_mailbox_flr_work() local 276 timeout -= 10; in xgpu_ai_mailbox_flr_work() 277 } while (timeout > 1); in xgpu_ai_mailbox_flr_work()
|
H A D | mxgpu_nv.c | 82 int timeout = NV_MAILBOX_POLL_ACK_TIMEDOUT; in xgpu_nv_poll_ack() local 91 timeout -= 5; in xgpu_nv_poll_ack() 92 } while (timeout > 1); in xgpu_nv_poll_ack() 102 uint64_t timeout, now; in xgpu_nv_poll_msg() local 105 timeout = now + NV_MAILBOX_POLL_MSG_TIMEDOUT; in xgpu_nv_poll_msg() 114 } while (timeout > now); in xgpu_nv_poll_msg() 278 int timeout = NV_MAILBOX_POLL_FLR_TIMEDOUT; in xgpu_nv_mailbox_flr_work() local 298 timeout -= 10; in xgpu_nv_mailbox_flr_work() 299 } while (timeout > 1); in xgpu_nv_mailbox_flr_work()
|
/openbmc/linux/drivers/gpu/drm/vc4/ |
H A D | vc4_trace.h | 18 TP_PROTO(struct drm_device *dev, uint64_t seqno, uint64_t timeout), 19 TP_ARGS(dev, seqno, timeout), 24 __field(u64, timeout) 30 __entry->timeout = timeout; 34 __entry->dev, __entry->seqno, __entry->timeout)
|
/openbmc/linux/sound/pci/cs5535audio/ |
H A D | cs5535audio_pm.c | 67 int timeout; in snd_cs5535audio_resume() local 73 timeout = 50; in snd_cs5535audio_resume() 79 } while (--timeout); in snd_cs5535audio_resume() 81 if (!timeout) in snd_cs5535audio_resume()
|
/openbmc/linux/tools/testing/selftests/powerpc/ |
H A D | harness.c | 25 static uint64_t timeout = 120; variable 47 if (timeout != -1) in run_test() 49 alarm(timeout); in run_test() 101 timeout = time; in test_harness_set_timeout()
|
/openbmc/linux/drivers/char/ |
H A D | dsp56k.c | 60 #define handshake(count, maxio, timeout, ENABLE, f) \ argument 66 for (t = 0; t < timeout && !ENABLE; t++) \ 100 long maxio, timeout; member 203 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 213 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 220 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 232 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_RECEIVE, in dsp56k_read() 265 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 275 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() 282 handshake(count, dsp56k.maxio, dsp56k.timeout, DSP56K_TRANSMIT, in dsp56k_write() [all …]
|
/openbmc/linux/net/smc/ |
H A D | smc_close.c | 54 if (!timeout) in smc_close_stream_wait() 65 while (!signal_pending(current) && timeout) { in smc_close_stream_wait() 68 rc = sk_wait_event(sk, &timeout, in smc_close_stream_wait() 200 long timeout; in smc_close_active() local 204 timeout = current->flags & PF_EXITING ? in smc_close_active() 231 smc_close_stream_wait(smc, timeout); in smc_close_active() 265 smc_close_stream_wait(smc, timeout); in smc_close_active() 452 long timeout; in smc_close_shutdown_write() local 455 timeout = current->flags & PF_EXITING ? in smc_close_shutdown_write() 463 smc_close_stream_wait(smc, timeout); in smc_close_shutdown_write() [all …]
|
/openbmc/linux/drivers/dma-buf/ |
H A D | dma-fence.c | 501 dma_fence_wait_timeout(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_wait_timeout() argument 505 if (WARN_ON(timeout < 0)) in dma_fence_wait_timeout() 516 ret = fence->ops->wait(fence, intr, timeout); in dma_fence_wait_timeout() 518 ret = dma_fence_default_wait(fence, intr, timeout); in dma_fence_wait_timeout() 761 dma_fence_default_wait(struct dma_fence *fence, bool intr, signed long timeout) in dma_fence_default_wait() argument 765 signed long ret = timeout ? timeout : 1; in dma_fence_default_wait() 777 if (!timeout) { in dma_fence_default_wait() 849 bool intr, signed long timeout, uint32_t *idx) in dma_fence_wait_any_timeout() argument 852 signed long ret = timeout; in dma_fence_wait_any_timeout() 855 if (WARN_ON(!fences || !count || timeout < 0)) in dma_fence_wait_any_timeout() [all …]
|
/openbmc/openbmc/meta-arm/meta-arm/lib/oeqa/runtime/cases/ |
H A D | fvp_boot.py | 15 timeout = int(self.td.get('TEST_FVP_LINUX_BOOT_TIMEOUT') or 10*60) 16 self.target.transition("linux", timeout) 24 timeout=0)
|
/openbmc/linux/drivers/watchdog/ |
H A D | omap_wdt.c | 117 unsigned int timeout) in omap_wdt_set_timer() argument 119 u32 pre_margin = GET_WLDR_VAL(timeout); in omap_wdt_set_timer() 157 omap_wdt_set_timer(wdev, wdog->timeout); in omap_wdt_start() 190 unsigned int timeout) in omap_wdt_set_timeout() argument 196 omap_wdt_set_timer(wdev, timeout); in omap_wdt_set_timeout() 199 wdog->timeout = timeout; in omap_wdt_set_timeout() 253 wdev->wdog.timeout = TIMER_MARGIN_DEFAULT; in omap_wdt_probe() 287 wdev->wdog.timeout); in omap_wdt_probe()
|
H A D | stpmic1_wdt.c | 60 unsigned int timeout) in pmic_wdt_set_timeout() argument 64 wdd->timeout = timeout; in pmic_wdt_set_timeout() 66 return regmap_write(wdt->pmic->regmap, WCHDG_TIMER_CR, timeout - 1); in pmic_wdt_set_timeout() 108 wdt->wdtdev.timeout = PMIC_WDT_DEFAULT_TIMEOUT; in pmic_wdt_probe()
|
H A D | geodewdt.c | 33 static int timeout = WATCHDOG_TIMEOUT; variable 34 module_param(timeout, int, 0); 35 MODULE_PARM_DESC(timeout, 78 timeout = val; in geodewdt_set_heartbeat() 188 return put_user(timeout, p); in geodewdt_ioctl() 234 timeout * GEODEWDT_HZ); in geodewdt_probe()
|
H A D | pseries-wdt.c | 89 static unsigned int timeout = WATCHDOG_TIMEOUT; variable 90 module_param(timeout, uint, 0444); 91 MODULE_PARM_DESC(timeout, "Initial watchdog timeout in seconds (default=" 108 msecs = wdd->timeout * MSEC_PER_SEC; in pseries_wdt_start() 184 pw->wd.timeout = timeout; in pseries_wdt_probe()
|
H A D | tegra_wdt.c | 101 (wdd->timeout << WDT_CFG_PERIOD_SHIFT) | in tegra_wdt_start() 131 unsigned int timeout) in tegra_wdt_set_timeout() argument 133 wdd->timeout = timeout; in tegra_wdt_set_timeout() 162 return (((3 - exp) * wdd->timeout) + count) / 4; in tegra_wdt_get_timeleft() 209 wdd->timeout = heartbeat; in tegra_wdt_probe()
|
/openbmc/linux/kernel/futex/ |
H A D | syscalls.c | 85 long do_futex(u32 __user *uaddr, int op, u32 val, ktime_t *timeout, in do_futex() argument 106 return futex_wait(uaddr, flags, val, timeout, val3); in do_futex() 122 return futex_lock_pi(uaddr, flags, timeout, 0); in do_futex() 129 return futex_wait_requeue_pi(uaddr, flags, val, timeout, val3, in do_futex() 248 struct __kernel_timespec __user *, timeout, clockid_t, clockid) in SYSCALL_DEFINE5() argument 263 if (timeout) { in SYSCALL_DEFINE5() 274 if (get_timespec64(&ts, timeout)) in SYSCALL_DEFINE5() 296 ret = futex_wait_multiple(futexv, nr_futexes, timeout ? &to : NULL); in SYSCALL_DEFINE5() 301 if (timeout) { in SYSCALL_DEFINE5()
|
/openbmc/linux/include/linux/ |
H A D | completion.h | 108 unsigned long timeout); 110 unsigned long timeout); 112 struct completion *x, unsigned long timeout); 114 struct completion *x, unsigned long timeout);
|
/openbmc/linux/arch/arm/mach-versatile/ |
H A D | platsmp.c | 68 unsigned long timeout; in versatile_boot_secondary() local 91 timeout = jiffies + (1 * HZ); in versatile_boot_secondary() 92 while (time_before(jiffies, timeout)) { in versatile_boot_secondary()
|
/openbmc/u-boot/board/armltd/vexpress64/ |
H A D | pcie.c | 145 int timeout = 200; in xr3pci_init() local 164 } while (--timeout && in xr3pci_init() 167 if (!timeout) { in xr3pci_init() 174 timeout = 20; in xr3pci_init() 179 } while (--timeout && !(val & XR3PCI_BS_LINK_MASK)); in xr3pci_init()
|
/openbmc/linux/drivers/platform/x86/ |
H A D | winmate-fm07-keys.c | 38 goto timeout; in fm07keys_poll() 47 goto timeout; in fm07keys_poll() 53 goto timeout; in fm07keys_poll() 59 goto timeout; in fm07keys_poll() 71 timeout: in fm07keys_poll()
|
/openbmc/u-boot/drivers/misc/ |
H A D | mxs_ocotp.c | 34 int timeout = MXS_OCOTP_TIMEOUT; in mxs_ocotp_wait_busy_clear() local 36 while (--timeout) { in mxs_ocotp_wait_busy_clear() 43 if (!timeout) in mxs_ocotp_wait_busy_clear() 123 uint32_t reg, timeout = MXS_OCOTP_TIMEOUT; in mxs_ocotp_wait_hclk_ready() local 125 while (--timeout) { in mxs_ocotp_wait_hclk_ready() 131 if (!timeout) in mxs_ocotp_wait_hclk_ready()
|
/openbmc/linux/drivers/mtd/nand/raw/ingenic/ |
H A D | jz4740_ecc.c | 70 unsigned int timeout = 1000; in jz4740_ecc_calculate() local 77 } while (!(status & JZ_NAND_STATUS_ENC_FINISH) && --timeout); in jz4740_ecc_calculate() 79 if (timeout == 0) in jz4740_ecc_calculate() 123 unsigned int timeout = 1000; in jz4740_ecc_correct() local 136 } while (!(status & JZ_NAND_STATUS_DEC_FINISH) && --timeout); in jz4740_ecc_correct() 138 if (timeout == 0) in jz4740_ecc_correct()
|
/openbmc/openbmc-tools/reboot-ping-pong/ |
H A D | rpp | 29 self.session.expect([".+".encode(), pexpect.TIMEOUT], timeout=5) 35 self.session.expect(needle, timeout=None) 99 "Hit any key to stop autoboot:".encode(), timeout=None 101 self.session.expect(self.getty, timeout=None) 150 rc = self.session.expect([self.petitboot, self.shell], timeout=None) 157 rc = self.session.expect([self.petitboot, self.shell], timeout=None) 163 "INIT: Waiting for kernel...".encode(), timeout=None 165 self.session.expect("Petitboot".encode(), timeout=None)
|