Searched refs:maxloops (Results 1 – 4 of 4) 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()
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()
5557 int maxloops; in ahc_pause_and_flushwork() local5560 maxloops = 1000; in ahc_pause_and_flushwork()5581 } while (--maxloops in ahc_pause_and_flushwork()5585 if (maxloops == 0) { in ahc_pause_and_flushwork()
7822 u_int maxloops; in ahd_pause_and_flushwork() local7824 maxloops = 1000; in ahd_pause_and_flushwork()7851 } while (--maxloops in ahd_pause_and_flushwork()7857 if (maxloops == 0) { in ahd_pause_and_flushwork()