Searched refs:maxloops (Results 1 – 5 of 5) sorted by relevance
636 int maxloops = MAXLOOPS; in dbri_cmdwait() local641 while ((--maxloops) > 0 && (sbus_readl(dbri->regs + REG0) & D_P)) { in dbri_cmdwait()648 if (maxloops == 0) in dbri_cmdwait()652 MAXLOOPS - maxloops - 1); in dbri_cmdwait()
518 unsigned int i, maxloops = 1000; in cio2_hw_exit() local533 } while (--maxloops); in cio2_hw_exit()534 if (!maxloops) in cio2_hw_exit()
472 mmc_omap_send_abort(struct mmc_omap_host *host, int maxloops) in mmc_omap_send_abort() argument481 while (restarts < maxloops) { in mmc_omap_send_abort()
5618 int maxloops; in ahc_pause_and_flushwork() local5621 maxloops = 1000; in ahc_pause_and_flushwork()5642 } while (--maxloops in ahc_pause_and_flushwork()5646 if (maxloops == 0) { in ahc_pause_and_flushwork()
7903 u_int maxloops; in ahd_pause_and_flushwork() local7905 maxloops = 1000; in ahd_pause_and_flushwork()7932 } while (--maxloops in ahd_pause_and_flushwork()7938 if (maxloops == 0) { in ahd_pause_and_flushwork()