Lines Matching defs:pio
139 /* there are stored pio numbers from other calls of opti621_tune_drive */
140 static void compute_pios(ide_drive_t *drive, u8 pio)
143 * slave_drive - 0 -> pio is for master, 1 -> pio is for slave
144 * pio - PIO mode for selected drive (for other we don't know)
150 drive->drive_data = ide_get_best_pio_mode(drive, pio, OPTI621_MAX_PIO, NULL);
216 static void compute_clocks(int pio, pio_clocks_t *clks)
218 if (pio != PIO_NOT_EXIST) {
222 adr_setup = ide_pio_timings[pio].setup_time;
223 data_pls = ide_pio_timings[pio].active_time;
226 clks->recovery_time = cmpt_clk(ide_pio_timings[pio].cycle_time
244 static void opti621_tune_drive (ide_drive_t *drive, u8 pio)
257 compute_pios(drive, pio);