Lines Matching full:pio

34  *    controller but only work PIO with no IRQ.
48 * flaw that it has a single set of PIO/MWDMA timings per channel so
81 u16 pio[2]; /* Cached PIO values */ member
104 * it821x_program - program the PIO/MWDMA registers
108 * Program the PIO/MWDMA timing for this channel according to the
120 /* Program PIO/MWDMA timing bits */ in it821x_program()
213 * Reprogram the UDMA/PIO of the pair drive for the switch in it821x_clock_strategy()
218 it821x_program(pair, itdev->pio[1-unit]); in it821x_clock_strategy()
221 * Reprogram the UDMA/PIO of our drive for the switch. in it821x_clock_strategy()
226 it821x_program(drive, itdev->pio[unit]); in it821x_clock_strategy()
231 * it821x_set_pio_mode - set host controller for PIO mode
235 * Tune the host to the desired PIO mode taking into the consideration
236 * the maximum PIO mode supported by the other device on the cable.
243 const u8 pio = drive->pio_mode - XFER_PIO_0; in it821x_set_pio_mode() local
244 u8 unit = drive->dn & 1, set_pio = pio; in it821x_set_pio_mode()
251 * Compute the best PIO mode we can for a given device. We must in it821x_set_pio_mode()
257 /* trim PIO to the slowest of the master/slave */ in it821x_set_pio_mode()
262 /* We prefer 66Mhz clock for PIO 0-3, don't care for PIO4 */ in it821x_set_pio_mode()
264 itdev->want[unit][0] = 1; /* PIO is lowest priority */ in it821x_set_pio_mode()
265 itdev->pio[unit] = pio_timings[set_pio]; in it821x_set_pio_mode()
267 it821x_program(drive, itdev->pio[unit]); in it821x_set_pio_mode()
277 * must manage the whole lack of per device MWDMA/PIO timings and
278 * the shared MWDMA/PIO timing register.
352 * The IT821x has a single timing register for MWDMA and for PIO
378 * The IT821x has a single timing register for MWDMA and for PIO
391 it821x_program(drive, itdev->pio[unit]); in it821x_dma_end()
408 * MWDMA tuning is really hard because our MWDMA and PIO in it821x_set_dma_mode()
451 * IRQ mask as we may well be in PIO (eg rev 0x10) in it821x_quirkproc()
573 /* MWDMA/PIO clock switching for pass through mode */ in init_hwif_it821x()
626 /* it821x_set_{pio,dma}_mode() are only used in pass-through mode */