/u-boot/drivers/misc/ |
H A D | fsl_sec_mon.c | 20 int timeout = 10; local 36 while (timeout) { 44 timeout--; 47 if (timeout == 0) { 48 printf("SEC_MON state transition timeout.\n"); 65 while (timeout) { 73 timeout--; 76 if (timeout == 0) { 77 printf("SEC_MON state transition timeout.\n"); 81 timeout 121 int timeout = 10; local [all...] |
/u-boot/lib/efi_loader/ |
H A D | efi_watchdog.c | 28 printf("\nEFI: Watchdog timeout\n"); 39 * @timeout: seconds before reset by watchdog 42 efi_status_t efi_set_watchdog(unsigned long timeout) argument 46 if (timeout) 49 EFI_SECONDS_TO_100NS * timeout);
|
/u-boot/include/broadcom/ |
H A D | chimp.h | 48 * @timeout: timeout value, if 0 then default timeout is considered by op-tee 53 int chimp_handshake_status_optee(u32 timeout, u32 *hstatus);
|
/u-boot/arch/mips/mach-octeon/include/mach/ |
H A D | cvmx-helper-spi.h | 68 * Sets the spi timeout in config data 69 * @param timeout value 71 void cvmx_spi_config_set_timeout(int timeout);
|
/u-boot/include/linux/ |
H A D | completion.h | 114 unsigned long timeout); 116 unsigned long timeout); 118 struct completion *x, unsigned long timeout); 120 struct completion *x, unsigned long timeout); 141 unsigned long timeout) 146 unsigned long timeout) 151 unsigned long timeout) 156 unsigned long timeout) 140 wait_for_completion_timeout(struct completion *x, unsigned long timeout) argument 145 wait_for_completion_io_timeout(struct completion *x, unsigned long timeout) argument 150 wait_for_completion_interruptible_timeout(struct completion *x, unsigned long timeout) argument 155 wait_for_completion_killable_timeout(struct completion *x, unsigned long timeout) argument
|
/u-boot/arch/arm/mach-imx/ |
H A D | misc.c | 25 int timeout) 27 while (--timeout) { 33 return !timeout; 37 int timeout) 39 while (--timeout) { 45 return !timeout; 24 mxs_wait_mask_set(struct mxs_register_32 *reg, uint32_t mask, unsigned int timeout) argument 36 mxs_wait_mask_clr(struct mxs_register_32 *reg, uint32_t mask, unsigned int timeout) argument
|
/u-boot/test/py/tests/ |
H A D | test_memtest.py | 9 iterations and timeout. This test will be automatically skipped without this. 23 'timeout': 50000, 36 timeout = f.get("timeout", 50000) 38 return start, end, pattern, iteration, timeout 44 start, end, pattern, iteration, timeout = get_memtest_env(u_boot_console) 60 start, end, pattern, iteration, timeout = get_memtest_env(u_boot_console) 62 with u_boot_console.temporary_timeout(timeout):
|
/u-boot/drivers/phy/ |
H A D | phy-da8xx-usb.c | 21 unsigned long timeout; local 30 timeout = get_timer(0); 31 while (get_timer(timeout) < 10) {
|
/u-boot/drivers/watchdog/ |
H A D | s5p_wdt.c | 26 void wdt_start(unsigned int timeout) argument 40 writel(timeout, &wdt->wtdat); 41 writel(timeout, &wdt->wtcnt);
|
H A D | at91sam9_wdt.c | 13 * timeout need to be set from U-Boot, be sure that the bootstrap doesn't 43 u64 timeout; local 46 /* Calculate timeout in seconds and the resulting ticks */ 47 timeout = timeout_ms; 48 do_div(timeout, 1000); 49 timeout = min_t(u64, timeout, WDT_MAX_TIMEOUT); 50 ticks = WDT_SEC2TICKS(timeout);
|
H A D | imx_watchdog.c | 65 u64 timeout) 73 timeout = max_t(u64, timeout, TIMEOUT_MIN); 74 timeout = min_t(u64, timeout, TIMEOUT_MAX); 75 timeout = lldiv(timeout, 500) - 1; 78 wcr = (WCR_WDA | WCR_SRS | WCR_WDE) << 8 | timeout; 81 WCR_WDA | SET_WCR_WT(timeout); 128 static int imx_wdt_start(struct udevice *dev, u64 timeout, ulon argument 64 imx_watchdog_init(struct watchdog_regs *wdog, bool ext_reset, u64 timeout) argument [all...] |
H A D | sandbox_alarm-wdt.c | 20 static int alarm_wdt_start(struct udevice *dev, u64 timeout, ulong flags) argument 25 timeout = DIV_ROUND_UP(timeout, 1000); 26 sec = min_t(u64, UINT_MAX, timeout);
|
H A D | cdns_wdt.c | 109 * @timeout: Timeout value 113 * count = (timeout * clock) / prescaler + 1. 128 static int cdns_wdt_start(struct udevice *dev, u64 timeout, ulong flags) argument 146 /* Calculate timeout in seconds and restrict to min and max value */ 147 do_div(timeout, 1000); 148 timeout = max_t(u64, timeout, CDNS_WDT_MIN_TIMEOUT); 149 timeout = min_t(u64, timeout, CDNS_WDT_MAX_TIMEOUT); 151 debug("%s: CLK_FREQ %ld, timeout [all...] |
H A D | sandbox_wdt.c | 11 static int sandbox_wdt_start(struct udevice *dev, u64 timeout, ulong flags) argument 15 state->wdt.counter = timeout;
|
H A D | apple_wdt.c | 34 u64 timeout; local 36 timeout = (timeout_ms * priv->clk_rate) / 1000; 37 if (timeout > U32_MAX) 41 writel(timeout, priv->base + APPLE_WDT_BARK_TIME);
|
/u-boot/include/xen/interface/ |
H A D | sched.h | 74 * optional timeout may be specified. 98 * after timeout, returns watchdog id. 99 * With id != 0 and timeout == 0, destroy domain watchdog timer. 100 * With id != 0 and timeout != 0, poke watchdog timer and set new timeout. 125 u64 timeout; member in struct:sched_poll 139 u32 timeout; /* timeout */ member in struct:sched_watchdog
|
/u-boot/drivers/mtd/nand/raw/ |
H A D | lpc32xx_nand_mlc.c | 240 unsigned int i, status, timeout, err, max_bitflips = 0; local 248 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { 288 unsigned int i, status, timeout; local 296 for (timeout = LPC32X_NAND_TIMEOUT; timeout; timeout--) { 336 unsigned int i, status, timeout, err, max_bitflips = 0; local 348 for (timeout 390 unsigned int i, status, timeout; local 484 unsigned int i, status, timeout; local 519 unsigned int timeout; local 627 int status, i, timeout, err, max_bitflips = 0; local [all...] |
/u-boot/net/ |
H A D | wol.h | 56 * Set the timeout for the reception of a Wake-on-LAN packet 58 * @param timeout in milliseconds 60 void wol_set_timeout(ulong timeout);
|
/u-boot/arch/arm/mach-bcm283x/ |
H A D | reset.c | 25 /* max ticks timeout */ 35 uint32_t rstc, timeout; local 39 timeout = RESET_TIMEOUT; 41 timeout = ticks & BCM2835_WDOG_MAX_TIMEOUT; 47 writel(BCM2835_WDOG_PASSWORD | timeout, &wdog_regs->wdog);
|
/u-boot/drivers/mmc/ |
H A D | kona_sdhci.c | 26 unsigned int timeout; local 38 timeout = 1000; 40 if (timeout == 0) { 41 printf("%s: reset timeout error\n", __func__); 44 timeout--; 66 timeout = 1000; 68 if (timeout == 0) { 69 printf("%s: CARD DETECT timeout error\n", __func__); 72 timeout--;
|
/u-boot/test/dm/ |
H A D | wdt.c | 24 const u64 timeout = 42; local 32 ut_assertok(wdt_start(dev, timeout, 0)); 33 ut_asserteq(timeout, state->wdt.counter); 56 const u64 timeout = 42; local 66 ut_assertok(wdt_start(wdt, timeout, 0)); 88 const u64 timeout = 42; local 98 ut_assertok(wdt_start(wdt, timeout, 0)); 117 const u64 timeout = 42; local 139 ut_assertok(wdt_start(gpio_wdt, timeout, 0)); 140 ut_assertok(wdt_start(sandbox_wdt, timeout, [all...] |
/u-boot/drivers/usb/musb/ |
H A D | am35x.c | 20 .timeout = AM35X_USB_OTG_TIMEOUT, 30 u32 timeout; local 43 timeout = musb_cfg.timeout; 44 while (timeout--)
|
/u-boot/include/ |
H A D | hwspinlock.h | 54 * @timeout: Timeout value in msecs 55 * @return: 0 if OK, -ETIMEDOUT if timeout, -ve on other errors 57 int hwspinlock_lock_timeout(struct hwspinlock *hws, unsigned int timeout); 78 int timeout) 77 hwspinlock_lock_timeout(struct hwspinlock *hws, int timeout) argument
|
/u-boot/drivers/net/fsl-mc/ |
H A D | mc_sys.c | 40 int timeout = 12000; local 49 if (--timeout == 0) {
|
/u-boot/arch/arm/mach-at91/ |
H A D | phy.c | 26 unsigned long const timeout = 1000; /* 1000ms */ local 48 /* timeout for not getting stuck in an endless loop */ 49 if (get_timer(start) >= timeout) {
|