Lines Matching refs:timeout
104 * until timeout is achieved, before timing out.
107 unsigned long timeout, u8 *rstat)
124 timeout += jiffies;
126 if (time_after(jiffies, timeout)) {
128 * One last read after the timeout in case
130 * progress during the timeout..
171 u8 bad, unsigned long timeout)
182 err = __ide_wait_stat(drive, good, bad, timeout, &stat);
185 char *s = (err == -EBUSY) ? "status timeout" : "status error";
451 unsigned int timeout)
457 hwif->timer.expires = jiffies + timeout;
463 unsigned int timeout)
469 __ide_set_handler(drive, handler, timeout);
479 * @timeout: timeout for command
488 ide_handler_t *handler, unsigned timeout)
497 __ide_set_handler(drive, handler, timeout);
513 int ide_wait_not_busy(ide_hwif_t *hwif, unsigned long timeout)
517 while (timeout--) {