Lines Matching refs:tries
2673 int tries[ATA_MAX_DEVICES];
2678 tries[dev->devno] = ATA_PROBE_MAX_TRIES;
2717 if (tries[dev->devno])
2764 tries[dev->devno]--;
2769 tries[dev->devno] = 0;
2774 tries[dev->devno] = min(tries[dev->devno], 1);
2776 if (tries[dev->devno] == 1) {
2785 if (!tries[dev->devno])
3670 int tries = ATA_LINK_RESUME_TRIES;
3696 } while ((scontrol & 0xf0f) != 0x300 && --tries);
3705 if (tries < ATA_LINK_RESUME_TRIES)
3708 ATA_LINK_RESUME_TRIES - tries);