Lines Matching refs:loop
163 int loop = DBGP_TIMEOUT;
171 } while (--loop > 0);
173 if (!loop)
199 static int dbgp_wait_until_done(unsigned ctrl, int loop)
219 if (ret == -DBGP_ERR_BAD && --loop > 0)
233 if (--loop > 0)
433 int loop;
453 loop = 10;
459 } while (--loop > 0);
461 if (!loop) {
471 int loop = 250 * 1000;
480 } while ((cmd & CMD_RESET) && (--loop > 0));
482 if (!loop) {
622 int loop;
641 loop = 100 * 1000;
647 } while ((portsc & PORT_RESET) && (--loop > 0));
658 /* If we've finished resetting, then break out of the loop */