Home
last modified time | relevance | path

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

/drivers/mtd/nand/raw/
A Dmxs_nand_spl.c24 u32 timeo, time_start; in mxs_nand_command() local
68 timeo = (CONFIG_SYS_HZ * 20) / 1000; in mxs_nand_command()
70 while (get_timer(time_start) < timeo) { in mxs_nand_command()
A Dfsl_ifc_nand.c259 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in fsl_ifc_run_command() local
274 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()
A Dfsl_elbc_nand.c206 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in fsl_elbc_run_command() local
229 while (get_timer(time_start) < timeo) { in fsl_elbc_run_command()
A Dnand_base.c558 u32 timeo = (CONFIG_SYS_HZ * 400) / 1000; in nand_wait_ready() local
563 while (get_timer(time_start) < timeo) { in nand_wait_ready()
581 static void nand_wait_status_ready(struct mtd_info *mtd, unsigned long timeo) in nand_wait_status_ready() argument
587 timeo = (CONFIG_SYS_HZ * timeo) / 1000; in nand_wait_status_ready()
589 while (get_timer(time_start) < timeo) { in nand_wait_status_ready()
861 unsigned long timeo) in panic_nand_wait() argument
864 for (i = 0; i < timeo; i++) { in panic_nand_wait()
893 unsigned long timeo = 400; in nand_wait() local
909 u32 timer = (CONFIG_SYS_HZ * timeo) / 1000; in nand_wait()
A Dsunxi_nand.c391 unsigned long timeo = (sunxi_nand->nand.state == FL_ERASING ? 400 : 20); in sunxi_nfc_dev_ready() local
406 sunxi_nfc_wait_int(nfc, NFC_RB_B2R, timeo); in sunxi_nfc_dev_ready()
/drivers/net/ldpaa_eth/
A Dldpaa_eth.c135 u32 timeo = (CONFIG_SYS_HZ * 2) / 1000; in ldpaa_eth_rx() local
175 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_rx()
190 u32 timeo = (CONFIG_SYS_HZ * 2) / 1000; in ldpaa_eth_pull_dequeue_rx() local
210 } while (get_timer(time_start) < timeo && !dq); in ldpaa_eth_pull_dequeue_rx()
249 u32 timeo = (CONFIG_SYS_HZ * 10) / 1000; in ldpaa_eth_tx() local
292 while (get_timer(time_start) < timeo) { in ldpaa_eth_tx()
313 } while (get_timer(time_start) < timeo && err == -EBUSY); in ldpaa_eth_tx()
/drivers/mtd/nand/raw/brcmnand/
A Dbrcmnand.c1491 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_waitfunc() local
1495 wait_for_completion_timeout(&ctrl->done, timeo) <= 0) { in brcmnand_waitfunc()
1505 unsigned long timeo = 100; /* 100 msec */ in brcmnand_waitfunc() local
1510 ret = bcmnand_ctrl_poll_status(ctrl, NAND_CTRL_RDY, NAND_CTRL_RDY, timeo); in brcmnand_waitfunc()
1803 unsigned long timeo = msecs_to_jiffies(100); in brcmnand_dma_run() local
1818 if (wait_for_completion_timeout(&ctrl->dma_done, timeo) <= 0) { in brcmnand_dma_run()
/drivers/mtd/onenand/
A Donenand_base.c478 u32 timeo = (CONFIG_SYS_HZ * 20) / 1000; in onenand_wait() local
482 if (get_timer(time_start) > timeo) in onenand_wait()
1169 u32 timeo = (CONFIG_SYS_HZ * 20) / 1000; in onenand_bbt_wait() local
1173 if (get_timer(time_start) > timeo) in onenand_bbt_wait()

Completed in 664 milliseconds