Lines Matching refs:pio
98 static void sc1200_tunepio(ide_drive_t *drive, u8 pio)
109 sc1200_pio_timings[format][pio]);
283 static void sc1200_tuneproc (ide_drive_t *drive, byte pio) /* mode=255 means "autotune" */
291 switch (pio) {
307 pio = ide_get_best_pio_mode(drive, pio, 4, NULL);
308 printk("SC1200: %s: setting PIO mode%d\n", drive->name, pio);
310 if (sc1200_set_xfer_mode(drive, XFER_PIO_0 + pio) == 0)
311 sc1200_tunepio(drive, pio);
415 unsigned int pio, timings;
417 for (pio = 0; pio <= 4; ++pio) {
418 if (sc1200_pio_timings[format][pio] == timings)
421 if (pio > 4)
422 pio = 255; /* autotune */
423 (void)sc1200_tuneproc(drive, pio);