Lines Matching full:pio
30 * radisys_set_piomode - Initialize host controller PATA PIO timings
34 * Set PIO mode for device, in host controller PCI config space.
42 unsigned int pio = adev->pio_mode - XFER_PIO_0; in radisys_set_piomode() local
61 if (pio > 0) in radisys_set_piomode()
72 idetm_data |= (timings[pio][0] << 12) | in radisys_set_piomode()
73 (timings[pio][1] << 8); in radisys_set_piomode()
105 * MWDMA is driven by the PIO timings. We must also enable in radisys_set_dmamode()
117 int pio = needed_pio[mwdma] - XFER_PIO_0; in radisys_set_dmamode() local
120 /* If the drive MWDMA is faster than it can do PIO then in radisys_set_dmamode()
121 we must force PIO0 for PIO cycles. */ in radisys_set_dmamode()
131 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in radisys_set_dmamode()