Home
last modified time | relevance | path

Searched refs:timeo (Results 1 – 9 of 9) sorted by relevance

/rk3399_rockchip-uboot/drivers/mtd/nand/raw/
H A Dmxs_nand_spl.c19 u32 timeo, time_start; in mxs_nand_command() local
45 timeo = (CONFIG_SYS_HZ * 20) / 1000; in mxs_nand_command()
47 while (get_timer(time_start) < timeo) { in mxs_nand_command()
H A Dfsl_ifc_nand.c262 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in fsl_ifc_run_command() local
277 while (get_timer(time_start) < timeo) { in fsl_ifc_run_command()
807 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in fsl_ifc_sram_init() local
816 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
861 while (get_timer(time_start) < timeo) { in fsl_ifc_sram_init()
H A Dfsl_elbc_nand.c201 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in fsl_elbc_run_command() local
224 while (get_timer(time_start) < timeo) { in fsl_elbc_run_command()
H A Dnand_base.c556 u32 timeo = (CONFIG_SYS_HZ * 400) / 1000; in nand_wait_ready() local
561 while (get_timer(time_start) < timeo) { in nand_wait_ready()
579 static void nand_wait_status_ready(struct mtd_info *mtd, unsigned long timeo) in nand_wait_status_ready() argument
585 timeo = (CONFIG_SYS_HZ * timeo) / 1000; in nand_wait_status_ready()
587 while (get_timer(time_start) < timeo) { in nand_wait_status_ready()
858 unsigned long timeo) in panic_nand_wait() argument
861 for (i = 0; i < timeo; i++) { in panic_nand_wait()
890 unsigned long timeo = 400; in nand_wait() local
906 u32 timer = (CONFIG_SYS_HZ * timeo) / 1000; in nand_wait()
H A Dsunxi_nand.c386 unsigned long timeo = (sunxi_nand->nand.state == FL_ERASING ? 400 : 20); in sunxi_nfc_dev_ready() local
401 sunxi_nfc_wait_int(nfc, NFC_RB_B2R, timeo); in sunxi_nfc_dev_ready()
/rk3399_rockchip-uboot/drivers/net/ldpaa_eth/
H A Dldpaa_eth.c207 u32 timeo = (CONFIG_SYS_HZ * 2) / 1000; in ldpaa_eth_rx() local
247 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_rx()
261 u32 timeo = (CONFIG_SYS_HZ * 2) / 1000; in ldpaa_eth_pull_dequeue_rx() local
281 } while (get_timer(time_start) < timeo && !dq); in ldpaa_eth_pull_dequeue_rx()
320 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in ldpaa_eth_tx() local
363 while (get_timer(time_start) < timeo) { in ldpaa_eth_tx()
384 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_tx()
/rk3399_rockchip-uboot/tools/
H A Dkwboot.c156 kwboot_tty_recv(int fd, void *buf, size_t len, int timeo) in kwboot_tty_recv() argument
169 tv.tv_usec = timeo * 1000; in kwboot_tty_recv()
/rk3399_rockchip-uboot/drivers/mtd/nand/raw/brcmnand/
H A Dbrcmnand.c1226 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_waitfunc() local
1230 wait_for_completion_timeout(&ctrl->done, timeo) <= 0) { in brcmnand_waitfunc()
1240 unsigned long timeo = 100; /* 100 msec */ in brcmnand_waitfunc() local
1245 ret = bcmnand_ctrl_poll_status(ctrl, NAND_CTRL_RDY, NAND_CTRL_RDY, timeo); in brcmnand_waitfunc()
1543 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_dma_run() local
1555 if (wait_for_completion_timeout(&ctrl->dma_done, timeo) <= 0) { in brcmnand_dma_run()
/rk3399_rockchip-uboot/drivers/mtd/onenand/
H A Donenand_base.c475 u32 timeo = (CONFIG_SYS_HZ * 20) / 1000; in onenand_wait() local
479 if (get_timer(time_start) > timeo) in onenand_wait()
1167 u32 timeo = (CONFIG_SYS_HZ * 20) / 1000; in onenand_bbt_wait() local
1171 if (get_timer(time_start) > timeo) in onenand_bbt_wait()