Lines Matching defs:drive
174 * Select the drive
180 * make certain the drive selected
183 ADBG_ERROR(("atapi_start_cmd: drive select failed\n"));
287 * send the CDB to the drive
367 * that drive after discovering all the problems it caused, so it may
565 /* select the drive */
576 * Re-select the drive (this is probably only necessary
577 * when resetting drive 1).
582 /* allow the drive the full 6 seconds to respond */
588 * the drive might be dead or might eventually
590 * to attempt to use the drive.
601 int drive;
604 * reset drive drive 0 and the drive 1
606 for (drive = 0; drive <= 1; drive++) {
607 ata_drvp = CTL2DRV(ata_ctlp, drive, 0);
672 * the current state of the request and the drive's current
701 * 3. reset the drive's IRQ.
731 * Clear the PCI-IDE latches and the drive's IRQ
740 * and status registers where the drive might "bounce"
781 * DEVICE-RESET to drive 1 it deselects itself.
810 * spin for a bit and see if the drive
827 /* spin for a bit and see if the drive recovers */