Lines Matching full:pio
65 * it8213_set_piomode - Initialize host controller PATA PIO timings
69 * Set PIO mode for device, in host controller PCI config space.
77 unsigned int pio = adev->pio_mode - XFER_PIO_0; in it8213_set_piomode() local
95 if (pio > 1) in it8213_set_piomode()
97 if (ata_pio_need_iordy(adev)) /* PIO 3/4 require IORDY */ in it8213_set_piomode()
109 master_data |= (timings[pio][0] << 12) | in it8213_set_piomode()
110 (timings[pio][1] << 8); in it8213_set_piomode()
120 slave_data |= (timings[pio][0] << 2) | timings[pio][1]; in it8213_set_piomode()
188 * MWDMA is driven by the PIO timings. We must also enable in it8213_set_dmamode()
190 * been set when the PIO timing was set. in it8213_set_dmamode()
198 int pio = needed_pio[mwdma] - XFER_PIO_0; in it8213_set_dmamode() local
202 /* If the drive MWDMA is faster than it can do PIO then in it8213_set_dmamode()
203 we must force PIO into PIO0 */ in it8213_set_dmamode()
207 control |= 8; /* PIO cycles in PIO0 */ in it8213_set_dmamode()
215 slave_data |= ((timings[pio][0] << 2) | timings[pio][1]) << (ap->port_no ? 4 : 0); in it8213_set_dmamode()
222 (timings[pio][0] << 12) | in it8213_set_dmamode()
223 (timings[pio][1] << 8); in it8213_set_dmamode()