Lines Matching refs:pio
200 static u8 ht_pio2timings(ide_drive_t *drive, const u8 pio)
206 if (pio) {
208 struct ide_timing *t = ide_timing_find_mode(XFER_PIO_0 + pio);
210 cycle_time = ide_pio_cycle_time(drive, pio);
233 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);
240 printk("ht6560b: drive %s setting pio=0\n", drive->name);
285 const u8 pio = drive->pio_mode - XFER_PIO_0;
288 switch (pio) {
291 ht_set_prefetch(drive, pio & 1);
295 timing = ht_pio2timings(drive, pio);
305 printk("ht6560b: drive %s tuned to pio mode %#x timing=%#x\n", drive->name, pio, timing);