Lines Matching refs:drive
191 static void palm_bk3710_set_dma_mode(ide_hwif_t *hwif, ide_drive_t *drive)
193 int is_slave = drive->dn & 1;
195 const u8 xferspeed = drive->dma_mode;
202 drive->id[ATA_ID_EIDE_DMA_MIN],
207 static void palm_bk3710_set_pio_mode(ide_hwif_t *hwif, ide_drive_t *drive)
210 int is_slave = drive->dn & 1;
213 const u8 pio = drive->pio_mode - XFER_PIO_0;
216 * Obtain the drive PIO data for tuning the Palm Chip registers
218 cycle_time = ide_pio_cycle_time(drive, pio);
219 mate = ide_get_pair_dev(drive);