Lines Matching refs:timeo
174 static void panic_nand_wait_ready(struct nand_chip *chip, unsigned long timeo) in panic_nand_wait_ready() argument
179 for (i = 0; i < timeo; i++) { in panic_nand_wait_ready()
195 unsigned long timeo = 400; in nand_wait_ready() local
198 return panic_nand_wait_ready(chip, timeo); in nand_wait_ready()
201 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_ready()
206 } while (time_before(jiffies, timeo)); in nand_wait_ready()
220 static void nand_wait_status_ready(struct nand_chip *chip, unsigned long timeo) in nand_wait_status_ready() argument
224 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait_status_ready()
236 } while (time_before(jiffies, timeo)); in nand_wait_status_ready()
535 unsigned long timeo = 400; in nand_wait() local
550 panic_nand_wait(chip, timeo); in nand_wait()
552 timeo = jiffies + msecs_to_jiffies(timeo); in nand_wait()
568 } while (time_before(jiffies, timeo)); in nand_wait()