Lines Matching defs:pio
202 static u8 ht_pio2timings(ide_drive_t *drive, u8 pio)
209 if (pio) {
210 pio = ide_get_best_pio_mode(drive, pio, 5, &d);
217 active_time = ide_pio_timings[pio].active_time;
220 - ide_pio_timings[pio].setup_time;
235 printk("ht6560b: drive %s setting pio=%d recovery=%d (%dns) active=%d (%dns)\n", drive->name, pio, recovery_cycles, recovery_time, active_cycles, active_time);
242 printk("ht6560b: drive %s setting pio=0\n", drive->name);
278 static void tune_ht6560b (ide_drive_t *drive, u8 pio)
283 switch (pio) {
286 ht_set_prefetch(drive, pio & 1);
290 timing = ht_pio2timings(drive, pio);
300 printk("ht6560b: drive %s tuned to pio mode %#x timing=%#x\n", drive->name, pio, timing);