Lines Matching defs:loop
195 static int dbgp_wait_until_done(unsigned ctrl, int loop)
215 if (ret == -DBGP_ERR_BAD && --loop > 0)
229 if (--loop > 0)
429 int loop;
449 loop = 1000;
455 } while (--loop > 0);
457 if (!loop) {
467 int loop = 250 * 1000;
476 } while ((cmd & CMD_RESET) && (--loop > 0));
478 if (!loop) {
612 int loop;
631 loop = 100 * 1000;
637 } while ((portsc & PORT_RESET) && (--loop > 0));
648 /* If we've finished resetting, then break out of the loop */