Lines Matching defs:timeout
118 int timeout = 1000000;
122 } while (request->status & ATA_S_BUSY && timeout--);
133 "timeout waiting for write DRQ\n");
237 callout_reset(&request->callout, request->timeout * hz,
284 "timeout waiting for read DRQ\n");
306 "timeout waiting for write DRQ\n");
479 int mask = 0, timeout;
523 for (timeout = 0; timeout < 310; timeout++) {
539 timeout > (stat0 & ATA_S_BUSY ? 100 : 10))
572 timeout > (stat1 & ATA_S_BUSY ? 100 : 10))
590 timeout > ((mask == 0x03) ? 20 : 10)) {
625 int timeout = 0;
630 while (timeout < 1000000) {
636 timeout += 1000;
645 if (timeout > 1000) {
646 timeout += 1000;
650 timeout += 10;
654 if (timeout >= 1000000)
662 timeout = 5000;
663 while (timeout--) {
682 device_printf(request->parent, "timeout waiting to issue command\n");
691 int timeout = 5000;
716 "timeout waiting for PACKET command\n");
722 while (timeout--) {
731 if (timeout <= 0) {
733 "timeout waiting for ATAPI ready\n");