Lines Matching refs:udelay
77 u_int udelay; /* signal toggle delay in usec */
158 "delay", CTLFLAG_RD, &sc->udelay,
285 * The caller is responsible for keeping SCL high for udelay.
308 * - pull SCL low and hold for udelay.
311 DELAY(sc->udelay);
323 DELAY(sc->udelay);
356 /* Sample SDA until ACK (low) or udelay runs out. */
357 for (t = 0; t < sc->udelay; t++) {
364 DELAY(sc->udelay - t);
407 DELAY((sc->udelay + 1) / 2);
410 DELAY((sc->udelay + 1) / 2);
457 DELAY((sc->udelay + 1) / 2);
473 DELAY((sc->udelay + 1) / 2);
515 DELAY((sc->udelay + 1) / 2);
517 DELAY((sc->udelay + 1) / 2);
590 * udelay is half a period, the clock is held high or low for this long.
595 sc->udelay = MAX(period, 1);