Searched refs:maxloops (Results 1 – 5 of 5) sorted by relevance
641 int maxloops = MAXLOOPS; in dbri_cmdwait() local646 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()653 if (maxloops == 0) in dbri_cmdwait()657 MAXLOOPS - maxloops - 1); in dbri_cmdwait()
516 unsigned int i, maxloops = 1000; in cio2_hw_exit() local531 } while (--maxloops); in cio2_hw_exit()532 if (!maxloops) in cio2_hw_exit()
470 mmc_omap_send_abort(struct mmc_omap_host *host, int maxloops) in mmc_omap_send_abort() argument479 while (restarts < maxloops) { in mmc_omap_send_abort()
5585 int maxloops; in ahc_pause_and_flushwork() local5588 maxloops = 1000; in ahc_pause_and_flushwork()5609 } while (--maxloops in ahc_pause_and_flushwork()5613 if (maxloops == 0) { in ahc_pause_and_flushwork()
7862 u_int maxloops; in ahd_pause_and_flushwork() local7864 maxloops = 1000; in ahd_pause_and_flushwork()7891 } while (--maxloops in ahd_pause_and_flushwork()7897 if (maxloops == 0) { in ahd_pause_and_flushwork()