Lines Matching full:pio
41 s = "PIO SLOW"; in ide_xfer_verbose()
50 * ide_get_best_pio_mode - get PIO mode from drive
55 * This routine returns the recommended PIO settings for a given drive,
58 * Drive PIO mode is auto-selected if 255 is passed as mode_wanted.
74 printk(KERN_INFO "%s: is on PIO blacklist\n", drive->name); in ide_get_best_pio_mode()
110 int ide_pio_need_iordy(ide_drive_t *drive, const u8 pio) in ide_pio_need_iordy() argument
116 if (pio == 0 && (drive->hwif->port_flags & IDE_PFLAG_PROBING)) in ide_pio_need_iordy()
118 return ata_id_pio_need_iordy(drive->id, pio); in ide_pio_need_iordy()
186 u8 host_pio, pio; in ide_set_pio() local
196 pio = ide_get_best_pio_mode(drive, req_pio, host_pio); in ide_set_pio()
200 * - report device max PIO mode in ide_set_pio()
201 * - check req_pio != 255 against device max PIO mode in ide_set_pio()
203 printk(KERN_DEBUG "%s: host max PIO%d wanted PIO%d%s selected PIO%d\n", in ide_set_pio()
205 req_pio == 255 ? "(auto-tune)" : "", pio); in ide_set_pio()
207 (void)ide_set_pio_mode(drive, XFER_PIO_0 + pio); in ide_set_pio()
219 * TODO: check device PIO capabilities