Lines Matching refs:drive
56 static void cy82c693_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
58 const u8 mode = drive->dma_mode;
83 static void cy82c693_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
93 if (hwif->index > 0) { /* drive is on the secondary channel */
98 drive->name);
103 ide_timing_compute(drive, drive->pio_mode, &t, T, 1);
111 if ((drive->dn & 1) == 0) {
113 * set master drive
129 * set slave drive