Lines Matching refs:drive
71 /* timing parameter registers for each drive */
73 {0x03, 0x26, 0x04, 0x27}, /* drive 0 */
74 {0x05, 0x28, 0x06, 0x29}, /* drive 1 */
75 {0x2b, 0x30, 0x2c, 0x31}, /* drive 2 */
76 {0x2d, 0x32, 0x2e, 0x33}, /* drive 3 */
108 * Set PIO mode for the specified drive.
112 static void ali14xx_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
119 const u8 pio = drive->pio_mode - XFER_PIO_0;
123 time1 = ide_pio_cycle_time(drive, pio);
132 drive->name, pio, time1, time2, param1, param2, param3, param4);
135 driveNum = (drive->hwif->index << 1) + (drive->dn & 1);