Lines Matching defs:udelay
76 u_int udelay; /* signal toggle delay in usec */
154 "delay", CTLFLAG_RD, &sc->udelay,
272 * The caller is responsible for keeping SCL high for udelay.
295 * - pull SCL low and hold for udelay.
298 DELAY(sc->udelay);
310 DELAY(sc->udelay);
343 /* Sample SDA until ACK (low) or udelay runs out. */
344 for (t = 0; t < sc->udelay; t++) {
351 DELAY(sc->udelay - t);
394 DELAY((sc->udelay + 1) / 2);
397 DELAY((sc->udelay + 1) / 2);
444 DELAY((sc->udelay + 1) / 2);
460 DELAY((sc->udelay + 1) / 2);
502 DELAY((sc->udelay + 1) / 2);
504 DELAY((sc->udelay + 1) / 2);
577 * udelay is half a period, the clock is held high or low for this long.
582 sc->udelay = MAX(period, 1);