Lines Matching defs:drive

283 	 * just busy wait if any drive doesn't support FLUSH CACHE
527 * Always make certain that a valid drive is selected so
536 * make certain the drive selected
545 * one drive of that type.
802 return (DDI_FAILURE); /* no drive */
850 /* save pointer to drive struct for ata_disk_bus_ctl */
854 * Determine whether to enable DMA support for this drive. This
1158 * initialize a drive
1192 * set up drive struct
1206 * get drive type, side effect is to collect
1219 /* no drive found */
1242 * Check if this drive has the Single Sector bug
1255 /* Check if this drive has the "revert to defaults" bug */
1259 /* Dump the drive info */
1354 * lock the drive's current settings in case I have to
1355 * reset the drive due to some sort of error
1366 /* destroy a drive */
1385 * Select the correct drive
1392 * Disable interrupts from the drive
1405 /* free drive struct */
1432 * select the appropriate drive and LUN
1438 * make certain the drive is selected, and wait for not busy
1633 * may indicate the drive is not present, to prevent getting
1639 * 0x0, 0x7f, or ATS_DF can happen when no drive is present
1661 * this happens if there's no drive present
1680 * Give the drive another second to assert DRQ. Some older
1683 * value. It can happen when no drive is present.
1706 * Wait for the drive to recognize I've read all the data.
1716 * value. It can happen when no drive is present.
1767 /* select the drive */
1771 /* make certain the drive selected */
1815 ATS_DF, ATS_BSY, /* drive failed */
2051 * Whether the drive support supports the DMA option still needs
2195 * Determine whether to enable DMA support for this drive.
2196 * The controller and the drive both have to support DMA.
2198 * ata_init_pciide(), now just check the drive's capabilities.
2250 * is important since an ATA-3 drive doesn't have to set
2660 * therefore we need to init the drive number on every ARQ.
2679 uchar_t drive;
2686 * ATAPI DEVICE RESET to each ATAPI drive.
2717 for (drive = 0; drive < ATA_MAXTARG; drive++) {
2720 if ((ata_drvp = CTL2DRV(ata_ctlp, drive, 0)) == NULL)
2728 * and current geometry into the drive.
2781 * If drive 0 exists the test for completion is simple
2792 * This must be a single device configuration, with drive 1
2794 * issuing the software reset just caused drive 1 to
2795 * deselect. With drive 1 deselected, if I just read the
2797 * I can't re-select drive 1 until I'm certain the BSY bit
2804 /* give up if the drive doesn't settle within 31 seconds */
2812 * try to select drive 1
2982 * this clears the drive's interrupt
3074 * which drive?
3270 * Check if this drive has the "revert to defaults" bug
3286 * Correctly working BIOS would therefore reprogram either the drive
3542 * resume the hard drive
3745 "put drive %d in to power mode %u",
3804 * Disable DMA for this drive