Lines Matching full:pio
54 * oldpiix_set_piomode - Initialize host controller PATA PIO timings
58 * Set PIO mode for device, in host controller PCI config space.
66 unsigned int pio = adev->pio_mode - XFER_PIO_0; in oldpiix_set_piomode() local
85 if (pio > 1) in oldpiix_set_piomode()
107 idetm_data |= (timings[pio][0] << 12) | in oldpiix_set_piomode()
108 (timings[pio][1] << 8); in oldpiix_set_piomode()
140 * MWDMA is driven by the PIO timings. We must also enable in oldpiix_set_dmamode()
142 * been set when the PIO timing was set. in oldpiix_set_dmamode()
150 int pio = needed_pio[mwdma] - XFER_PIO_0; in oldpiix_set_dmamode() local
159 /* If the drive MWDMA is faster than it can do PIO then in oldpiix_set_dmamode()
160 we must force PIO into PIO0 */ in oldpiix_set_dmamode()
164 control |= 8; /* PIO cycles in PIO0 */ in oldpiix_set_dmamode()
175 idetm_data |= (timings[pio][0] << 12) | (timings[pio][1] << 8); in oldpiix_set_dmamode()