Lines Matching full:pio
42 s = "PIO SLOW"; in ide_xfer_verbose()
51 * ide_get_best_pio_mode - get PIO mode from drive
56 * This routine returns the recommended PIO settings for a given drive,
59 * Drive PIO mode is auto-selected if 255 is passed as mode_wanted.
75 printk(KERN_INFO "%s: is on PIO blacklist\n", drive->name); in ide_get_best_pio_mode()
111 int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) in ide_pio_need_iordy() argument
117 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING)) in ide_pio_need_iordy()
119 return ata_id_pio_need_iordy(drive->id, pio); in ide_pio_need_iordy()
187 u8 host_pio, pio; in ide_set_pio() local
197 pio = ide_get_best_pio_mode(drive, req_pio, host_pio); in ide_set_pio()
201 * - report device max PIO mode in ide_set_pio()
202 * - check req_pio != 255 against device max PIO mode in ide_set_pio()
204 printk(KERN_DEBUG "%s: host max PIO%d wanted PIO%d%s selected PIO%d\n", in ide_set_pio()
206 req_pio == 255 ? "(auto-tune)" : "", pio); in ide_set_pio()
208 (void)ide_set_pio_mode(drive, XFER_PIO_0 + pio); in ide_set_pio()
220 * TODO: check device PIO capabilities