Lines Matching refs:loop
160 int loop = DBGP_TIMEOUT;
168 } while (--loop > 0);
170 if (!loop)
196 static int dbgp_wait_until_done(unsigned ctrl, int loop)
216 if (ret == -DBGP_ERR_BAD && --loop > 0)
230 if (--loop > 0)
430 int loop;
450 loop = 10;
456 } while (--loop > 0);
458 if (!loop) {
468 int loop = 250 * 1000;
477 } while ((cmd & CMD_RESET) && (--loop > 0));
479 if (!loop) {
619 int loop;
638 loop = 100 * 1000;
644 } while ((portsc & PORT_RESET) && (--loop > 0));
655 /* If we've finished resetting, then break out of the loop */