Lines Matching defs:drive
13 * Shared data/functions for determining best PIO mode for an IDE drive.
25 * value for cycle_time (from drive identification data).
44 byte ide_get_best_pio_mode (ide_drive_t *drive, byte mode_wanted, byte max_mode, ide_pio_data_t *d);
116 /* drive) according to Seagates FIND-ATA program */
154 * This routine returns the recommended PIO settings for a given drive,
155 * based on the drive->id information and the ide_pio_blacklist[].
162 byte ide_get_best_pio_mode (ide_drive_t *drive, byte mode_wanted, byte max_mode, ide_pio_data_t *d)
167 struct hd_driveid* id = drive->id;
173 } else if (!drive->id) {
185 if (id->field_valid & 2) { /* drive implements ATA2? */
186 if (id->capability & 8) { /* drive supports use_iordy? */