Lines Matching refs:retries
130 int i = 0, retries; in dtlk_read() local
138 for (retries = 0; retries < loops_per_jiffy; retries++) { in dtlk_read()
152 if (retries == loops_per_jiffy) in dtlk_read()
161 int i = 0, retries = 0, ch; in dtlk_write() local
202 for (retries = 0; in dtlk_write()
203 retries < loops_per_jiffy / (4000/HZ); in dtlk_write()
204 retries++) in dtlk_write()
209 retries = 0; in dtlk_write()
218 if (++retries > 10 * HZ) { /* wait no more than 10 sec in dtlk_write()
567 int portval, retries = 0; in dtlk_read_tts() local
575 retries++ < DTLK_MAX_RETRIES); in dtlk_read_tts()
576 if (retries > DTLK_MAX_RETRIES) in dtlk_read_tts()
583 retries = 0; in dtlk_read_tts()
587 retries++ < DTLK_MAX_RETRIES); in dtlk_read_tts()
588 if (retries > DTLK_MAX_RETRIES) in dtlk_read_tts()
597 int retries = 0; in dtlk_read_lpc() local
610 retries = (loops_per_jiffy * 20) / (1000000/HZ); in dtlk_read_lpc()
611 while (inb_p(dtlk_port_lpc) != 0x7f && --retries > 0); in dtlk_read_lpc()
612 if (retries == 0) in dtlk_read_lpc()
633 int retries = 0; in dtlk_write_tts() local
643 retries++ < DTLK_MAX_RETRIES) /* DT ready? */ in dtlk_write_tts()
645 if (retries > DTLK_MAX_RETRIES) in dtlk_write_tts()
652 for (retries = 0; retries < loops_per_jiffy / (100000/HZ); retries++) in dtlk_write_tts()