Lines Matching refs:drive
17 static void tc86c001_set_mode(ide_hwif_t *hwif, ide_drive_t *drive)
19 unsigned long scr_port = hwif->config_data + (drive->dn ? 0x02 : 0x00);
21 const u8 speed = drive->dma_mode;
45 static void tc86c001_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
47 drive->dma_mode = drive->pio_mode;
48 tc86c001_set_mode(hwif, drive);
65 static int tc86c001_timer_expiry(ide_drive_t *drive)
67 ide_hwif_t *hwif = drive->hwif;
76 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04);
80 "attempting recovery...\n", drive->name);
106 return expiry(drive);
112 static void tc86c001_dma_start(ide_drive_t *drive)
114 ide_hwif_t *hwif = drive->hwif;
116 unsigned long twcr_port = sc_base + (drive->dn ? 0x06 : 0x04);
131 ide_dma_start(drive);