Searched refs:maxloops (Results 1 – 4 of 4) sorted by relevance
640 int maxloops = MAXLOOPS; in dbri_cmdwait() local645 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()652 if (maxloops == 0) in dbri_cmdwait()656 MAXLOOPS - maxloops - 1); in dbri_cmdwait()
484 mmc_omap_send_abort(struct mmc_omap_host *host, int maxloops) in mmc_omap_send_abort() argument493 while (restarts < maxloops) { in mmc_omap_send_abort()
5556 int maxloops; in ahc_pause_and_flushwork() local5559 maxloops = 1000; in ahc_pause_and_flushwork()5580 } while (--maxloops in ahc_pause_and_flushwork()5584 if (maxloops == 0) { in ahc_pause_and_flushwork()
7821 u_int maxloops; in ahd_pause_and_flushwork() local7823 maxloops = 1000; in ahd_pause_and_flushwork()7850 } while (--maxloops in ahd_pause_and_flushwork()7856 if (maxloops == 0) { in ahd_pause_and_flushwork()